Skip to main content

What's new

Preview a task's changes in the Agents dashboard before you merge

The Agents dashboard with a task open: the conversation with the agent on the left, and on the right the Preview tab showing the task's new login page with a Desktop and Mobile toggle above it.

When an agent tells you it's finished a UI change, you've had two ways to check: read the diff and picture it in your head, or merge it and go look at the real app. The Preview tab in the Agents dashboard gives you a third. Select a task, open Preview, and you see that task's version of your app running in a frame, straight from the task's own branch, before any of it reaches main.

The screenshot above is a real task. The ask was to add some text above the login boxes explaining what the app is for. The conversation with the agent is on the left. On the right, the Preview tab is showing the new login page with that text in place, running from the task's branch. Nothing has been submitted or merged yet.

See the change, not just the diff

A diff is good at telling you what changed and bad at telling you how it looks. Is the new heading too big? Does the text wrap badly next to the login form? Did the button end up where you pictured it? You can answer those in two seconds by looking at the screen, and you can't answer them at all by reading JSX. Preview puts the screen right next to the conversation, so checking a UI change takes a glance.

How to use it

Pick a task and open the Preview tab. The task's version of your app starts up, which takes a few seconds, and then it's there in the frame. Click through its pages the way you normally would. Switch to another task and the preview switches with you, so you can flip between two tasks and compare how each one handled the same screen.

Watch the change land while you talk to the agent

The preview updates as the agent edits files, usually within a second, and that makes feedback quick. Keep Preview open, say “make that heading smaller” or “move the explanation above the form”, and watch it happen. Not right yet? Say so and watch again. A few rounds like that get you to the screen you had in mind.

Check the phone layout too

Above the frame there's a Desktop and Mobile toggle. Mobile shows your app at phone width, so you catch the layout that breaks on a small screen before your users do. When you want the full window, Open puts the preview in its own browser tab.

Fix it before it's in main

The biggest difference is when you catch things. Without a preview, you find out how a change looks after it's merged, and fixing it means another task, another PR and another merge. With Preview you see it while the task is still open and the agent still has all the context. When the screen looks right, hit Quick Submit. When it doesn't, tell the agent what's off. Either way, what reaches main is something you've already looked at.

A good way to work with it: keep Preview open while the agent works, nudge it in chat until the screen looks right, then submit.

← All posts

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.