[Feature Request] 原文删除后评论仍在原位置保留并可继续回复(含画板,不转全文评论)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- go
- Domain
- backend-api-design
Research direction
The issue describes a product capability spanning Docs, Whiteboard, and OpenAPI, but names no implementation files or tests. Start by reviewing issue #1111 and the comment relation behavior it mentions, then trace how the CLI exposes comment APIs. Done means confirming whether deletion preserves a visible, replyable thread at its original position across the listed content types, and identifying any required product or API changes.
Written by the indexing model from the issue text.
Description
核心需求:原文删除,评论仍在原位置可见、可继续回复
需求澄清:不是把评论转成全文评论,不是迁移到其他位置,也不是只在评论历史里保留。用户希望评论在原文被删除的地方继续保留。
使用 LarkCLI 1.0.98 与飞书文档进行 AI 协作:AI 写文档 → 人在正文/画板中评论 → AI 回复并按评论修改或删除原文。当前用户观察到原内容修改/删除后,评论从界面消失,因而被迫保留过时原文或旧版画板,只为保留讨论。
希望将“内容存在与否”与“评论线程存在与否”解耦,但保留评论在文档中的空间上下文。
期望体验与验收条件
- 删除被评论的文字或 block 后,原内容正常消失,不要求保留旧正文。
- 评论仍在删除发生的位置有可见入口,例如一个轻量评论标记/零宽位置锚点;具体 UI 形态由产品设计决定。这只是可能的实现方式,不是要求保留空白旧内容块。
- 点击原位置标记,仍能打开同一个评论线程,用户和 AI 都可以继续回复。
- 保留 comment_id、作者、时间、全部回复、reaction 及解决状态;不因为原文删除而自动解决或隐藏线程。
- 可在评论卡片里提示“引用内容已删除”,必要时展示原引用快照,但不把旧内容重新放回正文。
- 画板中删除被评论节点后,评论仍保留在原画板位置;整个画板被删除/替换时,也希望在文档中原画板所在位置保留评论入口与原线程。跨层级位置保留的具体方案请 Docs/Whiteboard 团队评估。
- 后续编辑应维护这个位置锚点,让人能在相关上下文处继续讨论,而不是把评论统一搬到全文评论区。
不满足需求的替代方案
- 转为全文评论:失去原位置上下文,明确不是用户期望的方案。
- 自动迁移到其他文字或画板节点:不是本需求的核心,也不应作为默认替代。
- 仅归档到评论历史:不能在原位置继续讨论。
- 仅 API 可读而页面隐藏:无法形成用户与 AI 的双向协作闭环。
- 保留旧原文/旧画板:污染当前文档并可能导致 AI 混淆版本。
- 机器人复制重建评论:不能无损保留原线程身份与历史。
已核查情况
- 本机
schema drive.file.comments.patch仅提供is_solved,没有原位置保留/锚点生命周期管理参数。 drive +add-comment --full-comment是新建全文评论,不满足本需求。drive +list-comments --need-relation --solved-status all可以查询评论关联信息。- #1111 中维护者说明
relation.content_deleted可以标记原文已删除的评论。因此“侧栏消失”不应直接等同于“数据永久删除”,但识别孤立评论不等于原位置保留且可继续交互。 - 飞书官方帮助说明,因所引用内容删除而归档的评论不能重新打开:
https://www.feishu.cn/hc/en-US/articles/141177326495-view-reopen-and-delete-archived-comments-in-docs - CLI 内置定位文档说明,画板内部评论可能仅有
parent_type=WHITEBOARD_BLOCK与parent_token;不能直接假设其生命周期与普通文字评论相同。
请官方确认
- 是否已有配置或 API,支持原文删除后评论仍在原位置可见、可回复?
- 普通文字、整个 block、画板内节点、整个画板删除/替换时,各自评论的实际生命周期是什么?
- 若尚不支持,能否提供保留位置锚点与原线程的删除策略,并向 CLI/OpenAPI 暴露该能力?
- CLI 编辑前能否预检并明确提示哪些评论将失去原位置入口?
本反馈是产品能力咨询与 feature request。未在用户原文档执行破坏性测试,未附加私有文档或截图,也不声称所有场景的评论都被永久删除。
若涉及飞书 Docs/Whiteboard 或 OpenAPI 后端能力,请协助转交对应团队或提供准确的产品反馈入口。谢谢!
- Dominant language
- Go
- Stars
- 18.2k
- Forks
- 1.4k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 18
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from larksuite/cli
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
domain/im
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
bug domain/doc
Difficulty 1/5 Under an hour Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
mail: all-ASCII draft bodies are hard-wrapped every 998 bytes, inserting newlines inside words and tagsPossibly taken @linye157 claimed this 26 days ago. Opendomain/mail
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
auth: a 429 from the Token Endpoint during refresh deletes a still-valid loginPossibly taken @linye157 claimed this 26 days ago. Openbug domain/auth domain/im
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
larksuite/cli#2869 · 5 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
github/github-mcp-server#3960 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
JuliusBrussee/caveman#1594 ·
Maintainers usually reply within 1 day
-
C-bug O-community X-blathers-triaged
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
cockroachdb/cockroach#176264 · 1 comment ·
-
security trivy
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
kubefleet-dev/kubefleet#1068 ·
Maintainers usually reply within 3 days