Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add buttons to reset user's visualisation for Admins and users #10795

Open
gaumondp opened this issue Oct 27, 2016 · 4 comments
Open

Add buttons to reset user's visualisation for Admins and users #10795

gaumondp opened this issue Oct 27, 2016 · 4 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@gaumondp
Copy link

REF: http://piwik.org/faq/troubleshooting/faq_21433/ and #10784

Instead of running SQL queries it should be possible for users and Admins to reset users visualisations on a user by user option or everyone.

We need 3 things :

  1. Users needs to be able to reset it by themselves.
  2. Admin should be able to do it on a per user basis.
  3. Admin should have a "reset visualisations for all users"
@tsteur
Copy link
Member

tsteur commented Oct 27, 2016

Good point 👍

I think it may be possible to add 1) "reset by themselves" easily. 2) and 3) are currently a bit more effort and is probably not realistic. I could maybe add 1) in Piwik 3but not sure where it would be best placed and how it should be named. Any idea?

@gaumondp
Copy link
Author

For # 1 it could be simply under Personal Settings, right under "Exclude your visits using a cookie" ('im using 2.16 so it may be different under 3.x).

For # 2 it would make sense in the "User Management" section since we already have the user ID and the SQL query to perform is known.

For # 3 Administration => Users is where it makes sense.

I presume your concern about how easy it is to add those is related to code quality and make these "clean" and not "hackish" like running the queries by hand... I'm just a simple human being so I don't know what's hidden behind my suggestions usually... ;)

As for a title I think "Reset visualisation" with a short description of the impact : "Clicking this will erase visual preferences of your reports like number of rows showed or the kind of graphs you used to see back to a default Piwik installation. No data will be lost, just the way you used to see it if you changed any visualisation setting."

@tsteur
Copy link
Member

tsteur commented Oct 30, 2016

My concern was it is just more effort to implement #2 and #3 nicely as it involves finding a nice solution, security checks, even more explaining in the UI when it is useful and what it does etc. The user management is already quite bloated and the feature will be rarely needed so it's a bit tricky to solve :)

Maybe we could have a general "reset settings" button under the "exclude cookie" that also resets a user's plugin settings etc? I'm finding it hard to add a "Reset visualization" because it may be a bit confusing although your explanation is really good and useful 👍

@Starker3
Copy link
Contributor

Starker3 commented Dec 6, 2023

We've had around 4-5 customers who ran into the issue with reports not loading due to visualisation settings. Some users had to resort to deleting their user accounts and creating a new one to fix the issue as they didn't have direct SQL access. Having the option to do this in the UI would save a good amount of frustration.

@michalkleiner michalkleiner added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

5 participants