feat(desktop): make 'none' the default branch prefix option#1158
Conversation
Move "none" to the first position in BRANCH_PREFIX_MODES and BRANCH_PREFIX_MODE_LABELS so it appears first in the dropdown, clearly indicating it's the default choice.
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughAdds an inline "Edit prefix" pencil button to NewWorkspaceModal that closes the modal and navigates to /settings/behavior when clicked; also reorders "none" to the start of branch-prefix constant lists in two files (no behavioral change). Changes
Sequence Diagram(s)sequenceDiagram
participant User as User
participant Modal as NewWorkspaceModal
participant Router as Router (useNavigate)
participant Settings as Settings Page
User->>Modal: Click "Edit prefix" (pencil)
Modal->>Modal: handleClose() — close modal UI
Modal->>Router: navigate('/settings/behavior')
Router->>Settings: Render Settings (Behavior / Branch Prefix)
Settings-->>User: Settings UI shown
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 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
Chores