diff --git a/docs/en/wework/workbench.md b/docs/en/wework/workbench.md index 6564462d1b4..16950b3d833 100644 --- a/docs/en/wework/workbench.md +++ b/docs/en/wework/workbench.md @@ -32,6 +32,10 @@ The new-task page uses compact suggestion buttons to help choose a task directio Project selection, message input, quick phrases, and model selection share one composer surface. The composer shows a blue border while focused, and the simplified launcher preserves project, attachment, quick-phrase, and model controls. +## Use the Popout Window composer + +When no task is running, the Wework Popout Window uses a compact composer with a fixed height. After the message exceeds three lines, the text scrolls inside the editor while attachment, model, and send controls remain visible. + ## Files and terminals The right workspace displays project files, previews, and change reviews. Multi-root projects show a folder selector in the Files tab. Switching folders changes only the file-tree and preview root; it does not change the execution directory used by the task, terminal, or conversation. diff --git a/docs/zh/wework/workbench.md b/docs/zh/wework/workbench.md index 68bd29883ef..481c9a82e12 100644 --- a/docs/zh/wework/workbench.md +++ b/docs/zh/wework/workbench.md @@ -32,6 +32,10 @@ Wework 桌面版使用顶部标签页承载任务、项目空间、智能体和 项目选择、消息输入、快捷短语和模型选择位于同一个输入面板中。输入框获得焦点时会显示蓝色边框,项目、附件、快捷短语和模型设置不会因新任务页的简化布局而减少。 +## 使用弹窗快速输入 + +Wework 弹窗在没有运行任务时使用固定高度的紧凑输入面板。输入内容超过三行后,文本会在输入框内部滚动,底部的附件、模型和发送控件保持在弹窗可视范围内。 + ## 文件与终端 右侧工作区用于浏览项目文件、预览内容和审核变更。多目录项目会在文件标签中显示文件夹选择器;切换文件夹只改变文件树和预览根目录,不会改变任务、终端或对话使用的执行目录。 diff --git a/wework/src/pages/PopoutWorkbenchPage.css b/wework/src/pages/PopoutWorkbenchPage.css index 10fa822786b..067c58fa971 100644 --- a/wework/src/pages/PopoutWorkbenchPage.css +++ b/wework/src/pages/PopoutWorkbenchPage.css @@ -69,6 +69,10 @@ } .popout-window-collapsed [data-testid='desktop-empty-composer-dock'] { + position: absolute; + right: 0; + bottom: 0; + left: 0; width: 100%; } @@ -79,12 +83,19 @@ } .popout-window-collapsed [data-testid='project-chat-composer-form'] { + height: 112px; min-height: 112px; + max-height: 112px; border: 0; border-radius: 0; background: transparent; } +.popout-window-collapsed [data-testid='chat-message-input'] { + /* Override the editor's inline desktop auto-resize limit inside the fixed collapsed surface. */ + max-height: 64px !important; +} + .popout-window-collapsed [data-testid='composer-toolbar'] { margin-top: 8px; transform: translateY(-10px);