Repository navigation
Conversation
## summary - Add a Chinese RFC for an Agent-focused view and a 1:2 chat/canvas layout, with the two agreed UI sketches. - Describe switching behavior, shared component state, output limits, implementation steps, and acceptance scenarios. - Link the proposal from the documentation index. Refs: ThinkFlowLab#373 Signed-off-by: congw729 <115451386+congw729@users.noreply.github.com>
## summary Add an isolated browser preference for agent and canvas modes, with canvas as the initial entry point and explicit storage failure results. Cover restoration, invalid values, storage denial and unrelated preference preservation. Refs: ThinkFlowLab#386, ThinkFlowLab#373 Signed-off-by: congw729 <115451386+congw729@users.noreply.github.com>
Share the project, conversation and editor hosts across both modes. Default to a 1:2 chat/canvas split, remember layout preferences, and scope canvas gestures to the visible region. Update both locales and user guides. Refs: ThinkFlowLab#386, ThinkFlowLab#373 Signed-off-by: congw729 <115451386+congw729@users.noreply.github.com>
Verify shared drafts, references, viewport and running turn/job identity across modes. Cover bilingual and narrow layouts, keep a single narrow-screen chat entry, and adapt existing browser checks to the left chat region. Refs: ThinkFlowLab#386, ThinkFlowLab#373 Signed-off-by: congw729 <115451386+congw729@users.noreply.github.com>
Locate crop deselection and Markdown pan-to-fit gestures within the actual canvas region after chat moves to the left. Preserve the crop, resize, editor and persistence assertions; both browser scripts pass after reproducing the old out-of-bounds clicks. Refs: ThinkFlowLab#386, ThinkFlowLab#373 Signed-off-by: congw729 <115451386+congw729@users.noreply.github.com>
Keep project menus and new-project renaming focused when the default-open assistant finishes loading. Let focused menus handle Escape before staged references, and use visible canvas positions in interaction regressions. Add delayed-read coverage and retain the full timeline export and existing interaction assertions. Refs: ThinkFlowLab#386, ThinkFlowLab#373 Signed-off-by: congw729 <115451386+congw729@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
按 #386 先把模式切换和布局做起来。顶栏可以切换纯净模式与画布模式;没有保存偏好时进入画布模式,之后记住当前浏览器的选择。
聊天默认展开后,异步加载曾抢走项目菜单和名称输入的焦点,待引用预览也会拦截菜单 Escape。现已修复这两处交互,并加入受控延迟和键盘优先级回归;画布测试按实际可见区域定位,保留原有业务断言。
PR 继续保持 WIP。首次模式选择页、纯净模式的结果卡片和完整预览/编辑/导出留到后续;当前需要直接编辑节点或时间线时,切到画布模式。
Linked issue
Labels
area:canvas、area:agent、area:docs。type:docs需改为type:feat;当前连接无标签写入权限,需维护者调整。Test plan
npm test836/836;npm run build、npm run check:i18n、npm run check:browser-locale、npm run check:browser-manifest通过。最终整个 PR 差异的pre-commit run --from-ref origin/main --to-ref HEAD通过。workspace_modes、assistant_auxiliary_panels、assistant_sessions、assistant_run_navigation、double_shift_chat、canvas_wheel、created_node_focus、provider_settings、default_entry、jiuwenswarm_picker、kling_video、canvas_crop、canvas_text_markdown、verify_creation_browser、context_menu_dismissal、canvas_switch、timeline_workflow --full-creation。kling_video中英文完整重跑通过,覆盖文生视频、首帧、首尾帧、图片参考、实际 fixture 视频与结果采用;原断言保留。timeline_workflow --full-creation完整通过,包含真实 MP4 尺寸、2 秒时长、画面顺序、混音及服务重启后再导出。双模式完整用例也在3cfed8ff上再次通过。3cfed8ff的 Release checks #430 和 CodeQL #45 全部通过。isolated 浏览器回归 22/22,之前的六项失败均已通过。multi_selection_references在 macOS 未通过,原因待定位,未计入上述结果,详见验证记录。上传途中切换、未保存的模态编辑器草稿和 MP4 渲染中切换尚未验证。Evidence that it works
左聊右画:
纯净模式:
英文与窄屏截图、测试命令和验证边界。
Provider verification
Bilingual UI
zh-CN和en-US,中英用户指南已更新,浏览器中实际切换两种语言检查布局。