Skip to content

feat(projects): preview image attachments - #143

Merged
HazAT merged 1 commit into
masterfrom
feat/image-attachment-previews
Aug 16, 2026
Merged

feat(projects): preview image attachments#143
HazAT merged 1 commit into
masterfrom
feat/image-attachment-previews

Conversation

@HazAT

@HazAT HazAT commented Aug 16, 2026

Copy link
Copy Markdown
Member

Project detail attachment lists now show responsive previews for any attachment with an image/* MIME type, and selecting a preview opens the original full-size asset in a new tab. Non-image attachments keep their existing download behavior.

The private media endpoint only honors inline preview requests for image MIME types and serves them under a sandboxed content security policy. This avoids a separate thumbnail pipeline while keeping the download contract unchanged for every other attachment type; the main review focus is the inline-response boundary and the responsive attachment interaction.

Show image/* attachments directly in project detail media lists and open the original asset in a new tab when selected. Preserve download behavior for other attachment types.\n\nServe explicit image preview requests inline with a restrictive content security policy so the existing private media endpoint can provide previews without introducing resized derivatives.
@HazAT
HazAT marked this pull request as ready for review August 16, 2026 15:20
@HazAT
HazAT merged commit e107d7a into master Aug 16, 2026
13 checks passed
@HazAT
HazAT deleted the feat/image-attachment-previews branch August 16, 2026 15:29
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.

1 participant