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
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
💡Suggestions
ToggleButton
to be interactiveToggleButton