· SeVedemo

Beautiful UI: crafting every state of the interface

Using the speed-up AI gives you to spend time crafting happy paths, errors and intermediate states, validating interactive prototypes before writing code.

What does it mean to build a beautiful interface?

An interface is more than a happy path and simply reaching a goal.

It is care for every scenario: from loading to error, from partial completion to resuming. It means having a clear solution and a decision made for every screen the user will face, even when they are offline.

In this example we show the review flow of a job offer written by an AI assistant.

The solution we implemented is a simple floating bar that makes errors and missing fields explicit and guides the user to the next action.

Loading

The bar lists the steps: creating the offer, then searching for compatible freelancers

The bar tells you what is happening, step by step.

Partial

Four fields are missing: rate, duration, commitment and location, each in a chip

Four fields are missing. Each one is a chip that takes you straight to the field to fill in.

Error

The offer was not created, the changes are kept and there is a button to retry

The request failed and the changes are still there: one click is enough to retry.

Plan limit

The plan’s limit of active offers has been reached, with the link to upgrade

The draft is saved and, once you upgrade, you can carry on.

Success

Offer created, and compatible profiles are on their way

A confirmation, and the next thing that is about to happen.

Handling intermediate states

Intermediate states describe the scenarios where the user changes their mind, gets an error, forgets a field or stops to finish later.

The main difficulty is putting yourself in the shoes of a user who doesn’t know how to reach the goal, or for whom the path isn’t clear.

Working alone makes the problem bigger: there is no colleague asking «what if the user changes their mind halfway?». One possible solution is the ui-sweep skill, which I used to mitigate this problem: in that article I explain how to balance the speed-up by strengthening the refinement process and analysing every state before writing production code.

Producing more or producing more quality

The speed-up lets you do «more», but you are the one who decides what that «more» is:

  • more quality gates;
  • more time to discover and handle edge cases;
  • more time to bring creativity into the process.

The goal is to take your time back and invest it in what really matters. Code is now generated faster: the time to craft every error state is there.

Exploring more solutions with interactive prototypes

The bar above is a prototype: the panel on the left forces every outcome, so every state can be seen and tested before a single line of production code exists.

If you want to iterate on and test a prototype the same way, try the /prototype skill. It builds divergent variants of the same piece of UI, lets you pick the winner and walks through its states before it becomes a spec. Like ui-sweep, it is part of brain-manager: to use it, just ask your agent to install only this skill.

Omar De Angelis Product Engineer · 10 years of releases in production

In these articles and on LinkedIn I write about the releases of my clients’ products. Want the same release pace for your products? Book a 30-minute call: we look at the product together and I’ll tell you whether I can help.

Free review of your product.  Book 30 minutes →