- 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.