jbccollins / metro-monitor

:metro: A live filterable map of the DC Metro system. Features train positions, station arrival predictions and WMATA alerts all in once place!

Home Page:https://www.dcmetromonitor.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use a cookie to track alerts. By default only previously unseen alerts should be displayed.

binxboll opened this issue · comments

What about the case where an alert like "Police activity around Gallery Place. Station closed". You check the app and see oh it's closed guess I won't leave work yet. You check back 10 minutes later and that alert is now hidden from you so you think the station is now open.

That scenario is only a problem when users come to expect persistent alerts. Think about flash flood warnings on your phone. Once you have read and dismissed a warning, it does not keep popping up.

Eh. Fundamentally this site is meant to be a monitor. Not an alerts system. It should ALWAYS answer the question "What is going on with my train right now". If you want transient alerts like the flood warning thing then you can subscribe to the WMATA alerts text program. And remember that turning off lines will filter out events that don't match your filters.

On the other hand... I can see how it would be useful to let a user permanently dismiss alerts that they don't care about. For example the Alert for the 45 days of construction on the Red Line. Like that alert is just gonna sit there for the next 45 days cluttering up my view.

Closing as users can now permanently dismiss alerts

But how can I now view previously dismissed alerts?

I can add a button in the settings menu to make that happen. It's just localStorage.clear() in the dev console if you want to manually check how that would behave.