Skip to content

feat: UNDO and REDO on the map (5b1) - #298

Merged
over2take merged 1 commit into
feature/system-builderfrom
sb/5b1-undo
Oct 19, 2026
Merged

over2take merged 1 commit into
feature/system-builderfrom
sb/5b1-undo

Conversation

@over2take

Copy link
Copy Markdown
Owner

↶ and ↷ in the map's toolbar, and Ctrl+Z / Ctrl+Y / Ctrl+Shift+Z while the map is open, take back what was done on the map and in a node's panel: a move, a fold, AUTO-LAYOUT (one click now that it can be undone), a change typed in the panel. Typing in one box is one step; anything else is a step of its own however quick, so a fold and the typing after it come back one at a time. A box being typed in keeps its own undo. The keys are heard on the window, as after a drag the focus is on nothing in particular. editHistory.ts is the logic, pure and tested; a browser journey undoes and redoes a real drag.

Summary

Test plan

  • Tested locally
  • Tests pass

Pre-merge checklist

Code quality:

  • Code follows project style
  • No breaking changes (or clearly documented)
  • No console errors or warnings

Version & Release:

  • Version bumped? If releasing to users, update:
    • frontend/package.json version
    • docker-compose.yml APP_VERSION
    • CHANGELOG.md with release notes
  • GitHub Actions will auto-tag Docker images with the new version

Before merging to main:

  • All tests passing
  • PR reviewed and approved
  • Branch is up to date with main
  • No merge conflicts

Related issues

↶ and ↷ in the map's toolbar, and Ctrl+Z / Ctrl+Y / Ctrl+Shift+Z while
the map is open, take back what was done on the map and in a node's
panel: a move, a fold, AUTO-LAYOUT (one click now that it can be
undone), a change typed in the panel. Typing in one box is one step;
anything else is a step of its own however quick, so a fold and the
typing after it come back one at a time. A box being typed in keeps its
own undo. The keys are heard on the window, as after a drag the focus is
on nothing in particular. editHistory.ts is the logic, pure and tested;
a browser journey undoes and redoes a real drag.
@over2take
over2take merged commit 43f5381 into feature/system-builder Oct 19, 2026
6 checks passed
@over2take
over2take deleted the sb/5b1-undo branch October 19, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant