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

Migrate user preferences from localStorage to manager #2573

Open
why-arong opened this issue Jul 23, 2024 · 0 comments
Open

Migrate user preferences from localStorage to manager #2573

why-arong opened this issue Jul 23, 2024 · 0 comments
Assignees

Comments

@why-arong
Copy link

why-arong commented Jul 23, 2024

Main idea

This issue aims to transition the storage of user preferences from local storage to the manager's database in the backend.ai project. Specifically, this involves modifying the SettingAtomFamily to ensure that user preferences are stored and retrieved from the database rather than local storage.

  • Modify SettingAtomFamily: Update the SettingAtomFamily to fetch and store user preferences from/to the manager's database instead of local storage.
  • Focus on User Settings Page: Initially, only the preferences from the user settings page will be stored in the database. Other user preferences will be transitioned to the database in subsequent updates.
  • Ensure Data Integrity: Validate preferences using the JSON schema provided by the manager before storing them in the database.

Alternative ideas

Anything else?

This issue is related to the lablup/backend.ai#2349.

@why-arong why-arong self-assigned this Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant