Skip to content

Introducing user preferences in ANET #5193

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pacodelcastillolopez
Copy link
Collaborator

@pacodelcastillolopez pacodelcastillolopez commented Jun 6, 2025

First implementation of a method to store user preferences in a genery way. By using a preferences table with all possible preferences an ANET user can select and another table that links an specific preference to a value selected by an user.

Initially the preferences table contains preferences related whether or not to receive different flavours of email notifications of type Boolean. Next steps is to define all preferences that must be avialable for users to select and, if needed, extend the GUI to support other components.

Refreres to AB#1216 but it does not close the issue yet, further refinement is required.

User changes

  • There is a new menu option (Preferences) that displays all preferences defined in the preferences table. If the user has already selected an specific value for a given preference it is displayed. Otherwise the default value of the preference.

Superuser changes

Admin changes

System admin changes

  • application.yml or anet-dictionary.yml needs change
  • db needs migration
  • documentation has changed
  • graphql schema has changed

Checklist

  • described the user behavior in PR body
  • referenced/updated all related issues
  • commits follow a repo#issue: Title title format and these 7 rules
  • commits have a clean history, otherwise PR may be squash-merged
  • added and/or updated unit tests
  • added and/or updated e2e tests
  • added and/or updated data migrations
  • updated documentation
  • resolved all build errors and warnings
  • opened debt issues for anything not resolved here

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

Successfully merging this pull request may close these issues.

2 participants