WarUI

History grouping and limits

GRID-A15-F15P1beyond-baselinePlanned

Group compound operations such as paste, fill-down, bulk edit and row move into a single undo step. Cap the history by step count or memory estimate. Users can undo meaningful actions, and memory stays bounded.

Planned. This page shows the specification from issue #195. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Grid with paste, fill-down and 'Increase price 10%' bulk actions, and a history panel.

Expected behavior

A paste appears as one labelled entry. Exceeding maxSteps drops the oldest entries and emits historyTrimmed. Nested groups flatten into their outer group.

Planned API surface

undoRedo.maxStepsundoRedo.maxMemoryKbbeginHistoryGroup()endHistoryGroup()historyGroupLabelhistoryTrimmed

Acceptance criteria

  • A group undoes and redoes atomically. (pending)
  • An unbalanced beginHistoryGroup is closed automatically at the end of the task, with a dev warning. (pending)
  • The memory estimate is documented as approximate. (pending)
  • The history panel shows group labels. (pending)