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

Save Metrics preferences on user profile #152

Open
fargito opened this issue Mar 27, 2020 · 0 comments · May be fixed by #166
Open

Save Metrics preferences on user profile #152

fargito opened this issue Mar 27, 2020 · 0 comments · May be fixed by #166
Assignees
Labels
enhancement New feature or request

Comments

@fargito
Copy link
Contributor

fargito commented Mar 27, 2020

Feature Description

The displayed metrics are currently stored and persisted in the localstorage. However when using a different computer, users may want to get the same metrics displayed.

Also users with several projects could want their preferences to be different depending on the project

Proposed solution

  • The selected metrics should be stored in a separate table users. It should be linked to User and Project.

  • When a user fetches a project, the preferences should be set in the response, with a default if the user has set no preference.

  • When a user changes its preferences by selecting metrics, an asynchronous request should be made to update its preferences on the server

@fargito fargito added the enhancement New feature or request label Mar 27, 2020
@MathildeDuboille MathildeDuboille linked a pull request Mar 31, 2020 that will close this issue
7 tasks
@MathildeDuboille MathildeDuboille self-assigned this Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants