bikehopper / bikehopper-ui

Friendly bike+transit directions (frontend)
Other
26 stars 1 forks source link

Display alerts in itineraries and route overviews #251

Closed graue closed 1 year ago

graue commented 1 year ago

Basic implementation of service alert display. Requires this Bikehopper-web-app pull request to be merged and deployed first, or else it won't do anything:

https://github.com/bikehopper/bikehopper-web-app/pull/17

Examples in route overview. Notice the warning triangle next to the (AC Transit) L and 76, which have alerts that apply to them:

Screenshot from 2023-04-18 16-49-22

Examples in itinerary. Unfortunately AC Transit's alerts are spammy and have all three languages jammed into one string instead of being properly translated, but that's what we've got to work with. Imagine actually useful alerts appearing in this space instead:

Screenshot from 2023-04-18 17-07-15