Skip to content

Show compact image previews and align task actions (#22) - #23

Merged
headertag merged 1 commit into
mainfrom
fix/attachment-previews
Oct 14, 2026
Merged

headertag merged 1 commit into
mainfrom
fix/attachment-previews

Conversation

@headertag

Copy link
Copy Markdown
Owner

Original JPEG attachments were displayed only as filename links because generic uploads preserve their bytes as application/octet-stream. Task details and comments now show compact 150px raster thumbnails with a larger viewer and original download. Failed previews fall back to download links.

A private preview route checks raster signatures before serving inline; HTML/SVG/PDF remain downloads. Original objects, metadata and backups are unchanged. The browser and MCP get_attachment share previewPath generation. Copy task link now sits in the task action row, without the extra access text.

Validation: full npm test suite, typecheck, MCP metadata budget, deployment tests and production build. Added authenticated preview/owner-isolation/active-content rejection tests and UI coverage for original JPEG previews and fallback.

Closes #22.

Keep original attachment bytes and private downloads; share validated preview links with MCP.

Closes #22
@headertag
headertag merged commit 91b2045 into main Oct 14, 2026
4 checks passed
@headertag
headertag deleted the fix/attachment-previews branch October 14, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show compact image attachment previews and align task actions

1 participant