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

Store/Retrieve Last Location in Local Storage #44

Open
ben-miles opened this issue Apr 14, 2023 · 0 comments
Open

Store/Retrieve Last Location in Local Storage #44

ben-miles opened this issue Apr 14, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ben-miles
Copy link
Owner

Currently, if a user returns to the app in a separate session, they have to re-enter their location in the search input. Ideally, I'd like the app to check local storage for a previously loaded location, and if found, submit that right away when the app loads -- To the same end, the app should store every loaded location in local storage, overwriting the previous loaded location each time.

To avoid showing inaccurate/outdated information, don't save any of the actual weather data -- only the location itself!

@ben-miles ben-miles added the enhancement New feature or request label Apr 14, 2023
@ben-miles ben-miles self-assigned this Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant