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>
Open
## 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>
## summary - Use descriptive bilingual choices on the welcome screen and short Chat and Canvas labels in the workspace toolbar. - Align the user guides and verify the visible and accessible labels in the first-run and workspace browser tests. Refs: ThinkFlowLab#386
## summary - Locate provider categories within the named navigation so the Chat workspace switch cannot match a settings action. - Use the same scope for the bilingual Kimi preset check.
## summary - Add session navigation to chat creation and let users float, move, and dock the same conversation while working on the canvas. - Group node types in one picker and keep created or focused content visible beside the floating conversation. - Update the workspace RFC, screenshots, bilingual guides, and browser coverage for the revised creation and navigation flows.
## summary - Bring in suggested replies and the pending timeline output edge fix. - Keep the chat sidebar instructions alongside the new suggested reply instructions in both user guides.
## summary - Keep both fixture nodes within reach after focusing generated video. - Hover the source and drag from its right port so the canvas toolbar cannot intercept the reconnect gesture at a guessed screen position. - Retain immediate reconnect and persisted reference identity checks.
## summary - Drag the separator right to widen chat and left to narrow it before checking that the suggested reply buttons wrap onto more rows.
## summary - Link each saved reply to its published files and completed jobs, including candidates, late results and deleted direct publications. - Preview the original asset, pin it to a draft, or locate its display item on the canvas while preserving the adopted generation result. - Document both languages and cover submission, recovery, downloads and narrow-screen canvas navigation with regression tests.
## summary - Keep the active input, selection, and timeline editor available across layout changes, including when a dialog has focus. - Import and reference project assets from chat and open the shared media or timeline editor by identity. Keep timeline receipts with their originating reply and reuse committed objects on retry. - Verify real MP4 playback, publication retries, and project reopening. Clarify the default dock, movable chat, and local editing in the RFC and user guides. ## validation - 972 frontend tests passed. Relevant backend suites passed 126 tests with one POSIX-only test skipped on Windows. - TypeScript, Vite production build, i18n, and browser manifest passed. - Verified both languages, mode switching, rendering, and local editing with an empty model catalog in Chromium. - All eight production switch timing cases met the RFC budgets. Refs: ThinkFlowLab#373, ThinkFlowLab#386
## summary Set the PNG fixture page locale explicitly, matching the measured workspace pages and the browser locale check. ## validation The browser locale and manifest checks passed. The production mode switch benchmark passed all eight cases with 80 recorded samples.
## summary Keep the workspace result and timeline hooks alongside the media model preference handler introduced in ThinkFlowLab#464. ## validation Compared with the previous PR integration tree, all six changed files have exactly the additions and deletions from ThinkFlowLab#464. The preference, workspace mode, and result tests passed (22 tests).
## summary Open chat in the navigation journey only when the workspace is ready and the toggle is collapsed. A visible toggle can already represent an open panel when the initial project finishes loading. ## validation The production navigation journey passed, including the configured video model ID in the next project turn after reload.
This branch has not been deployed
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 实现两种创作方式,并在合入
main(8a227d61)后接入 #428 的首次使用引导。欢迎页使用「对话创作 / 画布创作」(Create with chat / Create on canvas),顶栏简写为「对话 / 画布」(Chat / Canvas)。首次打开时,欢迎页默认选中「画布创作」。选好后可点「进入工作区」直接打开项目,也可点「开始设置」继续配置助手和选择创作任务。两个入口都会保存本次选择。完成过引导的用户直接进入项目,随时可以从顶栏切换。窄屏选择「画布创作」后会显示画布。浏览器拒绝保存偏好时,页面会提示,当前选择仍然生效。
聊天默认展开后,异步加载曾抢走项目菜单和名称输入的焦点,待引用预览也会拦截菜单 Escape。现已修复这两处交互,并加入受控延迟和键盘优先级回归;画布测试按实际可见区域定位,保留原有业务断言。
PR 继续保持 WIP。首次创作方式选择已完成。对话创作现在会在对应回复下展示已写入项目的素材和生成结果,支持预览原文件、继续引用固定版本和「在画布中查看」。查看候选或历史版本会定位原素材,保留生成节点当前采用的结果。从卡片直接打开编辑器和导出仍待实现。聊天中的项目级素材选择仍待补齐。已复现两处切换限制:鼠标点击顶栏后需要重新聚焦聊天输入框,打开的时间线编辑器会遮住模式按钮。
Linked issue
Labels
area:canvas、area:agent、area:docs。type:docs需改为type:feat;当前连接无标签写入权限,需维护者调整。Test plan
对话结果卡片(
bf16c178)当前界面更新(
3475c117)workspace_modes(中英文)、example_canvas_picker和first_run。合入
main与改名后的本地验证05d32e1b上的 956 个前端单测全部通过。生产构建、check:i18n、check:browser-locale和check:browser-manifest通过。first_run、bilingual_defaults和workspace_modes,三组全部通过。覆盖了中英文欢迎页全称、顶栏简称和无障碍名称,也验证了首次设置、直接进入、偏好恢复和写入失败后的提示。23c07d77上另有example_canvas_picker、assistant_auxiliary_panels和default_entry三组 Chrome 回归通过。桌面宿主单测通过 7 项,另 1 项需要打包运行时,本地跳过。合入
main前的验证记录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
以下 1440 × 900 截图来自同一示例项目的浏览器界面。剧照取自仓库内的短片,聊天内容由测试替身提供。
对话创作
画布创作
浮动聊天
工作区 RFC 与验收条件 · 先前的英文与窄屏验证记录。
Provider verification
Bilingual UI
zh-CN和en-US,中英用户指南已更新,浏览器中实际切换两种语言检查布局。