From a46a3c5996785fd7d3713a650e21d02ed7517710 Mon Sep 17 00:00:00 2001 From: lyingbug Date: Sat, 19 Sep 2026 19:25:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E4=BC=98=E5=8C=96=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E3=80=81=E5=AF=BC=E8=88=AA=E4=B8=8E=E4=BA=A7?= =?UTF-8?q?=E7=89=A9=E5=92=8C=E5=BC=95=E7=94=A8=E5=B1=95=E7=A4=BA=20(#3427?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(ui): refine chat scrolling, outline, and panel interactions * fix(ui): include reference styling, composer copy, and title motion --- frontend/src/assets/dropdown-menu.less | 9 + frontend/src/components/ChatHeader.vue | 212 ++-------- .../src/components/ChatReferencesDrawer.vue | 60 ++- frontend/src/components/Input-field.vue | 31 +- frontend/src/components/PanelResizeHandle.vue | 115 ++++++ frontend/src/components/SessionSidebarRow.vue | 123 ++---- .../chat/ChatQuestionMinimap.test.ts | 8 +- .../components/chat/ChatQuestionMinimap.vue | 170 ++++++-- .../src/components/chat/SandboxSidePanel.vue | 65 +-- .../components/css/artifact-filter-tabs.less | 36 ++ frontend/src/components/document-preview.vue | 13 +- frontend/src/components/menu.vue | 82 ++-- .../src/composables/useChatQuestionMinimap.ts | 44 +- .../src/composables/useSessionTitleMotion.ts | 28 ++ .../useStickyBottomOnResize.test.ts | 20 +- .../composables/useStickyBottomOnResize.ts | 12 +- frontend/src/i18n/locales/en-US.ts | 7 +- frontend/src/i18n/locales/ja-JP.ts | 7 +- frontend/src/i18n/locales/ko-KR.ts | 7 +- frontend/src/i18n/locales/ru-RU.ts | 7 +- frontend/src/i18n/locales/zh-CN.ts | 7 +- frontend/src/stores/ui.ts | 21 +- frontend/src/stores/uiSidebar.test.ts | 49 +++ .../src/utils/chatQuestionMinimap.test.ts | 63 ++- frontend/src/utils/chatQuestionMinimap.ts | 73 +++- frontend/src/utils/referenceSources.ts | 2 + frontend/src/utils/sidebarWidth.ts | 10 + .../src/views/artifacts/ArtifactLibrary.vue | 36 +- .../chat/components/ChatArtifactsPanel.vue | 32 +- frontend/src/views/chat/index.vue | 385 ++++++++++-------- frontend/src/views/platform/index.vue | 2 +- 31 files changed, 947 insertions(+), 789 deletions(-) create mode 100644 frontend/src/components/PanelResizeHandle.vue create mode 100644 frontend/src/components/css/artifact-filter-tabs.less create mode 100644 frontend/src/composables/useSessionTitleMotion.ts create mode 100644 frontend/src/stores/uiSidebar.test.ts create mode 100644 frontend/src/utils/sidebarWidth.ts diff --git a/frontend/src/assets/dropdown-menu.less b/frontend/src/assets/dropdown-menu.less index 846a96eb..834bf8ed 100644 --- a/frontend/src/assets/dropdown-menu.less +++ b/frontend/src/assets/dropdown-menu.less @@ -173,6 +173,15 @@ } } + button.card-menu-item { + width: 100%; + border: 0; + background: transparent; + text-align: left; + white-space: nowrap; + box-sizing: border-box; + } + .card-menu-item { display: flex; align-items: center; diff --git a/frontend/src/components/ChatHeader.vue b/frontend/src/components/ChatHeader.vue index d987c9d2..d607cdfa 100644 --- a/frontend/src/components/ChatHeader.vue +++ b/frontend/src/components/ChatHeader.vue @@ -24,7 +24,7 @@ @dblclick="startTitleEdit" > - {{ displayTitle }} + {{ displayTitle }}