Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export links should only contain the displayed information #7134

Open
tsteur opened this issue Feb 4, 2015 · 2 comments
Open

Export links should only contain the displayed information #7134

tsteur opened this issue Feb 4, 2015 · 2 comments
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.

Comments

@tsteur
Copy link
Member

tsteur commented Feb 4, 2015

I used the export links in the Piwik UI today and was a bit surprised about the output. I was expecting to see only the displayed information in the output (what is displayed in the table). Instead the export link is only a plain API call which can contain lots of random information.

See eg this export link of Insights: http://demo.piwik.org/index.php?module=API&method=Insights.getInsights&format=XML&idSite=3&period=day&date=yesterday&flat=0&token_auth=anonymous&filter_limit=500&&reportUniqueId=Actions_getPageUrls&minImpactPercent=0.1&minGrowthPercent=1&comparedToXPeriods=1&orderBy=absolute&filterBy=&limitIncreaser=50&limitDecreaser=50&expanded=1

Instead I would expect to see only those 3 columns:

pages_insights

The same applies to all other reports/visualizations as in when I view the plain data table I expect it contains the same columns that are currently displayed with the same column names etc. If the visualisation is a pie, a cloud or evolution it would probably only have 2 columns.

This would make exports more useful in my opinion as one can for example directly open the CSV in Excel / OpenOffice and have useful names etc. Basically like the RSS export where translateColumnNames is applied etc.

Some people might be interested in the current output though. We do have the API page for this but maybe there could be even another icon or more entries in export for this

@mattab
Copy link
Member

mattab commented Feb 19, 2015

Not sure about showing only what's there on the screen... maybe we need some kind of "Data Export wizard window" to let users decide which columns to export, and configure all that is useful to configure, etc. By default IMO it's better to export all data to make sure user is aware of all data available to her.

@mattab mattab added this to the Long term milestone Feb 19, 2015
@mattab mattab added the Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. label Feb 19, 2015
@tsteur
Copy link
Member Author

tsteur commented Feb 19, 2015

I wouldn't like a wizard. IMO when you see that export you expect to have the same data in the exported file as seen. What does it help you when you see all the data but can't use it? It might be better to have maybe "Export" and "API" both open the list as currently with different formats. While exports gives you the same information as displayed, API actually does the current behavior

@mattab mattab modified the milestones: Mid term, Long term Feb 19, 2015
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

2 participants