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

Functionality to reset statistics #262

Open
stklcode opened this issue Apr 22, 2023 · 0 comments
Open

Functionality to reset statistics #262

stklcode opened this issue Apr 22, 2023 · 0 comments

Comments

@stklcode
Copy link
Contributor

stklcode commented Apr 22, 2023

Background

The question came up quite a few times in various support requests: How can I delete/reset the statistics?

The answer is always the same, direct DB manipulation, setting the storage period to 1 day and back or reinstallation. None of these solutions is complex, but none is really convenient either.

References (selection):

Proposal

We should introduce a reset button on the settings page.

The button should be little separated from the save-button, probably red colored with something like "danger zone" above.
A user who can edit the settings is able to reset the data using the ways above anyway, so I don't think we need any additional permissions here.

The function should remove all statistics data from the database and probably reset the tables (e.g. auto increments), so we can start off from scratch afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant