Skip to content

Loading…

Dashboard: Allow to Reset dashboard to original widgets layout #2638

Closed
JulienMoumne opened this Issue · 10 comments

3 participants

@JulienMoumne
Piwik Open Source Analytics member

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

The idea was submitted via Piwik's feedback form.

@mattab
Piwik Open Source Analytics member

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... ?)

@mattab
Piwik Open Source Analytics member

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?

@sgiehl
Piwik Open Source Analytics member

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

@mattab
Piwik Open Source Analytics member

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?

@sgiehl
Piwik Open Source Analytics member

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.

@mattab
Piwik Open Source Analytics member

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

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

@sgiehl
Piwik Open Source Analytics member

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 ;)

@sgiehl
Piwik Open Source Analytics member

Attachment:
dashboard.diff

@sgiehl
Piwik Open Source Analytics member

(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

@mattab
Piwik Open Source Analytics member

(In [5560]) Refs #2638

@JulienMoumne JulienMoumne added this to the 1.7 Piwik 1.7 milestone
@sgiehl sgiehl was assigned by JulienMoumne
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.