CUTR-at-USF / onebusaway-application-modules

OneBusAway, modified for a Tampa, Fl deployment
https://github.com/OneBusAway/onebusaway-application-modules/wiki
Other
2 stars 1 forks source link

Review negative arrival times being displayed on OneBusAway #14

Closed barbeau closed 11 years ago

barbeau commented 11 years ago

These are shown to the user to indicate that they just missed their bus. From a UX perspective, should these be removed, so the user just sees the positive arrival times being displayed?

barbeau commented 11 years ago

We want to keep current design, as its proved useful to riders in Seattle. See discussion on OBA dev list: https://groups.google.com/forum/?fromgroups=#!topic/onebusaway-developers/pVxORUgLhe0

Here's the logic that's currently used to show arrival time to riders, from Brian Ferris from above link: "So, the default value for "minutes before" (maybe not the most intuitive name) is 5, which means we show buses that have departed in the last minute.

But the actual logic is this:

Show any bus whose predicted OR scheduled arrival/departure time is greater than or equals to (NOW - minutes before).

So the reason you saw a bus with a -8 is because it actually left 5 minutes early and was originally scheduled to leave just three minutes ago, which is within the 5 minute threshold.

A bit confusing, but the idea is that if your bus left early (5 minutes early is pretty early!) we didn't want to just show nothing in the UI, thus we considered both predicted and scheduled time when deciding to show something in the UI.

Brian"