From c021bcf16815a1ed94544eafce41779264e0ec62 Mon Sep 17 00:00:00 2001 From: andypalmi Date: Fri, 9 Oct 2026 11:50:10 +0200 Subject: [PATCH] Start a new Expert chat when sending from the folded overview composer On the team overview, a message typed in the composer or a prompt picked while the conversation is folded away now starts a new chat instead of extending the old one. An expired session no longer locks the composer or the prompts there. While a reply is still live they stay locked, with a placeholder pointing at Stop. --- .../expert/components/ExpertChatInput.vue | 30 ++++++-- frontend/src/pages/team/Home/Expert/index.vue | 11 ++- frontend/src/stores/product-expert.js | 18 +++++ .../components/expert/ExpertChatInput.spec.js | 60 +++++++++++++++- .../frontend/pages/team/Home/Expert.spec.js | 33 ++++++++- .../frontend/stores/product-expert.spec.js | 70 +++++++++++++++++++ 6 files changed, 213 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/expert/components/ExpertChatInput.vue b/frontend/src/components/expert/components/ExpertChatInput.vue index 73edecb167..a5ccde155d 100644 --- a/frontend/src/components/expert/components/ExpertChatInput.vue +++ b/frontend/src/components/expert/components/ExpertChatInput.vue @@ -56,7 +56,7 @@ v-model="inputText" class="chat-input" :placeholder="placeholderText" - :disabled="isInputDisabled" + :disabled="isComposerDisabled" @keydown="handleKeydown" @focus="isTextareaFocused = true" @blur="isTextareaFocused = false" @@ -77,7 +77,7 @@ Stop