Skip to content

Add file preview (+content-type detection on upload)#17

Open
d3vyce wants to merge 1 commit into
coollabsio:mainfrom
d3vyce:feat/add_file_preview
Open

Add file preview (+content-type detection on upload)#17
d3vyce wants to merge 1 commit into
coollabsio:mainfrom
d3vyce:feat/add_file_preview

Conversation

@d3vyce

@d3vyce d3vyce commented May 31, 2026

Copy link
Copy Markdown
Contributor

Adds in-browser file preview to the web console. Users can now preview files directly from the object browser without downloading, via an eye icon that appears on previewable files.

Preview is driven entirely by Content-Type. The frontend guesses the type client-side at upload time (using mrmime + a small override layer for source-code and extensionless files like Dockerfile).

Preview support:

  • Images: rendered via <img>
  • PDF: rendered via <iframe>
  • Text & code: rendered in <pre>
image image image

This feature has been partially implemented by Claude Opus 4.8. All modification done by the AI have been reviewed by me.

@d3vyce d3vyce force-pushed the feat/add_file_preview branch 2 times, most recently from ec8e97e to 656ba2b Compare May 31, 2026 14:50
@d3vyce d3vyce force-pushed the feat/add_file_preview branch from 656ba2b to e6a21a7 Compare May 31, 2026 15:06
@d3vyce d3vyce marked this pull request as ready for review May 31, 2026 15:57
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