david raistrick
9f8b09c7d9
feat(ui): first-class undo/redo buttons in combat controls
Undo/redo pills in InitiativeControls, always visible when encounter open.
- Undo = latest non-undone log for this encounter, applies undo.updates.
- Redo = latest undone log, applies undo.redo (forward patch).
- encounterPath added to all 14 logAction contexts (filter key).
- redo:patch added to undoData so redo replays real forward state.
- Disabled when stack empty. Tooltip shows target action message.
- Uses current 2-write undo (non-tx). Race safety deferred to FEAT-LOG.
TODO updated. 84 FE tests green.
2026-07-04 22:48:58 -04:00
..
2026-07-04 12:22:19 -04:00
2026-07-04 16:06:28 -04:00
2026-07-04 17:56:14 -04:00
2026-07-04 22:48:58 -04:00
2026-04-25 20:25:34 -04:00
2025-05-25 22:21:45 -04:00
2026-07-04 17:03:34 -04:00