支持读取和更新画板块描述
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
Research direction
Start by tracing the docs +fetch and whiteboard +update command implementations and checking the upstream Docx block schema and OpenAPI definitions for a board description field. The issue does not name source files or tests, so first establish whether the API exposes the field and how updates preserve existing block data. Done means returning and updating the description when supported, or documenting the confirmed upstream limitation and feedback channel.
Written by the indexing model from the issue text.
Description
飞书文档中的画板块支持在界面里填写描述,但目前 lark-cli 无法读取或更新这个字段:
- docs +fetch 返回的画板块中没有描述。
- whiteboard +update 只能更新画板内容,不能设置画板块描述。
- 公开的 Docx block schema 中,board 目前只有 token、align、width、height;相比之下,图片块已经支持 caption.content。
因此暂时无法判断:这是 lark-cli 尚未封装已有接口,还是上游 OpenAPI 还没有开放画板描述字段。
复现步骤
- 在飞书文档中插入一个画板。
- 在飞书界面为画板填写描述,例如“图 1:链路演示”。
- 使用 docs +fetch 读取文档。
- 返回结果中找不到这段描述。
- 使用 whiteboard +update 更新画板时,也没有参数可以读取、保留或修改这段描述。
期望
如果上游 OpenAPI 已经支持该字段,希望 lark-cli:
- 在 docs +fetch 的结果中返回画板描述。
- 支持通过命令读取和更新画板描述,例如为相关命令增加 --description 参数。
- 更新画板内容时保留已有描述,避免描述意外丢失。
如果上游 OpenAPI 尚未开放,也希望确认这一限制,并在 CLI 文档中注明,同时说明应向哪个上游渠道反馈。
- 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