StoicBuilder

HandbookVI the AtriumFeedback and confirmations

VIthe Atrium, Design the experience

Feedback and confirmations

1 min readUpdated 28 November

In plain words

Feedback tells people their action worked, failed or is still in progress, and a confirmation asks them to make sure before something hard to undo, like deleting.

Where you see it

The small "Saved" in Quill after you edit, Gmail's "Message sent" with an Undo link, or Harbor asking you to type the project's name before it deletes the project. Each one answers the question every user has after clicking, which is whether it worked.

components/NoteActions.tsxbrowser
const res = await fetch(`/api/notes/${id}`, { method: "DELETE" });if (res.ok) { toast.success("Note moved to Trash", { action: { label: "Undo", onClick: () => restoreNote(id) } });} else { toast.error("Couldn't delete the note. Check your connection and try again.");}
The message waits for the server's answer, and Undo replaces an "Are you sure" box.

What goes wrong

  1. Saying Saved before it's saved

    The message appears the moment you click, and the request fails a second later. The user leaves believing their work is safe.

  2. A confirmation box for everything

    When every click asks "Are you sure?", people press Yes without reading, including the one time it matters. Save confirmations for what can't be undone, and offer Undo for the rest.

  3. Errors that fade after three seconds

    A failure shown in a toast that disappears on a timer is easy to miss. Keep errors on screen until the person dismisses them or fixes the problem.

What to tell your agent

Copy this into Lovable, Bolt, Cursor or any agent
For every action that saves, sends or deletes something, show a short message once the server confirms it, and an error that stays on screen if it fails. Use Undo instead of a confirmation box where the action can be reversed, and ask people to type the name only for permanent deletes.

Quick check

Sign in to earn +10 XP for it

Quill shows "Saved" the instant Maya clicks, but some of her notes are missing the next day. What's the likely problem?

Got a prompt that touches feedback and confirmations?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.