Persist circuit reorders

This commit is contained in:
2026-07-25 21:22:10 +02:00
parent 08a2775a88
commit abcb468807
26 changed files with 914 additions and 372 deletions
+7 -5
View File
@@ -126,9 +126,11 @@ Undo/redo wraps editor operations as command objects and reloads the tree after
each command. Existing Circuit and device-row cell edits plus standalone
insert/delete actions execute persistent project commands; their toolbar
undo/redo calls the project-wide server history. New entities receive stable
UUIDs before insertion, and deletion undo restores those same ids. Move,
reorder and renumber operations still use their existing direct API writes and
session-local inverse callbacks during the cutover.
UUIDs before insertion, and deletion undo restores those same ids. Device-row
moves and circuit reorders also use persistent project commands. Applying a
sorted view across multiple sections is atomic and occupies one history step.
Renumbering still uses its direct API write and session-local inverse callback
during the cutover.
Covered operations include:
@@ -142,5 +144,5 @@ Covered operations include:
Current limitations:
- the visible editor stack is still session-local and is empty after reload
- move, reorder and renumber editor actions are not connected to the persistent
command boundary yet
- renumber editor actions are not connected to the persistent command boundary
yet