Repository navigation
Update quick command button to use plus icon and clearer label - #6517
Conversation
Replace the play icon with a plus icon and update the label from "Command" to "Add Quick Command…" (including localizations). This provides clearer visual and textual cues that the action creates a new command rather than running an existing one.
📝 WalkthroughWalkthroughIn 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
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 |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
src/renderer/src/i18n/locales/zh.json (1)
2604-2604: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueUse Unicode ellipsis
…(U+2026) instead of three ASCII periods...The English source string uses
…(e.g., "Add Quick Command…"), but the Chinese translation uses...(three ASCII periods). For visual and typographic consistency across locales, prefer….- "a2c7a33831": "添加快速命令...", + "a2c7a33831": "添加快速命令…",
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 2a9d52c5-a0de-480b-aaa3-25fb6b3b8d02
📒 Files selected for processing (7)
src/renderer/src/components/tab-bar/TabBarQuickCommandsButton.tsxsrc/renderer/src/components/tab-bar/TabBarQuickCommandsMenu.tsxsrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.json
…yai#6517) Replace the play icon with a plus icon and update the label from "Command" to "Add Quick Command…" (including localizations). This provides clearer visual and textual cues that the action creates a new command rather than running an existing one.
stablyai#6517)" (stablyai#7304) This reverts commit 7e343b1, restoring the shorter "Command" label and the Play icon on the quick command entry (PRs stablyai#5528 and stablyai#5674). Co-authored-by: Orca <[email protected]>
Summary
Updates the quick command button and dropdown menu to use the
Plusicon instead of thePlayicon, and clarifies the action label to "Add Quick Command..." (with translations for English, Spanish, Japanese, Korean, and Chinese).Screenshots
Testing
pnpm lintpnpm typecheckpnpm testpnpm buildAI Review Report
Reviewed the simple visual changes. No risks were identified. Confirmed cross-platform compatibility for macOS, Linux, and Windows, as this is purely a UI visual change (updating localized strings and the icon).
Security Audit
No security risks. This change only updates localizations and a React component's visual representation (icons and labels), without touching any logic, IPC, commands, input handling, or authentication.
Notes
None.