Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
JulienMoumne opened this Issue · 10 comments

3 participants

Julien Moumné Stefan Giehl Matthieu Aubry
Julien Moumné
Collaborator

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

The idea was submitted via Piwik's feedback form.

Matthieu Aubry
Owner

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

Matthieu Aubry
Owner

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?

Stefan Giehl
Collaborator

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

Matthieu Aubry
Owner

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?

Stefan Giehl
Collaborator

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.

Matthieu Aubry
Owner

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?

Stefan Giehl
Collaborator

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

Stefan Giehl
Collaborator

Attachment:
dashboard.diff

Stefan Giehl
Collaborator

(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

Matthieu Aubry
Owner

(In [5560]) Refs #2638

Julien Moumné JulienMoumne added this to the 1.7 Piwik 1.7 milestone
Stefan Giehl 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.