HIYAUI/UX

| 5 minute read

What I learned designing for the 1am shift

Most of what I design gets looked at on a desk. Banners, websites, landing pages. This last project was a bit different.

For the past few months I've been designing a risk-assessment tool for frontline staff. It's used on a phone, often at 1am, usually with someone next to them who's tired or upset. Nobody's opening it for fun.

I can't say who it's for yet, but I can share what I learned. Some of it I already knew and had got lazy about. Some of it was new to me.

Design for the room, not the desk

I review everything on a big monitor in a well-lit room. The people using this have one hand free, the lights down and their screen brightness turned right down. They get pulled away halfway through and come back ten minutes later.

So I started asking one question about every screen: does this still work if you're tired, distracted and holding something?

A lot of ideas didn't survive that. Small tap targets, anything that relied on remembering the previous screen, long scrolling pages. What was left was pretty plain. Big buttons, one question at a time, and an easy way back in after an interruption. Plain is fine when it actually matters.

Don't just grey out the button

The first version did what most forms do. Miss a question and the Continue button goes grey.

Think about that at 1am. You tap it and nothing happens. You tap it again. Then you're scrolling up and down trying to work out what you missed. A greyed-out button tells you something's wrong, but not what.

So the button stays tappable. Tap it with something missing and you get a short "Still to do" list, and each item takes you straight to the question. Same rule underneath, but it feels like the app is helping rather than telling you off.

I'm a lot more suspicious of disabled buttons in general now.

The words matter more than the layout

Honestly, I spent more time on wording than on visuals for this one. On a tool like this, the copy is doing most of the work.

A few rules that stuck:

  • Write it how a colleague would say it. No form language, no internal terms, no acronyms.
  • Say what to do, not who to call. Job titles vary from place to place. "Someone who can help" works everywhere.
  • Don't sound like a system. "Didn't save, try again" is better than any error code.

We ended up with a written language standard that sits alongside the design system, and wording gets checked against it like anything else. It's probably one of the most useful things to come out of the project.

Accessibility is where the arguments happen

I'll be honest, I lost an argument on this one. I wanted light, soft borders on the form controls because they looked calmer. The client's technical lead pointed out that WCAG asks for 3:1 contrast on anything you need to see to use a control. A radio button you can't make out in a dark room isn't calm, it's just hard to use.

We met in the middle. Containers kept the lighter border, and the bits you actually need to see, like the radio circle and the plus and minus icons, got the stronger one. It looks better than what I had.

Two other things I'd now do by default:

  • 44px minimum touch targets. Even on small text links.
  • A focus ring with a gap. A 2px ring sitting just off the control, so it shows up on any background. Simple in code, surprisingly fiddly to draw in Figma.

Your Figma file has a new reader

This build was AI-assisted. The Figma file didn't just go to a developer, it went into a pipeline that reads it and generates code from it.

That changes things. A developer can usually guess what you meant. A pipeline does exactly what the file says.

What helped:

  1. Name components the same as the code. If the code calls it PrimaryButton, so does Figma. No "Button / Big / Blue v3".
  2. Draw every state. Default, pressed, focused, sending, failed. If it isn't drawn, someone (or something) will make it up. The number of states got a lot bigger than I expected, but it's still quicker than fixing them after the build.
  3. Layer your tokens. Raw colours at the bottom, brand colours in the middle, roles on top like Action/Primary or Text/Danger. Components only use the roles.
  4. Keep notes out of the build. I put an underscore in front of annotation layers so people can read them and the pipeline ignores them.

None of this is new, it's just good housekeeping. The difference is that a pipeline shows up the messy bits straight away, where a person would quietly work around them.

You're a guest in someone else's product

The new feature had to sit inside an app that was already live, with its own brand and its own way of doing things.

My first instinct was to tidy things up. A slightly different blue here, a cleaner red there. Each one made sense on its own, but together they'd have made the new part look like a different product.

So I went back to the live app, pulled out what it actually used and mapped my tokens onto that. If I still thought something should change, I put it in writing and let the client decide.

Fitting in with what people already know is worth more than a nicer palette. You have to earn changes.

Prototype the waiting, not just the screens

Part of the tool takes a few seconds to work something out. In a static mockup that's one screen. In real life it's the bit where people decide whether they trust it.

So the prototype waits about as long as the real thing does, and it tells you what it's doing in plain words instead of just showing a spinner.

I also built it around scenarios rather than single screens: a straightforward one, one that escalates, and one that ends in a stop. You learn a lot more testing a whole journey than a page.

The testing is with people who actually do the job, in conditions close to the real thing: standing up, one hand, screen dimmed. If you can't test with real users, you're mostly just testing your own assumptions.

What I'd tell another designer

Design for the worst moment, not the demo. Sort the words out before the visuals. Take accessibility feedback on the chin, even when it means losing something you liked. And make your files clear enough for a machine to read, because more and more often one is.

AI made this build quicker. It didn't make the decisions any easier. Someone still had to work out what a tired person needs to see at 1am, and get it right.

That's the kind of work I want to do more of at HIYA. Projects where the design actually makes a difference to the person using it.

More insights

All posts