From af77b46f0b898f52a98d65e28346efbdb4b09666 Mon Sep 17 00:00:00 2001 From: EtienneLescot Date: Sat, 22 Aug 2026 11:38:05 +0200 Subject: [PATCH] fix(editor): remove the redundant top-bar settings button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The gear icon between the theme toggle and Export opened the shortcuts configuration dialog — the same dialog already reachable as "Keyboard Shortcuts" from the OpenScreen wordmark menu. Unlike AI settings, which llm-providers.md documents as an intentional "two doors, one dialog", this second door was just a leftover. Removed the button and its icon import, the now-dead `topbar.settings` string from all 13 locales, and the two manual e2e checklist lines that tested or referenced the removed control. Co-Authored-By: Claude Sonnet 5 --- src/components/ai-edition/v4/EditorTopBar.tsx | 10 ---------- src/i18n/locales/ar/editor.json | 1 - src/i18n/locales/en/editor.json | 1 - src/i18n/locales/es/editor.json | 1 - src/i18n/locales/fr/editor.json | 1 - src/i18n/locales/it/editor.json | 1 - src/i18n/locales/ja-JP/editor.json | 1 - src/i18n/locales/ko-KR/editor.json | 1 - src/i18n/locales/pt-BR/editor.json | 1 - src/i18n/locales/ru/editor.json | 1 - src/i18n/locales/tr/editor.json | 1 - src/i18n/locales/vi/editor.json | 1 - src/i18n/locales/zh-CN/editor.json | 1 - src/i18n/locales/zh-TW/editor.json | 1 - .../testing/manual-e2e-checklist.md | 3 +-- 15 files changed, 1 insertion(+), 25 deletions(-) diff --git a/src/components/ai-edition/v4/EditorTopBar.tsx b/src/components/ai-edition/v4/EditorTopBar.tsx index a369da6a8..884a48da7 100644 --- a/src/components/ai-edition/v4/EditorTopBar.tsx +++ b/src/components/ai-edition/v4/EditorTopBar.tsx @@ -10,7 +10,6 @@ import { PanelLeft, RefreshCw, Save, - Settings, Sparkles, Sun, } from "lucide-react"; @@ -182,15 +181,6 @@ export function EditorTopBar({ > {theme === "dark" ? : } -