Files
warpbox-dev/backend/libs
Daniel Legt 81f4ce5e36
Some checks failed
Build and Publish Docker Image / deploy (push) Failing after 45s
fix(handlers): support thumbnail rendering for files needing thumbnails
Update `HasThumbnail` in `fileViewWithReactions` to evaluate to true if the file already has a thumbnail or if it is a file type that requires one (`jobs.NeedsThumbnail`). This ensures the download page renders the thumbnail element for files that are pending thumbnail generation or support dynamic thumbnails.

Additionally, update tests in `upload_stage3_test.go` to verify the thumbnail image is rendered and relax the OG image URL matching.
2026-06-03 15:22:58 +03:00
..
2026-06-02 22:28:35 +03:00