You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✨ Add amend mode to Iris Studio for modifying previous commits
Implement comprehensive support for amending commits directly within Studio:
- Add amend_mode state with original message tracking in CommitState
- Introduce ToggleAmendMode event and Shift+A keybinding to toggle mode
- Create ConfirmAmend modal and ExecuteAmend side effect for the workflow
- Update commit generation to use TaskContext::for_amend() with original
message context when amending
- Add perform_amend() method and ExitResult::Amended variant in app
- Add clear() method to MessageEditorState for mode switching
- Display "[AMEND]" indicator in commit panel title when mode is active
Users can now press Shift+A to toggle amend mode, which regenerates
the commit message considering the original commit, then amends HEAD
with the new message and any staged changes.
0 commit comments