Knowledge & reflections
Designing for the Unhappy Path
A dependable interface explains what happened, what is still uncertain, and what the user can do next. ## Empty is not an error An empty collection means there are no matching records. A failed request means the application does not know which records exist. Presenting both as an empty list hides useful information. ## A timeout is not proof of failure A service may save a request before the connection disappears. Repeating that action automatically can create a duplicate. Use a server-supported idempotency key when available. Otherwise, preserve the entered text and explain that receipt could not be confirmed. ## Keep recovery close Place clear feedback beside the relevant action. Keep the keyboard focus predictable, preserve useful input, and provide a retry only when it is appropriate. A good error state is part of the normal design, not an afterthought.