Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Widgets should be able to persist some parameters (eg. viewDataTable) #5510

Closed
anonymous-piwik-user opened this Issue · 5 comments

4 participants

Anonymous Piwik user Anthon Pang Matthieu Aubry Julien Moumné
Anonymous Piwik user

The user could want to save the default appearance of his widgets. Currently only the widget name is saved. But it would be nice to also save the “state” of the widget, in this case defined by the “viewDataTable” parameter.

For instance he can decide to view getCountry with a pie-chart by default. Parameters would be stored in the JSON as an array.

see also #380 Keywords: persistance view widgets

Anthon Pang
Collaborator

In #791, haas raises the issue that filter_limit doesn't persist switching between a widget's chart types:
If I preconfigure the widget to filter_limit=8, this value is taken into account first. If I use the dataTableFooterIcons to switch to a different view I only need to click on the bars and than back to table view and the filter limit is reset to 3. Expected -> The original filter limit should be kept.

Anthon Pang
Collaborator

We also need a getter to resolve #789.

Matthieu Aubry
Owner

(In [2497]) Fixes #5510 Dashboard now remembers which View type the widgets were set to (table, goals, all columns, pie chart, vertical chart, etc.) and saves this information in the dashboard layout.

Julien Moumné
Collaborator

Should this ticket be reopened now that #1820 is implemented?

Matthieu Aubry
Owner

Good point, it is now included in: #1915

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.