Commit graph

1 commit

Author SHA1 Message Date
Roo Code
1be54df605 feat: implement enhanced context editing features for issue #7285
- Added 'Delete and Restore' button to deletion dialog that removes messages and restores file state to checkpoint
- Enabled Edit button for user messages in ChatRow component
- Added withRestore field to message interfaces for dual-action deletion
- Implemented removeMessagesAndRestoreFileState function to synchronize message deletion with checkpoint restoration
- Updated MessageModificationConfirmationDialog to support both delete-only and delete-with-restore actions
- Fixed all related test cases to include withRestore field

This partially addresses issue #7285 by implementing features 1 and 3 from the requested enhancements.
2025-08-21 15:01:31 +00:00