From 57f218d57c81675eed72d219fec22b87520e921e Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Sat, 22 Nov 2025 13:17:05 +0800 Subject: [PATCH] fix: keep quick menu open while interacting --- static/app.js | 29 +++++++++++++++++++++++++++++ static/index.html | 8 ++++---- 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/static/app.js b/static/app.js index cccd8c3..a0aabd1 100644 --- a/static/app.js +++ b/static/app.js @@ -2581,12 +2581,41 @@ async function bootstrapApp() { handleInputFocus() { this.inputIsFocused = true; + this.closeQuickMenu(); }, handleInputBlur() { this.inputIsFocused = false; }, + handleRealtimeTerminalClick() { + if (!this.isConnected) { + return; + } + this.openRealtimeTerminal(); + }, + + handleFocusPanelToggleClick() { + if (!this.isConnected) { + return; + } + this.toggleFocusPanel(); + }, + + handleTokenPanelToggleClick() { + if (!this.currentConversationId) { + return; + } + this.toggleTokenPanel(); + }, + + handleCompressConversationClick() { + if (this.compressing || this.streamingMessage || !this.isConnected) { + return; + } + this.compressConversation(); + }, + autoResizeInput() { this.$nextTick(() => { const textarea = this.$refs.stadiumInput; diff --git a/static/index.html b/static/index.html index 8e9eda8..789189f 100644 --- a/static/index.html +++ b/static/index.html @@ -746,25 +746,25 @@