micasa

Undo and Redo

micasa supports multi-level undo and redo for data edits.

Undo and redo demo showing edit, undo, and redo

How it works#

Every time you save a form (add, edit, or inline edit), micasa snapshots the previous state of the entity before applying your changes. These snapshots are stored in a LIFO stack (up to 50 entries).

Undo#

In Edit mode, press u to undo the last edit. This restores the entity to its state before the edit was made. You can undo multiple times to walk back through your edit history.

The undo operation:

  1. Pops the most recent snapshot from the undo stack
  2. Snapshots the current state and pushes it onto the redo stack
  3. Restores the entity to the saved state
  4. Refreshes all tabs and the dashboard

Redo#

In Edit mode, press r to redo an undone edit. This re-applies the change that was undone.

Redo works symmetrically to undo: it pops from the redo stack, snapshots the current state onto the undo stack, and restores.

Important notes#