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

feat: Implement Local Storage for User Settings [⭐3xp] #20

Open
3 tasks
IndieCoderMM opened this issue Oct 30, 2023 · 0 comments
Open
3 tasks

feat: Implement Local Storage for User Settings [⭐3xp] #20

IndieCoderMM opened this issue Oct 30, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@IndieCoderMM
Copy link
Owner

Currently, our settings page has toggle switches that are only visual. The goal is to improve UX by adding the functionality to store and persist user settings.

🎯Expected Result

  • Implement local storage to store the current settings
  • When users click Save, the new state should be saved
  • Setting changes should persist across sessions and page reloads

💡Suggestions

  • Make a state object for each setting group
  • Store the state with a unique key (e.g Group Title) on Save
  • Modify ToggleButton to be interactive
  • Load the existing states and pass on/off props to ToggleButton

Feel free to ask any questions

@IndieCoderMM IndieCoderMM added enhancement New feature or request good first issue Good for newcomers labels Oct 30, 2023
@IndieCoderMM IndieCoderMM changed the title feat: Implement Local Storage for User Settings feat: Implement Local Storage for User Settings [⭐3xp] Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant