Giter Club home page Giter Club logo

views_data_export's People

Contributors

darthsteven avatar grasmash avatar jhedstrom avatar simongeorges avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tom-fallon mbovan

views_data_export's Issues

UX: Override core's REST Export display

There are 2 reasons to override this display here:

  1. The label REST export isn't the most intuitive in the Views Ui. Proposal, stick with the D7 label of Data export.
  2. There is no way to attach these views to other displays. There is a core issue, but that could take some time to sort out.

Views format selection should only allow one

Since this is inheriting from the REST export display, the format selection is using checkboxes. Since this module deals with formatting via config, and subsequently uses a fixed suffix, multiple formats do not make sense. The format should use radio buttons instead.

Allow for XLS files

There are 2 possibilities here:

  1. Fake support by just adding a .xls to the end of the file, and ensuring tabs instead of commas are used.
  2. Real support by mimicking the 7.x version which simply exports an html table that excel correctly imports as a proper xls file.

Add some tests

The tests from the 7.x version have been lost. This issue is to add some tests back.

Perform D8 gap analysis

-Views is now in core
-Seralization is now in core

Identify gaps with Views to allow for a specific serialization format to be selected as a Views output

Support for batch operations

The 7.x version of this module supported exporting data via the batch API for large datasets that could not be reliably exported in a single request.

Support for configurable filename

The 7.x version allowed one to specify the resultant file name. For instance, even though the path may be something like nodes/export/csv, rather than the downloaded file just being named csv, the view could be configured to specify a filename. This included token support, so one could have the file name be %view-%date.csv or similar.

screen shot 2016-08-03 at 12 59 32 pm

It's unclear at this time if this feature will need to go into the csv_serialization module, or here. It will probably be here, and supported by #8.

CSV settings appear on every Views display settings form

screen shot 2016-08-03 at 9 46 26 am

In this image, the 4 different forms under the Format heading all contain the CSV settings.

I think the issue is in views_data_export_form_alter, it simply alters the form for all forms with the views_ui_edit_display_form.

The fix here is to probably move away from form alters, and use a display plugin type (ResponseDisplayPluginInterface).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.