feat(ui): show attached images in the Details pane #81
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/80-attached-images"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Images attached to an issue or PR with the forge's attach control now draw in the Details pane below the body, with the same sizing, fallback link and "Show images" rules as body images. An attachment the body already embeds appears once. Non-image attachments are not shown.
Refs #80
Verification
make check: lint 0 issues,go test -race ./...all ok, govulncheck clean, build ok. The last step (install-test) needs ShellCheck, which isn't on this machine; CI runs it.Dedupe test goes red when the dedupe is removed. Drawing in a real terminal was not observed here: layout reasoned from the code, not observed.
Review
/attachments/<uuid>, so false matches are not realistic); URL escaping (forge UUID URLs); comment attachments and contract suite (out of scope, comments aren't shown in Details).Attachmentdoc comment.Docs
docs/design.mdrecords the PM's decision to show attached images. No architecture or ADR change: it reuses the ADR 0016 pipeline.