画布模板设计界面:拖拽体验、隐藏字段名、便利贴条数、右栏卡死、左侧 title、对齐与字号、网格密度
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 969
Description
人类在对话里直接交办的一组画布模板编辑器问题(2026-09-10),走 `.harness/instructions/ad-hoc-fix-pr-sop.md` 的 ad-hoc 路径,不进 `feature_list.json`。
## 报告的问题(人类原话)
1. 「拖动的体验有点奇怪,我一定要鼠标 hover 到某个格子放手,Move 的 field 的 topleft 就是在那个格子……应该是,我鼠标拖拽的过程就是移动这个 field 的过程,以 field 的 panel 作为一个整体来移动」
2. 「如果将字段隐藏了,那么字段的 header 也不要出来」
3. 「可以在 field 修改默认的长度,现在默认 text 的长度是 6,改为默认是 2」
4. 「模板配置了像是 4 个便利贴但是只显示了 2 个」
5. 「当我将字段从字段类型从文本改为便利贴之后,field 的范围扩大,然后我什么也改不了在右边的 panel 上」
6. 「还有左边的 title 显示看起来很不好看」
7. 「对于 text 的字段,可以指定,居中,靠左,靠右,靠上,靠下也就是左右上下要可以居中靠两边」「还可以指定 font 的大小」
8. 「现在的这个格子感觉不够用,你有什么建议吗?」「现在是 8*12」
## 处置
第 1–7 项已实现并验证;第 8 项按人类在选项中选定的方案(行列都可选、老模板 col/row 一个字节不改)先落后端与契约,前端待续。
修复与根因见 PR。
Contributor guide
No contributing guide indexed for this repository
Research direction
Read .harness/instructions/ad-hoc-fix-pr-sop.md first, then trace the canvas template row and column contract described in the issue. Complete the remaining backend and contract work so rows and columns are selectable while existing templates keep their col/row byte unchanged; the frontend work is still pending.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100