readme-typing-svg
readme-typing-svg copied to clipboard
Feature Request: Persistent Configuration Settings
Is your feature request related to a problem? The current implementation resets all configuration settings to default upon page refresh. This can be inconvenient for users who wish to retain their customized settings.
Describe the solution you'd like
Implement a mechanism to persistently store user configuration settings using localStorage
. This way, when users make changes to the configuration, the settings will be saved locally and loaded on page reload.
Describe alternatives you've considered The alternative is to manually set configurations every time the page is refreshed, which is not user-friendly.
Additional context
- Utilize the browser's
localStorage
to store configuration settings. - Implement event listeners to capture changes in configuration and update the
localStorage
. - On page load, check for saved settings in
localStorage
and apply them.
Benefits
- User Convenience: Users won't have to reconfigure settings every time they visit the page.
- Improved User Experience: Enhances the overall user experience by providing a seamless and personalized interaction.
Steps to Reproduce
- Visit the live preview
- Set custom configurations (e.g., text, color, font).
- Refresh the page.
- Observe that configurations are reset to default.