feat(web): 新建任务上传附件 UI(#369)#386
Merged
Merged
Conversation
#271 关闭承诺但没做的「新建任务表单上传图片/文件」——后端已在 #376 落地,本 PR 补前端 UI: - TaskLedgerPanel 新建表单加「📎 添加附件」:走现成 uploadAttachment 上传到 R2 拿引用,待发附件成 chip(可移除),随 createTask 带上 attachments - 任务卡渲染已带附件(复用 AttachmentList:图片缩略图、其它文件下载) - onCreateTask 签名加可选 attachments;Channel 传 onUploadAttachment(canWrite 才给) - i18n en+zh 验证:web 655 全过(TaskLedgerPanel 测试断言更新为带 attachments)、tsc/build 干净。 Closes #369 Claude-Session: https://claude.ai/code/session_01PgxkZeqJmDge3dYe9W2tPZ
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#271 唯一真遗留「新建任务表单上传图片/文件」——后端 #376 已合,本 PR 补前端。
改动
验证
web 655 全过、tsc/build 干净。
Closes #369
https://claude.ai/code/session_01PgxkZeqJmDge3dYe9W2tPZ