Skip to catalogue

210

undo

The action can be reversed from the UI. A soft delete nobody can restore is not undo.

What is undo?

Undo reverses a recent command: a toast with Undo, or a history. It requires that you kept the previous state or can compensate. It is not the same as version history, though they rhyme. If you cannot undo, say so before the action.

Why does undo matter when vibe coding?

Models add a trash icon that hard-deletes. Name undo and the window (ten seconds, or until you leave).

How do you do undo?

For reversible destroys: perform, show undo, commit the delete when the window ends. If the window is missed, it is gone — say that. Do not pretend a support ticket is undo.

How do you ask a model for undo?

Make (action) undoable for (window). Show an undo control. Apply the permanent delete only after the window. Do not hard-delete immediately. Do not offer undo if you cannot restore.

What goes wrong with undo?

Undo that only works until the next click because you stored one slot and overwrote it. Say how deep undo goes.

adjacent