Skip to content

chore(canvas): Phase D — scroll-only engine and single layout write source#347

Merged
sev7n4 merged 1 commit into
mainfrom
enhancement/canvas-subtraction-d
Jul 16, 2026
Merged

chore(canvas): Phase D — scroll-only engine and single layout write source#347
sev7n4 merged 1 commit into
mainfrom
enhancement/canvas-subtraction-d

Conversation

@sev7n4

@sev7n4 sev7n4 commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • 删除 FreeCanvas / 精修模式(~3.7k 行),Studio 仅挂载 ScrollCanvas
  • resolveCanvasEngine() 恒返回 "scroll"studio-workspace 移除 Infinite 相关状态,Dock 始终显示
  • API PUT /sessions/:id/canvas-flow 返回 410;Web 仅写 canvas_layout
  • 新增 migrate-canvas-flow-to-layout.tsmigrate-workflow-sessions-to-studio.ts(支持 --dry-run
  • 重写 STUDIO_CANVAS_MODES.md;Phase D 计划任务标 ✅

Test plan

  • pnpm typecheck 全绿
  • test-studio-canvas-view.ts 2/2
  • test-dead-code-removed.ts 9/9
  • CI: lint-typecheck / docker-build / Integration / E2E

Note

  • infinite-canvas/ 目录保留未挂载,Phase E 再决定去留
  • 圈选/扩图(brush/expand)原依赖 FreeCanvas,需在 Phase E 或后续评估 Scroll 侧重建

Made with Cursor

…ource

Remove FreeCanvas/refine mode, mount only ScrollCanvas in Studio, deprecate
PUT canvas-flow with 410, and add migration scripts for legacy flow data.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 16, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@sev7n4
sev7n4 merged commit b176456 into main Jul 16, 2026
7 checks passed
@sev7n4
sev7n4 deleted the enhancement/canvas-subtraction-d branch July 16, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant