From 218e9388d2acd9e241bbab73eeb5e923e5529f82 Mon Sep 17 00:00:00 2001 From: Syngnat Date: Sun, 2 Aug 2026 12:43:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style(theme):=20=E5=AF=B9?= =?UTF-8?q?=E9=BD=90=E8=A1=A8=E6=A6=82=E8=A7=88=E4=B8=BB=E9=A2=98=E8=A1=A8?= =?UTF-8?q?=E9=9D=A2=E5=B9=B6=E4=BC=98=E5=8C=96=E5=B7=A5=E5=85=B7=E6=A0=8F?= =?UTF-8?q?=E4=B8=8E=E6=97=B6=E9=97=B4=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 主内容区与侧栏统一 panel-2,消除表概览空白区色差 - 查询工具栏保存按钮改为 default 图标样式,提升暗色可读性 - 表概览时间格式化为 YYYY-MM-DD HH:mm:ss,保留小数秒 - 补充多语言文案与相关测试 --- frontend/package.json.md5 | 2 +- .../src/components/QueryEditorToolbar.tsx | 4 +- .../TableOverview.tdengine.test.tsx | 1 + frontend/src/components/TableOverview.tsx | 133 ++++++--- .../src/components/sidebar/sidebarHelpers.ts | 36 ++- frontend/src/hooks/useAppUtilityStyles.tsx | 6 +- frontend/src/styles/v2-theme-workbench.css | 187 +++++++++++- frontend/src/utils/customThemePresets.test.ts | 5 + frontend/src/utils/customThemePresets.ts | 39 ++- frontend/src/v2-theme.css | 276 ++++++++++++++---- shared/i18n/de-DE.json | 20 +- shared/i18n/en-US.json | 20 +- shared/i18n/ja-JP.json | 20 +- shared/i18n/ru-RU.json | 20 +- shared/i18n/zh-CN.json | 20 +- shared/i18n/zh-TW.json | 20 +- 16 files changed, 674 insertions(+), 135 deletions(-) diff --git a/frontend/package.json.md5 b/frontend/package.json.md5 index 0a3c8755..544c423d 100755 --- a/frontend/package.json.md5 +++ b/frontend/package.json.md5 @@ -1 +1 @@ -83b4b7d166ed9172beba2d6236382c0b \ No newline at end of file +339d5c974e6ab5cba2d5def171f5ce0a \ No newline at end of file diff --git a/frontend/src/components/QueryEditorToolbar.tsx b/frontend/src/components/QueryEditorToolbar.tsx index 131bfdf7..4c127cc0 100644 --- a/frontend/src/components/QueryEditorToolbar.tsx +++ b/frontend/src/components/QueryEditorToolbar.tsx @@ -557,7 +557,9 @@ const QueryEditorToolbar: React.FC = ({