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

Fix: Ensure Saving of data in Local Storage #57

Open
Saloni-2005 opened this issue Dec 8, 2024 · 3 comments
Open

Fix: Ensure Saving of data in Local Storage #57

Saloni-2005 opened this issue Dec 8, 2024 · 3 comments

Comments

@Saloni-2005
Copy link

Actually the data that we are writing in input is not getting saved in local storage .
So I have Added a functionality using "localStorage.setItems " Which will store data in the local storage.

@rahat2134
Copy link
Collaborator

Make a video that shows the changes locally. I will assign you the issue.

@rahat2134
Copy link
Collaborator

Make the title and description good.

@Saloni-2005
Copy link
Author

Currently, the data is not being saved correctly in localStorage. This is causing the application to lose all saved data (tasks, goals, notes, etc.) when the page is refreshed. It appears that the data is not persisting between sessions, which may be due to incorrect usage of localStorage methods or some conflicts with the data-saving process.

Solution:
Ensure that data is being correctly saved using the localStorage.setItem() method.
Check if the data is being properly retrieved with localStorage.getItem() after the page reload.

image

ezyZip.mp4

@rahat2134 I am working on resolving this issue by investigating the current localStorage implementation and potentially refactoring the code to ensure data is saved and retrieved correctly. I would like to request to be assigned this task to continue working on the fix and ensure proper functionality of data persistence. Thankyou!

@Saloni-2005 Saloni-2005 changed the title Not saved in local storage Fix: Ensure Saving of data in Local Storage Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants