From b5264a2560544404d5d6fbc2f694abd1fafaec8c Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Thu, 16 Apr 2026 12:37:56 +0530 Subject: [PATCH] feat: Adds the ability to resize the editor (#13916) # Pull Request Template ## Description This PR adds support for resizing the reply editor up to nearly half the screen height. It also deprecates the old modal-based pop-out reply box, clicking the same button now expands the editor inline. Users can adjust the height using the slider or the expand button. ## Type of change - [x] New feature (non-breaking change which adds functionality) ## How Has This Been Tested? ### Loom video https://www.loom.com/share/be27e1c06d19475ab404289710b3b0da ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [x] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules --------- Co-authored-by: Pranav --- .../Conversation/SidepanelSwitch.vue | 2 +- .../widgets/WootWriter/CopilotEditor.vue | 9 +- .../components/widgets/WootWriter/Editor.vue | 27 ++- .../widgets/WootWriter/ReplyTopPanel.vue | 4 +- .../conversation/CopilotEditorSection.vue | 5 - .../widgets/conversation/MessagesView.vue | 120 ++++++-------- .../widgets/conversation/ReplyBox.vue | 20 +-- .../conversation/ResizableEditorWrapper.vue | 154 ++++++++++++++++++ 8 files changed, 238 insertions(+), 103 deletions(-) create mode 100644 app/javascript/dashboard/components/widgets/conversation/ResizableEditorWrapper.vue diff --git a/app/javascript/dashboard/components-next/Conversation/SidepanelSwitch.vue b/app/javascript/dashboard/components-next/Conversation/SidepanelSwitch.vue index 5e96df3c6..779165caa 100644 --- a/app/javascript/dashboard/components-next/Conversation/SidepanelSwitch.vue +++ b/app/javascript/dashboard/components-next/Conversation/SidepanelSwitch.vue @@ -57,7 +57,7 @@ useKeyboardEvents(keyboardEvents);