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

Client-side alerts #108

Open
morganney opened this issue Dec 1, 2023 · 0 comments
Open

Client-side alerts #108

morganney opened this issue Dec 1, 2023 · 0 comments
Labels
alerts Related to the alerts feature enhancement New feature or request ui Related to the ui package

Comments

@morganney
Copy link
Owner

morganney commented Dec 1, 2023

Need client-side alerts for scheduled stops. Not sure on the best UX. Allow the user to select a particular scheduled stop (by calling the umo schedules api) and then configure alerts for its impending arrival. Perhaps start with one time option of like 10 minutes before the predicted arrival.

Biggest questions are best UX for selecting/configuring the alert, and the options for notification or whether there should be more than one. Possible implementation could be web worker with notifications api.

Note, this is specifically client-side only in that these do not persist after the browser/app is closed, nor do they work across devices or time. However, if the PWA is "installed" as an app and the device has it running in the background, the alert should still function.

Alerts that are repeatable, or persist across devices and sessions, i.e. have backend support are a later feature...

@morganney morganney added enhancement New feature or request ui Related to the ui package alerts Related to the alerts feature labels Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alerts Related to the alerts feature enhancement New feature or request ui Related to the ui package
Projects
None yet
Development

No branches or pull requests

1 participant