DenverCoder1/readme-typing-svg

Feature Request: Persistent Configuration Settings

LakshmanKishore opened this issue · 2 comments

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

  1. Visit the live preview
  2. Set custom configurations (e.g., text, color, font).
  3. Refresh the page.
  4. Observe that configurations are reset to default.

Not exactly the same, but I just implemented in #311 a way to restore parameters from the URL, so if there is a configuration you want to retain, you can save or bookmark the permalink to it and continue working from it by opening the link later.