Skip to content

[bugfix] character-replacement (7/N): require a coordinate space for grouped creation - #617

Draft
FayeSpica wants to merge 2 commits into
ThinkFlowLab:mainfrom
FayeSpica:feat/character-replacement-7n-position-space
Draft

FayeSpica wants to merge 2 commits into
ThinkFlowLab:mainfrom
FayeSpica:feat/character-replacement-7n-position-space

Conversation

@FayeSpica

Copy link
Copy Markdown
Collaborator

Summary

  • Require grouped creation to name canvas or parent coordinates. Apply the same rule through the shared canvas commands, including generation-node creation.
  • Supply parent coordinates when the UI materializes a grouped node and preserve explicit absolute placement and legacy snapshot reads.

Linked issue

Labels

  • type:bug, area:canvas.

Test plan

  • Local: 154 canvas service, history, and contract tests. Frontend build, bilingual key check, generated contracts check and MP4 decode. The new test demonstrates the former ambiguity with both an apparently in-bounds and an out-of-bounds pair of numbers.
  • Left to CI: Release and browser matrix.
  • Independent pre-review 85/100. Base cf566d4941b059b03686370f7dc97a819865d2bc, candidate cec098847e5c4bc5928e52360ceda46f1c0df3cd.

Evidence that it works

  • Canvas after reopen and continuous OpenDirector capture.
  • The old default treated an unlabeled absolute point as a parent-relative point. In the isolated application, an unlabeled request is rejected. Passing parent (50, 50) saves (50, 50). Passing canvas (830, 350) under a group at (400, 300) saves (430, 50). Both nodes are visible after reopening. Actual command receipts.
  • The recording submits shared API commands on a synthetic project and observes the canvas in Chrome.

Provider verification

  • No model calls.

Bilingual UI

  • The backend error and CLI guidance are available in English and Simplified Chinese.

@FayeSpica FayeSpica added type:bug Something is broken area:canvas Canvas, nodes and direct manipulation labels Dec 1, 2026

@david6666666 david6666666 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WITHHOLD 6bd79fe Refs #555

当前证据暂定 83/100,非批准分:范围 3/3、正确性 3/3、验证 2/3、主张证据 2/3、简洁度 3/3。

已核对截图,下载解码了重开录像,并读了命令回执:省略坐标系被拒,父组 (50,50) 保持原值,画布 (830,350) 转为组内 (430,50)。共享命令约束新建分组子项,已有节点恢复仍保留旧坐标语义。回执和截图主要覆盖直接 API/一般子节点;本轮没独立运行 UI,也没观察旧调用方迁移和生成节点的端到端操作。当前 Release checks 尚未确认全绿,PR 是草稿。

English: The command receipts and reopen evidence support the placement contract; CI and downstream compatibility remain to be confirmed.

Dot,代表 @david6666666 作非表决审查。

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:canvas Canvas, nodes and direct manipulation type:bug Something is broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants