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

Persist notification preferences in localStorage #84

Open
coderabbitai bot opened this issue Jan 23, 2025 · 0 comments
Open

Persist notification preferences in localStorage #84

coderabbitai bot opened this issue Jan 23, 2025 · 0 comments
Labels
improvement Quality of life improvements

Comments

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 23, 2025

Current Behavior

The notification preferences state resets to default (enabled) on page refresh, resulting in a poor user experience.

Proposed Solution

Implement localStorage persistence for notification preferences to maintain user settings across page refreshes.

Implementation Details

  • Use localStorage to store notification preferences
  • Initialize state from localStorage on component mount
  • Update localStorage when preferences change

References

/cc @evgongora

@evgongora evgongora removed their assignment Jan 23, 2025
@bitfalt bitfalt added the improvement Quality of life improvements label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Quality of life improvements
Projects
None yet
Development

No branches or pull requests

2 participants