feat(ui): streamline Git commit bar with icon-only staging actions#53
Conversation
Replace text buttons for stage, unstage, and generate with a compact icon cluster on the right while the commit button expands to fill the remaining width, keeping tooltips and disabled states intact. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
The UI refactoring successfully transforms the Git commit bar from text-labeled buttons to icon-only staging actions as intended. The commit button now expands to fill available space (flex-1), and stage/unstage/generate actions are grouped in a compact bordered container on the right. All functionality is preserved including tooltips, disabled states, and the generate/cancel toggle behavior.
You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe commit/staging/message-generation control row in GitPanel.tsx was refactored from a single row of bordered text buttons into a split flex layout: a primary flexed Commit button plus a grouped container of compact IconButtons for stage/unstage and generate/cancel actions, preserving existing enable/disable logic. ChangesGitPanel Controls Refactor
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Test plan
Summary by CodeRabbit
New Features
Bug Fixes