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

Users should be able to favorite stops & routes #147

Open
jmcbroom opened this issue Feb 2, 2024 · 0 comments
Open

Users should be able to favorite stops & routes #147

jmcbroom opened this issue Feb 2, 2024 · 0 comments
Assignees

Comments

@jmcbroom
Copy link
Member

jmcbroom commented Feb 2, 2024

@alaurenz with a user report:

on iOS saving to home screen doesn't allow saving specific urls to the home page, just the domain.. So I can't actually save the specific route to the home screen.. If there's not a way around this, maybe there's a way to save favorites with cookies?

We can use IndexedDB for this and Dexie: https://dexie.org/

See https://github.com/jmcbroom/multi-gtfs-gatsby/blob/647c2d692b8d1517af549df20153907ef9a056fb/src/db.js for very basic implementation for stops

@jmcbroom jmcbroom self-assigned this Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant