Skip to content

feat: add Undo and UndoOrExit action variants#487

Open
clansty wants to merge 1 commit intoSatty-org:mainfrom
clansty:feat/undo-action
Open

feat: add Undo and UndoOrExit action variants#487
clansty wants to merge 1 commit intoSatty-org:mainfrom
clansty:feat/undo-action

Conversation

@clansty
Copy link
Copy Markdown

@clansty clansty commented Apr 14, 2026

Summary

  • Add undo and undo-or-exit as new action variants for action chains
  • undo: plain action, no-op if nothing to undo, always continues the chain
  • undo-or-exit: compound action — undo one step if possible, exit if nothing to undo
  • Route Enter/Escape/right-click through new process_actions method for consistent Undo support
  • No implicit control flow — compound behavior is explicit in the action name

Closes #485
Related discussion: #481

Copilot AI review requested due to automatic review settings April 14, 2026 08:07
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

Add Undo and UndoOrExit action variants for action chains

2 participants