From 97f107caacf38c3a0a0e93d342b3efb0f2ca94b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E9=A2=97=E7=BA=A2=E5=BF=83?= Date: Thu, 2 Jul 2026 23:45:02 +0800 Subject: [PATCH] fix(app): unify import/export icons and clarify result archive tooltip * fix(app): unify import and export icons across sidebar surfaces Use Upload for import actions and Download for export actions in the connection sidebar, object browser, connection tree menus, and table toolbox so icon semantics match the rest of the app. Co-authored-by: Cursor * fix(i18n): rename import result archive tooltip label Clarify the editor toolbar action as importing a saved result archive so it pairs clearly with the save result archive action. Co-authored-by: Cursor --------- Co-authored-by: Cursor --- apps/desktop/src/components/layout/AppSidebar.vue | 4 ++-- apps/desktop/src/components/layout/ContentArea.vue | 2 +- apps/desktop/src/components/layout/WelcomeScreen.vue | 4 ++-- apps/desktop/src/components/objects/ObjectBrowser.vue | 8 ++++---- apps/desktop/src/components/sidebar/TreeItem.vue | 8 ++++---- apps/desktop/src/i18n/locales/en.ts | 2 +- apps/desktop/src/i18n/locales/es.ts | 2 +- apps/desktop/src/i18n/locales/it.ts | 2 +- apps/desktop/src/i18n/locales/ja.ts | 2 +- apps/desktop/src/i18n/locales/pt-BR.ts | 2 +- apps/desktop/src/i18n/locales/zh-CN.ts | 2 +- apps/desktop/src/i18n/locales/zh-TW.ts | 2 +- 12 files changed, 20 insertions(+), 20 deletions(-) diff --git a/apps/desktop/src/components/layout/AppSidebar.vue b/apps/desktop/src/components/layout/AppSidebar.vue index 3ce318099..e47ae76a8 100644 --- a/apps/desktop/src/components/layout/AppSidebar.vue +++ b/apps/desktop/src/components/layout/AppSidebar.vue @@ -69,7 +69,7 @@ defineExpose({ focusSearch }); model-value="" :items="importSourceItems" :aria-label="t('sidebar.import')" - :trigger-icon="Download" + :trigger-icon="Upload" trigger-class="inline-flex h-6 w-5 items-center justify-center rounded-md outline-none hover:bg-muted hover:text-foreground focus-visible:ring-0" trigger-icon-class="h-4 w-4" content-class="w-44" @@ -87,7 +87,7 @@ defineExpose({ focusSearch }); {{ t("sidebar.export") }} diff --git a/apps/desktop/src/components/layout/ContentArea.vue b/apps/desktop/src/components/layout/ContentArea.vue index 8b4e3ee8d..f73d41fc1 100644 --- a/apps/desktop/src/components/layout/ContentArea.vue +++ b/apps/desktop/src/components/layout/ContentArea.vue @@ -1088,7 +1088,7 @@ defineExpose({ focusSearch, refreshData, handleModRTarget, requestQueryEditorExe - + {{ t("tableToolbox.exportData") }} diff --git a/apps/desktop/src/components/layout/WelcomeScreen.vue b/apps/desktop/src/components/layout/WelcomeScreen.vue index 4b0f38790..56e647b04 100644 --- a/apps/desktop/src/components/layout/WelcomeScreen.vue +++ b/apps/desktop/src/components/layout/WelcomeScreen.vue @@ -1,6 +1,6 @@