From d957f116c4ea8fa04b6d5cff5a889cf8ffdcf04d Mon Sep 17 00:00:00 2001 From: bymyself Date: Mon, 25 Aug 2025 14:34:04 -0700 Subject: [PATCH] [feat] Remove obsolete FirstTimeUIMessage component The FirstTimeUIMessage was introduced in November 2024 when the new UI became default, but after 6+ months it's no longer needed as users have adapted to the new interface. The message was confusing for new users who never experienced the old UI. Changes: - Remove FirstTimeUIMessage.vue component - Remove component usage from SettingDialogContent.vue - Remove 'firstTimeUIMessage' translation key from all locales - Keep settingStore.exists() method as it's part of the public API --- .../dialog/content/SettingDialogContent.vue | 2 -- .../content/setting/FirstTimeUIMessage.vue | 26 ------------------- src/locales/ar/main.json | 1 - src/locales/en/main.json | 1 - src/locales/es/main.json | 1 - src/locales/fr/main.json | 1 - src/locales/ja/main.json | 1 - src/locales/ko/main.json | 1 - src/locales/ru/main.json | 1 - src/locales/zh-TW/main.json | 1 - src/locales/zh/main.json | 1 - 11 files changed, 37 deletions(-) delete mode 100644 src/components/dialog/content/setting/FirstTimeUIMessage.vue diff --git a/src/components/dialog/content/SettingDialogContent.vue b/src/components/dialog/content/SettingDialogContent.vue index 9d676ed0c4..c9c71f25ae 100644 --- a/src/components/dialog/content/SettingDialogContent.vue +++ b/src/components/dialog/content/SettingDialogContent.vue @@ -41,7 +41,6 @@ > @@ -76,7 +75,6 @@ import { flattenTree } from '@/utils/treeUtil' import ColorPaletteMessage from './setting/ColorPaletteMessage.vue' import CurrentUserMessage from './setting/CurrentUserMessage.vue' -import FirstTimeUIMessage from './setting/FirstTimeUIMessage.vue' import PanelTemplate from './setting/PanelTemplate.vue' import SettingsPanel from './setting/SettingsPanel.vue' diff --git a/src/components/dialog/content/setting/FirstTimeUIMessage.vue b/src/components/dialog/content/setting/FirstTimeUIMessage.vue deleted file mode 100644 index 82794923fd..0000000000 --- a/src/components/dialog/content/setting/FirstTimeUIMessage.vue +++ /dev/null @@ -1,26 +0,0 @@ - - - diff --git a/src/locales/ar/main.json b/src/locales/ar/main.json index 9dc6c4cadd..13a9d331c9 100644 --- a/src/locales/ar/main.json +++ b/src/locales/ar/main.json @@ -313,7 +313,6 @@ "feedback": "ملاحظات", "filter": "تصفية", "findIssues": "العثور على مشاكل", - "firstTimeUIMessage": "هذه هي المرة الأولى التي تستخدم فيها واجهة المستخدم الجديدة. اختر \"القائمة > استخدام القائمة الجديدة > تعطيل\" لاستعادة الواجهة القديمة.", "frontendNewer": "إصدار الواجهة الأمامية {frontendVersion} قد لا يكون متوافقاً مع الإصدار الخلفي {backendVersion}.", "frontendOutdated": "إصدار الواجهة الأمامية {frontendVersion} قديم. يتطلب الإصدار الخلفي {requiredVersion} أو أحدث.", "goToNode": "الانتقال إلى العقدة", diff --git a/src/locales/en/main.json b/src/locales/en/main.json index ecc17b17cd..c2118a286b 100644 --- a/src/locales/en/main.json +++ b/src/locales/en/main.json @@ -5,7 +5,6 @@ "empty": "Empty", "noWorkflowsFound": "No workflows found.", "comingSoon": "Coming Soon", - "firstTimeUIMessage": "This is the first time you use the new UI. Choose \"Menu > Use New Menu > Disabled\" to restore the old UI.", "download": "Download", "import": "Import", "loadAllFolders": "Load All Folders", diff --git a/src/locales/es/main.json b/src/locales/es/main.json index 817e1a4a0b..0e80fc9a58 100644 --- a/src/locales/es/main.json +++ b/src/locales/es/main.json @@ -313,7 +313,6 @@ "feedback": "Retroalimentación", "filter": "Filtrar", "findIssues": "Encontrar problemas", - "firstTimeUIMessage": "Esta es la primera vez que usas la nueva interfaz. Elige \"Menú > Usar nuevo menú > Desactivado\" para restaurar la antigua interfaz.", "frontendNewer": "La versión del frontend {frontendVersion} puede no ser compatible con la versión del backend {backendVersion}.", "frontendOutdated": "La versión del frontend {frontendVersion} está desactualizada. El backend requiere la versión {requiredVersion} o superior.", "goToNode": "Ir al nodo", diff --git a/src/locales/fr/main.json b/src/locales/fr/main.json index a60b783855..db878ecf85 100644 --- a/src/locales/fr/main.json +++ b/src/locales/fr/main.json @@ -313,7 +313,6 @@ "feedback": "Commentaires", "filter": "Filtrer", "findIssues": "Trouver des problèmes", - "firstTimeUIMessage": "C'est la première fois que vous utilisez la nouvelle interface utilisateur. Choisissez \"Menu > Utiliser le nouveau menu > Désactivé\" pour restaurer l'ancienne interface utilisateur.", "frontendNewer": "La version du frontend {frontendVersion} peut ne pas être compatible avec la version du backend {backendVersion}.", "frontendOutdated": "La version du frontend {frontendVersion} est obsolète. Le backend requiert la version {requiredVersion} ou supérieure.", "goToNode": "Aller au nœud", diff --git a/src/locales/ja/main.json b/src/locales/ja/main.json index 581b05e4bf..c6a9608b7c 100644 --- a/src/locales/ja/main.json +++ b/src/locales/ja/main.json @@ -313,7 +313,6 @@ "feedback": "フィードバック", "filter": "フィルタ", "findIssues": "問題を見つける", - "firstTimeUIMessage": "新しいUIを初めて使用しています。「メニュー > 新しいメニューを使用 > 無効」を選択することで古いUIに戻すことが可能です。", "frontendNewer": "フロントエンドのバージョン {frontendVersion} はバックエンドのバージョン {backendVersion} と互換性がない可能性があります。", "frontendOutdated": "フロントエンドのバージョン {frontendVersion} は古くなっています。バックエンドは {requiredVersion} 以上が必要です。", "goToNode": "ノードに移動", diff --git a/src/locales/ko/main.json b/src/locales/ko/main.json index a456945614..9e1ba18578 100644 --- a/src/locales/ko/main.json +++ b/src/locales/ko/main.json @@ -313,7 +313,6 @@ "feedback": "피드백", "filter": "필터", "findIssues": "문제 찾기", - "firstTimeUIMessage": "새 UI를 처음 사용합니다. \"메뉴 > 새 메뉴 사용 > 비활성화\"를 선택하여 이전 UI로 복원하세요.", "frontendNewer": "프론트엔드 버전 {frontendVersion}이(가) 백엔드 버전 {backendVersion}과(와) 호환되지 않을 수 있습니다.", "frontendOutdated": "프론트엔드 버전 {frontendVersion}이(가) 오래되었습니다. 백엔드는 {requiredVersion} 이상이 필요합니다.", "goToNode": "노드로 이동", diff --git a/src/locales/ru/main.json b/src/locales/ru/main.json index 57cb8d5f29..c0c4df41e0 100644 --- a/src/locales/ru/main.json +++ b/src/locales/ru/main.json @@ -313,7 +313,6 @@ "feedback": "Обратная связь", "filter": "Фильтр", "findIssues": "Найти проблемы", - "firstTimeUIMessage": "Вы впервые используете новый интерфейс. Выберите \"Меню > Использовать новое меню > Отключено\", чтобы восстановить старый интерфейс.", "frontendNewer": "Версия интерфейса {frontendVersion} может быть несовместима с версией сервера {backendVersion}.", "frontendOutdated": "Версия интерфейса {frontendVersion} устарела. Требуется версия не ниже {requiredVersion} для работы с сервером.", "goToNode": "Перейти к ноде", diff --git a/src/locales/zh-TW/main.json b/src/locales/zh-TW/main.json index 28ad3d0ad0..d8d3dc1e76 100644 --- a/src/locales/zh-TW/main.json +++ b/src/locales/zh-TW/main.json @@ -313,7 +313,6 @@ "feedback": "意見回饋", "filter": "篩選", "findIssues": "尋找問題", - "firstTimeUIMessage": "這是您第一次使用新介面。若要返回舊介面,請前往「選單」>「使用新介面」>「關閉」。", "frontendNewer": "前端版本 {frontendVersion} 可能與後端版本 {backendVersion} 不相容。", "frontendOutdated": "前端版本 {frontendVersion} 已過時。後端需要 {requiredVersion} 或更高版本。", "goToNode": "前往節點", diff --git a/src/locales/zh/main.json b/src/locales/zh/main.json index f522fe87aa..2a0482654d 100644 --- a/src/locales/zh/main.json +++ b/src/locales/zh/main.json @@ -313,7 +313,6 @@ "feedback": "反馈", "filter": "过滤", "findIssues": "查找问题", - "firstTimeUIMessage": "这是您第一次使用新界面。选择 \"菜单 > 使用新菜单 > 禁用\" 来恢复旧界面。", "frontendNewer": "前端版本 {frontendVersion} 可能與後端版本 {backendVersion} 不相容。", "frontendOutdated": "前端版本 {frontendVersion} 已过时。后端需要 {requiredVersion} 或更高版本。", "goToNode": "转到节点",