Opened 6 years ago

Closed 4 years ago

Last modified 2 years ago

#90 closed New feature (fixed)

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)

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 (16)

comment:1 Changed 6 years ago by matt (mattab)

  • Description modified (diff)

comment:2 Changed 6 years ago by matt (mattab)

  • Milestone changed from Stable release to RobotRock

comment:3 Changed 5 years ago by matt (mattab)

  • Milestone changed from RobotRock to DigitalVibes

comment:4 Changed 5 years ago by matt (mattab)

  • Milestone changed from DigitalVibes to Stable release

comment:5 Changed 5 years ago by matt (mattab)

  • Description modified (diff)

comment:6 Changed 5 years ago by matt (mattab)

  • Milestone changed from Stable release to DigitalVibes
  • Summary changed from DataTable view persistance to Dashboard dataTable view persistance

comment:7 Changed 5 years ago by matt (mattab)

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

comment:8 Changed 5 years ago by vipsoft (robocoder)

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.

comment:9 Changed 5 years ago by koteiko

comment:10 Changed 5 years ago by vipsoft (robocoder)

  • Sensitive unset

We also need a getter to resolve #789.

comment:11 Changed 5 years ago by matt (mattab)

  • Description modified (diff)

comment:12 Changed 4 years ago by matt (mattab)

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

comment:13 Changed 4 years ago by smoker

comment:14 Changed 4 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(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.

comment:15 Changed 2 years ago by JulienM (JulienMoumne)

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

comment:16 Changed 2 years ago by matt (mattab)

Good point, it is now included in: #1915

Note: See TracTickets for help on using tickets.