luqmaan/Instabus

Remove the sidebar/listview

Closed this issue · 5 comments

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:

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.

YEY

Wait we need to test with a screen reader.

@ECatx I have no idea how to use VoiceOver. Can you help with this?

;_;