-
-
Notifications
You must be signed in to change notification settings - Fork 3k
[UI] Refactor user preferences to use database instead of localStorage #14398
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any issues in the code and it changing a theme works nicely. I confirm that it is stored in the database now. 👍
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 6.x #14398 +/- ##
=========================================
Coverage 63.64% 63.65%
- Complexity 34639 34640 +1
=========================================
Files 2276 2277 +1
Lines 103610 103625 +15
=========================================
+ Hits 65946 65965 +19
+ Misses 37664 37660 -4
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did basic tests.
Seems work for me 👍
Description
This PR replaces localStorage for saving user preferences to use the database instead.
It aims to provide a consistent experience for users when switching accounts and devices.
📋 Steps to test this PR: