-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Persist & restore widgets / reports settings, number of items to display, selected columns... #1915
Comments
Currently, the dashboard remembers which "view types" you look at, and then restore it the next time you visit. It would be interesting indeed to generalize the Dashboard setting save to all Piwik reports, ie. all Piwik reports would remember the last state they were in
Maybe worth a different ticket, but exclude low filter should be based on the total of the datatable column itself, rather than visits, in case report is a subset (of page category, visitor plugins, etc.). |
|
updated ticket description to include all settings to restore as per comments |
(In [6027]) fixes #2979, refs #1915, refs #3011 completely refactored dashboard and widget javascripts (now using jquery plugins). |
How can I use the persistent widget settings for my own widgets? Is there a generic JavaScript-API to store and recall widget-specific key-value pairs? |
Benaka what do you think is left on this ticket? it would also be nice to have an JS api or function for core&plugins to use to record settings. |
It was also reported in: #3369 and request in the forums few times. |
Remembering these settings would make using Piwik a lot slicker and more user friendly. Please include it in a future edition! |
This was also reported in #3469 Visits Overview (with graph) does not remember its status |
It was reported in: #3807 Save and retrieve last zoom settings for maps That we could also save & restore the map zoom. Is this a good idea (not sure)? |
Regarding "In Goals report: remember which subreport was clicked in the bottom left selector (eg. websites VS custom var VS etc.)" As this is not a viewDataTable / Visualization I won't implement this (for now) |
Closing this for now. We can create new tickets in case we want to persist more parameters/settings/... |
Nice work Thomas, this will be a super useful feature to most piwik users. If you're using Piwik and have any feedback about this feature, please comment here |
And finally what about #3807 ? :D |
@ksubileau good point, I've re-opened that ticket! |
See also: #5162: Remember detailed visitor log 'Rows to display' |
In 1de1cdb: refs #1915 "columns" is added as a special query parameter in ViewDataTable class which results in having to do this. Problem: Switching to treemap visualization in eg PageUrls will save a columns "nb_hits" param, loading the normal view and sorting by column will result in only displaying nb_hits column instead of all columns. This seems to be the only case. If there are more we need to let the visualization decide which parameters to reset in case of a visualization change |
…ings. not everything is saved yet (such as metricsToPlot) but most things are
…run to remove previously persisted viewdatatable params from other test runs
…params, metricsToPlot should be saved now as well
…if the value is 0. Otherwise there a persisted preference saying flat=1 might be preferred. By making sure the flat param is present in the url the persisted value will be overwritten
We should record some settings and preferences in all reports.
List of settings to remember & restore:
of Rows to display (already saved for dashboard but not for other reports)
Not MVP
The text was updated successfully, but these errors were encountered: