Remove the sidebar/listview
Closed this issue · 5 comments
luqmaan commented
The sidebar/listview isn't very useful.
I think we should get rid of it for a couple of reasons:
- There a bunch of code all over the place to keep the listview coordinated with the map.
- Leaflet only displays one popup at a time. But the listview allows multiple stops to be selected. This is gross as a user and grosser in the code.
- I keep running into issues when trying to cleanly make a popup center when you click a stop in the list.
Lets remove the listview.
One benefit the listview did bring is allow you to see the names of the stops in order. We can solve this by adding labels to the markers.
Todo:
- Remove the list view
- Add stop name labels to the stops with https://github.com/Leaflet/Leaflet.label
- Test the map with a screen reader and investigate what we can do to improve it
luqmaan commented
Another benefit the listview had was it worked well with screen readers. We should test the map with screen readers and see how well we can make it work.
luqmaan commented
YEY
luqmaan commented
Wait we need to test with a screen reader.
luqmaan commented
;_;