@mattab opened this Issue on January 9th 2015 Member

The goal of this issue is to let any Piwik user share the currently viewed Custom Dashboard with a colleague or friend who also has access to this Piwik server.

Proposed solution

We can add a new option in the Widgets & Dashboard selector that will let users get a URL that they can copy paste. When another user clicks on this URL it will load the Piwik and ask user to login if not logged in yet. Once logged in, the user will directly be invited to create a new Custom Dashboard (pre-selected with same widgets and layout as his colleague). The colleague now has access to a copy of your Custom Dashboard!

Notes

  • the Shared URL should include the same idSite, date, period, and segment parameters.
  • this way the shared URL let user re-create exactly the same view as his colleague could see when sharing the dashboard.
  • When displaying the URL we could write something like "Note: the user loading this URL will be asked to Login to this Piwik instance."
@tsteur commented on January 13th 2015 Member

Isn't this like #5164?

@mattab commented on January 13th 2015 Member

Yes, it's duplicate.

Note: see discussion in https://github.com/piwik/piwik/issues/5164#issuecomment-51156814

More notes about sharing dashboards

Over the last few months, a few more users have requested the ability to Share a dashboard with someone, and keeping the dashboard synchronised with the original dashboard that is being improved.
This would be useful almost always, for example when one Marketing team member creates the Marketing team dashboard, and wants to share it with others. Currently they need to copy it, but as soon as someone makes an improvement they need to share it back with other. It is not synchronised. So the idea is to build this synchronised dashboard by allowing people to share the dashboard with others and keep it synchronised.

Thoughts:

  • When sharing a dashboard with someone else in this way, to keep it simple we can make it read only.
    • (Eventually maybe we could let other people edit the dashboard, so one could collaboratively work on the same dashboard. Not needed in MVP. Matomo is not currently designed to work well when multiple users edit a dashboard layout at once)
  • We'll need to find ideal words to describe the two concepts of "Copying a dashboard", and "Give read-only access to my dashboard template for this site".
  • When a dashboard has been actively given access to by another user, we should somehow make it clear in the UI that the dashboard is currently shared with others (and may affect other users).
  • Similarly when viewing a "Read only dashboard" managed by another user, it should be clear that it is such a dashboard and layout/reports are done by User XYZ and cannot be changed.
  • When viewing a read-only dashboard shared by another user, in some cases I want to re-use the dashboard for one of the website(s). So as a person who shared a dashboard, I want to be able to copy it to my account (by re-using the feature "Copy this dashboard to user")
Powered by GitHub Issue Mirror