Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#2638 closed New feature (fixed)

Dashboard: Allow to Reset dashboard to original widgets layout

Reported by: JulienM Owned by: SteveG
Priority: major Milestone: 1.7 Piwik 1.7
Component: UI - UX (AngularJS, twig, less) Keywords:
Cc: Sensitive: no

Description

Provide a way to reset the dashboard to its initial configuration.

The idea was submitted via Piwik's feedback form.

Attachments (1)

dashboard.diff (20.8 KB) - added by SteveG 2 years ago.

Download all attachments as: .zip

Change History (13)

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

  • Milestone set to Feature requests

That's a pretty good idea for sure! Maybe, we could add a little grey link on the top right of the dashboard.

Another frequently requested was to have a 2 columns dashboard.

We could see a little UI element to hold such simple "dashboard" settings. They would be rarely used so it would have to very discreet (maybe hidden and shown on hover somewhere... ?)

comment:2 Changed 2 years ago by SteveG (sgiehl)

  • Owner set to SteveG

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

Now it is possible to reset the dashboard by simply deleting all widgets. Then on refresh the dashboard will be reset. Maybe this is enough and we don't need a new link in the dashboard? Thoughts?

comment:4 Changed 2 years ago by SteveG (sgiehl)

I guess an additional link for that is easier to understand. I didn't know that the dashboard is reset after deleting all widgets, how should an user know?

Well, I'm also working on some other improvements to the dashboard. Maybe I'm gonna implement that 2 coulmn view...

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

Sounds good :) We just have to agree on the UI look so these 2 links are nicely integrated in the dashboard. Did you have any idea about it?

comment:6 Changed 2 years ago by SteveG (sgiehl)

I'm thinking about replacing the "add widget" button with an Configuration dropdown holding the options to add a widget, reset the dashboard or change the layout. Maybe I will move the current dropdown for adding an widget to an overlay.

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

I think current selector menu looks nice and is better than overlay (since just below the menu, easier to select the widget quickly).

your idea to put the options in this menu is interesting.
For example the Widget menu could change to

  • Add a Widget
    • Here existing list of reports, on hover display widgets
  • Dashboard options
    • Columns [1 / 2 / 3 (default) / 4]
    • Reset dashboard layout [Yes]

The button could be renamed from "Add a widget..." to "Widgets & Dashboard" for example. Thoughts?

comment:8 Changed 2 years ago by SteveG (sgiehl)

Hey matt, here a small diff for the current changes. It's possible to reset the dashboard and to change the column count. Currently als actions are performed with dialogs, including the add widget process. Take a look at it, and if you think the add widget process should be moved into the dropdown I'll try to do so ;)

Changed 2 years ago by SteveG (sgiehl)

comment:9 Changed 2 years ago by SteveG (sgiehl)

  • Milestone changed from Feature requests to 1.7 Piwik 1.7

comment:10 Changed 2 years ago by SteveG (sgiehl)

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

(In [5553]) added possibilities to reset dashboard (fixes #2638) and to adjust dashboard layout (fixes #1559), also refactored widgetmenu js used for adding new widgets and in widgetize plugin

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

  • Priority changed from low to major
  • Summary changed from Reset dashboard to Dashboard: Allow to Reset dashboard to original widgets layout
Note: See TracTickets for help on using tickets.