Add Designer transaction and undo/redo foundation - #94
Merged
ProGraMajster merged 2 commits intoAug 22, 2026
Conversation
- centralize Designer mutations in atomic transactions - add deterministic undo/redo history with rollback and replay suppression - coalesce drag and resize operations into single history entries - integrate property, tree and collection edits with Designer history - track saved revisions and restore dirty state through undo/redo - add headless regression coverage for nested, complex and failure scenarios
- keep model, selection and history stacks consistent when observers throw - complete gesture and session cleanup after post-rollback notifications - expand nested, history-limit, save-marker and GC regression coverage
ProGraMajster
deleted the
codex/issue-33-designer-transactions-undo-redo
branch
August 22, 2026 16:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the central Designer transaction and bounded undo/redo foundation for issue #33. The feature records typed model, property, layout, tree, rename, and selection changes per document; exposes Undo/Redo commands and toolbar state; integrates property-grid, collection-editor, outline, drag, resize, and root-layout mutations; and tracks the saved revision independently from the current history position.
Architecture
DesignerTransactionManagerandDesignerHistorywith typed reversible changes.DesignerSessionconstruction remains compatible; new Designer APIs are additive and.mfdesignserialization is unchanged.Designer integration
Reliability
Validation
ModernFormsNext.Testingsuite (Add headless TestHost and application UI testing infrastructure #64): 46/46.43313f4151bc9b25ad4a745fdd6fa6d2e7ec5ffd.git diff --check: clean.Automated validation does not claim a manual Visual Studio Designer UI session or Android emulator/device run.
Follow-ups
Issues #34, #35, #36, #37, #39, and #41 remain separate follow-ups and are not implemented by this PR. This PR supplies the transaction/history foundation they can integrate with without changing their current status or target.
Closes #33