From e4ac582e16f39e578adf8692e464a798dea4e232 Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Fri, 3 Jul 2026 20:20:23 -0700 Subject: [PATCH] Revert "Update quick command button to use plus icon and clearer label (#6517)" (#7304) This reverts commit a94d692cd549e59a3e47d0a45e8229b12d8a2388, restoring the shorter "Command" label and the Play icon on the quick command entry (PRs #5528 and #5674). Co-authored-by: Orca --- .../src/components/tab-bar/TabBarQuickCommandsButton.tsx | 8 ++++---- .../src/components/tab-bar/TabBarQuickCommandsMenu.tsx | 6 +++--- src/renderer/src/i18n/locales/en.json | 2 +- src/renderer/src/i18n/locales/es.json | 2 +- src/renderer/src/i18n/locales/ja.json | 2 +- src/renderer/src/i18n/locales/ko.json | 2 +- src/renderer/src/i18n/locales/zh.json | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/renderer/src/components/tab-bar/TabBarQuickCommandsButton.tsx b/src/renderer/src/components/tab-bar/TabBarQuickCommandsButton.tsx index b7c921962a7..389280cad53 100644 --- a/src/renderer/src/components/tab-bar/TabBarQuickCommandsButton.tsx +++ b/src/renderer/src/components/tab-bar/TabBarQuickCommandsButton.tsx @@ -1,5 +1,5 @@ import { useMemo, useState } from 'react' -import { Plus } from 'lucide-react' +import { Play } from 'lucide-react' import { useAppStore } from '@/store' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { @@ -136,7 +136,7 @@ export function TabBarQuickCommandsButton({ return null } - // Empty state: single add button that opens the dialog directly. + // Empty state: single "+ Command" button that opens the dialog directly. if (!hasAnyCommands) { return ( <> @@ -151,11 +151,11 @@ export function TabBarQuickCommandsButton({ 'Add quick command' )} > - + {translate( 'auto.components.tab.bar.TabBarQuickCommandsButton.a2c7a33831', - 'Add Quick Command…' + 'Command' )} diff --git a/src/renderer/src/components/tab-bar/TabBarQuickCommandsMenu.tsx b/src/renderer/src/components/tab-bar/TabBarQuickCommandsMenu.tsx index 1d1b616c67d..84ae849fd1b 100644 --- a/src/renderer/src/components/tab-bar/TabBarQuickCommandsMenu.tsx +++ b/src/renderer/src/components/tab-bar/TabBarQuickCommandsMenu.tsx @@ -1,5 +1,5 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react' -import { ChevronDown, Play, Plus } from 'lucide-react' +import { ChevronDown, Play } from 'lucide-react' import { Command, CommandEmpty, @@ -390,10 +390,10 @@ export function TabBarQuickCommandsMenu({ }} className="flex w-full items-center gap-2 rounded-[5px] px-2 py-1.5 text-[12px] text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring" > - + {translate( 'auto.components.tab.bar.TabBarQuickCommandsButton.a2c7a33831', - 'Add Quick Command…' + 'Command' )} diff --git a/src/renderer/src/i18n/locales/en.json b/src/renderer/src/i18n/locales/en.json index 3a362367633..20f44425297 100644 --- a/src/renderer/src/i18n/locales/en.json +++ b/src/renderer/src/i18n/locales/en.json @@ -2695,7 +2695,7 @@ "39676a184c": "Open any file, URL, agent, ..." }, "TabBarQuickCommandsButton": { - "a2c7a33831": "Add Quick Command…", + "a2c7a33831": "Command", "20bbd75896": "No commands", "b82e237a4b": "More quick commands", "85482c57bc": "Run quick command", diff --git a/src/renderer/src/i18n/locales/es.json b/src/renderer/src/i18n/locales/es.json index 05f20280892..dce7125c0c3 100644 --- a/src/renderer/src/i18n/locales/es.json +++ b/src/renderer/src/i18n/locales/es.json @@ -2695,7 +2695,7 @@ "39676a184c": "Abra cualquier archivo, URL, agente, ..." }, "TabBarQuickCommandsButton": { - "a2c7a33831": "Agregar comando rápido…", + "a2c7a33831": "Comando", "20bbd75896": "Sin comandos", "b82e237a4b": "Comandos más rápidos", "85482c57bc": "Ejecutar comando rápido", diff --git a/src/renderer/src/i18n/locales/ja.json b/src/renderer/src/i18n/locales/ja.json index a633f95cfac..28a1044c682 100644 --- a/src/renderer/src/i18n/locales/ja.json +++ b/src/renderer/src/i18n/locales/ja.json @@ -2695,7 +2695,7 @@ "39676a184c": "任意のファイル、URL、agent などを開きます..." }, "TabBarQuickCommandsButton": { - "a2c7a33831": "クイックコマンドを追加…", + "a2c7a33831": "コマンド", "20bbd75896": "コマンドはありません", "b82e237a4b": "よりクイックなコマンド", "85482c57bc": "クイックコマンドを実行する", diff --git a/src/renderer/src/i18n/locales/ko.json b/src/renderer/src/i18n/locales/ko.json index 71fd9e1ae9f..88c4baada28 100644 --- a/src/renderer/src/i18n/locales/ko.json +++ b/src/renderer/src/i18n/locales/ko.json @@ -2695,7 +2695,7 @@ "39676a184c": "모든 파일, URL, agent를 엽니다..." }, "TabBarQuickCommandsButton": { - "a2c7a33831": "빠른 명령 추가...", + "a2c7a33831": "명령", "20bbd75896": "명령 없음", "b82e237a4b": "빠른 명령 더 보기", "85482c57bc": "빠른 명령 실행", diff --git a/src/renderer/src/i18n/locales/zh.json b/src/renderer/src/i18n/locales/zh.json index 8fe9b62ec39..5970640488e 100644 --- a/src/renderer/src/i18n/locales/zh.json +++ b/src/renderer/src/i18n/locales/zh.json @@ -2695,7 +2695,7 @@ "39676a184c": "打开任何文件、URL、智能体..." }, "TabBarQuickCommandsButton": { - "a2c7a33831": "添加快速命令...", + "a2c7a33831": "命令", "20bbd75896": "无命令", "b82e237a4b": "更快捷的命令", "85482c57bc": "运行快速命令",