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

Get recent locations from the My prices page #528

Open
odin-h opened this issue Apr 14, 2024 · 4 comments
Open

Get recent locations from the My prices page #528

odin-h opened this issue Apr 14, 2024 · 4 comments

Comments

@odin-h
Copy link
Collaborator

odin-h commented Apr 14, 2024

Problem

If you clear your browser cache, you lose your list of recent locations.

Proposed solution

Check for previously added prices by the user and add their locations to localStorage if the recent locations list is empty.

@raphodn
Copy link
Member

raphodn commented Apr 15, 2024

if the recent locations list is empty

but maybe the user deleted the list on purpose ?

@odin-h
Copy link
Collaborator Author

odin-h commented Apr 15, 2024

Oh, you can delete entries from the recent locations list? I didn't realize. Maybe it would make more sense to call it favorite locations or saved locations or something instead? If the list doesn't always represent your recent locations?

@raphodn
Copy link
Member

raphodn commented Apr 15, 2024

yes you can delete them individually, or all of them at once with the "Clear" button (in the location selector popup)

image

@odin-h
Copy link
Collaborator Author

odin-h commented Apr 15, 2024

I see. Well, I kinda still wish there was a way to populate the list with your actual recent locations from your price upload history so I don't have to memorize or look up the shop name again whenever I want to add a price from there again, as I sometimes switch devices or may clear my browser cache occasionally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants