Skip to content

Update quick command button to use plus icon and clearer label - #6517

Merged
AmethystLiang merged 1 commit into
mainfrom
add-command
Jun 27, 2026
Merged

AmethystLiang merged 1 commit into
mainfrom
add-command

Conversation

@AmethystLiang

Copy link
Copy Markdown
Contributor

Summary

Updates the quick command button and dropdown menu to use the Plus icon instead of the Play icon, and clarifies the action label to "Add Quick Command..." (with translations for English, Spanish, Japanese, Korean, and Chinese).

Screenshots

  • No visual change.

Testing

  • pnpm lint
  • pnpm typecheck
  • pnpm test
  • pnpm build
  • Added or updated high-quality tests that would catch regressions, or explained why tests were not needed

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

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

coderabbitai Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

In TabBarQuickCommandsButton.tsx and TabBarQuickCommandsMenu.tsx, the icon for the empty-state "add command" button was changed from Play to Plus, and the button label was updated from "Command" to "Add Quick Command…". The corresponding i18n locale string (key a2c7a33831) was updated across five locale files: English, Spanish, Japanese, Korean, and Chinese.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main UI update: switching the quick command button to a plus icon and clearer label.
Description check ✅ Passed The description follows the template and covers summary, screenshots, testing, AI review, security, and notes.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
src/renderer/src/i18n/locales/zh.json (1)

2604-2604: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Use 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

📥 Commits

Reviewing files that changed from the base of the PR and between ef292cb and c4025f4.

📒 Files selected for processing (7)
  • src/renderer/src/components/tab-bar/TabBarQuickCommandsButton.tsx
  • src/renderer/src/components/tab-bar/TabBarQuickCommandsMenu.tsx
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/zh.json

@AmethystLiang
AmethystLiang merged commit a94d692 into main Jun 27, 2026
2 checks passed
nwparker added a commit that referenced this pull request Jul 4, 2026
#6517)" (#7304)

This reverts commit a94d692, restoring the
shorter "Command" label and the Play icon on the quick command entry
(PRs #5528 and #5674).

Co-authored-by: Orca <[email protected]>
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…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.
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant