Provide a way to reset the dashboard to its initial configuration.
The idea was submitted via Piwik's feedback form.
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... ?)
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?
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...
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?
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.
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
The button could be renamed from "Add a widget..." to "Widgets & Dashboard" for example. Thoughts?
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 ;)
(In ) 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
(In ) Refs #2638