Skip to content

Commit 3770d86

Browse files
EtienneLescotclaude
andcommitted
fix(editor): remove the redundant top-bar settings button
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 <noreply@anthropic.com>
1 parent 80d4663 commit 3770d86

15 files changed

Lines changed: 1 addition & 25 deletions

File tree

‎src/components/ai-edition/v4/EditorTopBar.tsx‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
PanelLeft,
1111
RefreshCw,
1212
Save,
13-
Settings,
1413
Sparkles,
1514
Sun,
1615
} from "lucide-react";
@@ -182,15 +181,6 @@ export function EditorTopBar({
182181
>
183182
{theme === "dark" ? <Moon size={16} /> : <Sun size={16} />}
184183
</button>
185-
<button
186-
type="button"
187-
className={styles.iconBtn}
188-
title={t("topbar.settings")}
189-
aria-label={t("topbar.settings")}
190-
onClick={actions.openSettings}
191-
>
192-
<Settings size={16} />
193-
</button>
194184
<button
195185
type="button"
196186
className={styles.exportBtn}

‎src/i18n/locales/ar/editor.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"switchToLightTheme": "التبديل إلى المظهر الفاتح",
8888
"switchToDarkTheme": "التبديل إلى المظهر الداكن",
8989
"toggleTheme": "تبديل المظهر",
90-
"settings": "الإعدادات",
9190
"export": "تصدير",
9291
"renameProject": "إعادة تسمية المشروع",
9392
"noProject": "لا يوجد مشروع",

‎src/i18n/locales/en/editor.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"switchToLightTheme": "Switch to light theme",
8888
"switchToDarkTheme": "Switch to dark theme",
8989
"toggleTheme": "Toggle theme",
90-
"settings": "Settings",
9190
"export": "Export",
9291
"renameProject": "Rename project",
9392
"noProject": "No project",

‎src/i18n/locales/es/editor.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"switchToLightTheme": "Cambiar a tema claro",
8888
"switchToDarkTheme": "Cambiar a tema oscuro",
8989
"toggleTheme": "Alternar tema",
90-
"settings": "Ajustes",
9190
"export": "Exportar",
9291
"renameProject": "Renombrar proyecto",
9392
"noProject": "Sin proyecto",

‎src/i18n/locales/fr/editor.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"switchToLightTheme": "Passer au thème clair",
8888
"switchToDarkTheme": "Passer au thème sombre",
8989
"toggleTheme": "Changer de thème",
90-
"settings": "Réglages",
9190
"export": "Exporter",
9291
"renameProject": "Renommer le projet",
9392
"noProject": "Aucun projet",

‎src/i18n/locales/it/editor.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"switchToLightTheme": "Passa al tema chiaro",
8888
"switchToDarkTheme": "Passa al tema scuro",
8989
"toggleTheme": "Cambia tema",
90-
"settings": "Impostazioni",
9190
"export": "Esporta",
9291
"renameProject": "Rinomina progetto",
9392
"noProject": "Nessun progetto",

‎src/i18n/locales/ja-JP/editor.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"switchToLightTheme": "ライトテーマに切り替え",
8888
"switchToDarkTheme": "ダークテーマに切り替え",
8989
"toggleTheme": "テーマを切り替え",
90-
"settings": "設定",
9190
"export": "エクスポート",
9291
"renameProject": "プロジェクト名を変更",
9392
"noProject": "プロジェクトなし",

‎src/i18n/locales/ko-KR/editor.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"switchToLightTheme": "라이트 테마로 전환",
8888
"switchToDarkTheme": "다크 테마로 전환",
8989
"toggleTheme": "테마 전환",
90-
"settings": "설정",
9190
"export": "내보내기",
9291
"renameProject": "프로젝트 이름 변경",
9392
"noProject": "프로젝트 없음",

‎src/i18n/locales/pt-BR/editor.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"switchToLightTheme": "Mudar para tema claro",
8888
"switchToDarkTheme": "Mudar para tema escuro",
8989
"toggleTheme": "Alternar tema",
90-
"settings": "Configurações",
9190
"export": "Exportar",
9291
"renameProject": "Renomear projeto",
9392
"noProject": "Nenhum projeto",

‎src/i18n/locales/ru/editor.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"switchToLightTheme": "Переключить на светлую тему",
8888
"switchToDarkTheme": "Переключить на тёмную тему",
8989
"toggleTheme": "Переключить тему",
90-
"settings": "Настройки",
9190
"export": "Экспорт",
9291
"renameProject": "Переименовать проект",
9392
"noProject": "Нет проекта",

0 commit comments

Comments
 (0)