From 0087452b63c4f37ab33a83d469ea1ca4c71c37e2 Mon Sep 17 00:00:00 2001 From: Marco Ambrosini Date: Tue, 26 May 2026 18:48:26 +0900 Subject: [PATCH 1/4] collapse task history sidebar below 900px dialog width Signed-off-by: Marco Ambrosini --- .../AssistantTextProcessingForm.vue | 14 +++- .../ChattyLLM/ChattyLLMInputForm.vue | 12 ++- src/mixins/navAutoCollapse.js | 75 +++++++++++++++++++ 3 files changed, 93 insertions(+), 8 deletions(-) create mode 100644 src/mixins/navAutoCollapse.js diff --git a/src/components/AssistantTextProcessingForm.vue b/src/components/AssistantTextProcessingForm.vue index 18ae18a88..ac38073f1 100644 --- a/src/components/AssistantTextProcessingForm.vue +++ b/src/components/AssistantTextProcessingForm.vue @@ -21,8 +21,8 @@ :is-assignment="mySelectedTaskTypeId === 'assignments'" class="chatty-inputs" @open-chat="onOpenChatFromAssignment" /> -
- +
+ this.selectedTaskId, @@ -473,6 +476,9 @@ export default { }, mySelectedTaskTypeId(newVal) { this.myOutputs = {} + // the navigation lives in a conditionally-rendered branch, so + // re-attach the resize observer once that branch is in the DOM + this.$nextTick(() => this.setupNavObserver()) }, }, mounted() { @@ -790,13 +796,13 @@ export default { } } - :deep(.app-navigation--close) { + :deep(.app-navigation--closed) { .app-navigation-toggle-wrapper { margin-right: -33px !important; } } - :deep(.app-navigation--close ~ .session-area) { + :deep(.app-navigation--closed ~ .session-area) { .session-area__chat-area, .session-area__input-area { padding-left: 0 !important; } diff --git a/src/components/ChattyLLM/ChattyLLMInputForm.vue b/src/components/ChattyLLM/ChattyLLMInputForm.vue index d407e703d..bc23841d8 100644 --- a/src/components/ChattyLLM/ChattyLLMInputForm.vue +++ b/src/components/ChattyLLM/ChattyLLMInputForm.vue @@ -3,8 +3,8 @@ - SPDX-License-Identifier: AGPL-3.0-or-later -->