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

Création d'un service encapsulant le localStorage #98

Open
hvdbm opened this issue Nov 29, 2022 · 0 comments
Open

Création d'un service encapsulant le localStorage #98

hvdbm opened this issue Nov 29, 2022 · 0 comments
Labels
internal The changes don't impact the user

Comments

@hvdbm
Copy link
Member

hvdbm commented Nov 29, 2022

Lien avec l'issue suivante :

Actuellement, on fait directement des appels à localStorage à partir de constantes de types/local-storage.ts. Il serait plus propre de créer un service s'occupant de la gestion du localStorage notamment :

  • La lecture des paramètres sauvegardés.
  • L'écriture des paramètres sauvegardés.
  • Traitement des erreurs et initialisation dans le cas de nouveaux paramètes.
  • Autres actions si nécessaire.

Il est peut-être possible de récupérer celui de Mellotron.

@hvdbm hvdbm added the internal The changes don't impact the user label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal The changes don't impact the user
Projects
None yet
Development

No branches or pull requests

2 participants