Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/en/wework/workbench.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions docs/zh/wework/workbench.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ Wework 桌面版使用顶部标签页承载任务、项目空间、智能体和

项目选择、消息输入、快捷短语和模型选择位于同一个输入面板中。输入框获得焦点时会显示蓝色边框,项目、附件、快捷短语和模型设置不会因新任务页的简化布局而减少。

## 使用弹窗快速输入

Wework 弹窗在没有运行任务时使用固定高度的紧凑输入面板。输入内容超过三行后,文本会在输入框内部滚动,底部的附件、模型和发送控件保持在弹窗可视范围内。

## 文件与终端

右侧工作区用于浏览项目文件、预览内容和审核变更。多目录项目会在文件标签中显示文件夹选择器;切换文件夹只改变文件树和预览根目录,不会改变任务、终端或对话使用的执行目录。
Expand Down
11 changes: 11 additions & 0 deletions wework/src/pages/PopoutWorkbenchPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@
}

.popout-window-collapsed [data-testid='desktop-empty-composer-dock'] {
position: absolute;
right: 0;
bottom: 0;
left: 0;
width: 100%;
}

Expand All @@ -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);
Expand Down
Loading