Sitemap
Eric Allam

Eric Allam

Founder at Trigger.dev, the open source background job framework. Creator of jsonhero.io.

5 min readSep 29, 2014
Press enter or click to view image in full size

In an early version of Stopcast I thought it would make the most sense to order stops by their distance to your location. It makes intuitive sense that you care most about the stops you are near. So I set about building Stopcast with this assumption, but I learned that there are some tricky edge-cases and usability problems with location for this use-case.

These problems stem from two different facts about how location works:

  1. Apps can’t assume the user will always give them permission to access the device’s location
  2. If an App does get permission to access location, that access is asynchronous and not always accurate and/or quick.

The edge cases caused by the first problem are things like: what order should Stopcast show stops in if location access is denied? What happens if Stopcast orders by location while the user is at home, say in South London, and then at some point when the user is at work later that day in North London she decides to turn off location access for Stopcast, and then opens the app. What should Stopcast do in that case? Should it show stops in order they were last displayed? That might lead to showing the stop she most wants to see “at the bottom” of the order. Or should Stopcast order the stops by some other criteria? None of the possible fallback criteria seemed all that great either: order the stops by when they were added, order by their number of predicted arrival times, order by some kind of global popularity, etc.

Okay, let’s use the 80% case and just assume that location access will always be granted. That still leaves problem number two: location access is asynchronous, and not always accurate and or/quick. You can see the result of this problem in an early prototype of Stopcast. As soon as location information comes in, the order of the stops are changed:

There is a reason this version never shipped.

That doesn’t seem so bad. But look at what happens when location access takes a few seconds to come in (which isn’t unheard of at all):

That reordering is extremely jarring (even with the animations). Imagine that happening to someone who is in a hurry and just trying to quickly check their bus time, rushing down the street, cold with a light rain coming down.

Or Stopcast could do some kind of spinner or progress bar and only show bus times once location comes in. But what if the user only tracks 2–3 buses? Why make them wait for location to show them bus times?

Get Eric Allam’s stories in your inbox

Join Medium for free to get updates from this writer.

All of these edge cases introduced crappy compromises and complexity, for me (the developer) and for the user. Luckily, when I started over from scratch on Stopcast, I had a chance to rethink this approach.

When I started the redesign a few months ago, I once again faced the question of location and ordering. This time I started by asking myself what is the goal? The goal for the prototype was “to use location to show the user their most relevant stop”, which as I detailed above wouldn’t work. So I changed the goal to be more concrete but also more flexible: To reduce the amount of cognitive load required when searching for the most relevant bus.

This led to start thinking about other ways of achieving this goal without using location. I like how Vesper treats it’s list of notes: it orders them exactly how the user wants, instead of some Vesper-led predetermination. It leads to predictability between app launches and also complete control (even though it also works if you never explicitly change the order at all).

So buses in Stopcast are ordered first by when they were added, and gives the user the ability to determine the exact order themselves:

Control over the order was the first step, but I thought I could reduce cognitive load by building up another association: colour.

I have a lot of t-shirts. They come in all different colours. Usually in the morning I have a general idea of what shirt I’d like to wear for that day. My shirts are all folded and stacked up, kind of like this:

Usually I’m able to pick out the shirt I want from the stack without opening up each one and looking at the front and the back. How? By their colour of course. I’m no trained colour theorist or anything but can still tell subtle differences in colour because most of these shirts I’ve owned for awhile and have experience picking them out by colour.

So too the thinking went with Stopcast. By assigning each bus a unique colour, over-time it should get easier and easier to pick out the bus based on that association. Red becomes the 211 bus at Waterloo Station. Blue is the 67 at Old Street. Green is the 386 around the corner from my house, etc.

That’s the idea anyways. It’s still an experiment. The app is designed around a daily use-case, but will that be enough use to cause the colour association to stick? So far, at least for me, it’s worked out pretty well, but I’d love to hear feedback if you use Stopcast (or even if you don’t).

P.S. The next version of Stopcast is currently In Review and includes a redesigned Today Widget that includes the colour for the bus:

Press enter or click to view image in full size
Original Widget design vs New Widget design with colours
Eric Allam
Eric Allam

Written by Eric Allam

Founder at Trigger.dev, the open source background job framework. Creator of jsonhero.io.