Ticket #90 (closed New feature: fixed)

Opened 4 years ago

Last modified 2 months ago

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

Reported by: julien Owned by:
Priority: low Milestone: Piwik 0.8 - A Web Analytics platform
Component: Core Keywords: persistance view widgets
Cc: Sensitive: no

Description (last modified by matt) (diff)

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

Change History

Changed 4 years ago by matt

  • description modified (diff)

Changed 3 years ago by matt

  • milestone changed from Stable release to RobotRock

Changed 3 years ago by matt

  • milestone changed from RobotRock to DigitalVibes

Changed 3 years ago by matt

  • milestone changed from DigitalVibes to Stable release

Changed 3 years ago by matt

  • description modified (diff)

Changed 3 years ago by matt

  • summary changed from DataTable view persistance to Dashboard dataTable view persistance
  • milestone changed from Stable release to DigitalVibes

Changed 3 years ago by matt

  • description modified (diff)
  • summary changed from Dashboard dataTable view persistance to Widgets should be able to persist some parameters (eg. viewDataTable)

Changed 3 years ago by vipsoft

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.

Changed 2 years ago by koteiko

Changed 2 years ago by vipsoft

  • sensitive unset

We also need a getter to resolve #789.

Changed 2 years ago by matt

  • description modified (diff)

Changed 2 years ago by matt

  • milestone changed from 2 - Piwik 0.6 - DigitalVibes to 3 - Piwik 0.8 - A Web Analytics platform

Changed 2 years ago by smoker

Changed 19 months ago by matt

  • status changed from new to closed
  • resolution set to fixed

(In [2497]) Fixes #90 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.

Changed 2 months ago by JulienM

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

Changed 2 months ago by matt

Good point, it is now included in: #1915

Note: See TracTickets for help on using tickets.