fix(web): album suggestion preview strips collapsed to zero height #1241

Merged
chris merged 1 commit from fix/album-suggestion-thumbnails into main 2026-10-15 20:01:12 +02:00
Owner

Summary

  • The Vorschlagene Alben carousel's preview tiles rendered as dark empty boxes: the ProgressiveImage wrapper div has no intrinsic height, and this call site (unlike every other: MediaGrid, OnThisDayCarousel, MediaDetailViewer) did not pass class="h-full w-full", so the absolutely positioned thumbnail/preview layers collapsed to 0px height.

Evidence

  • DB + API verified healthy: all 48 pending suggestions serve items with ready previews; 100/100 thumbnail fetches return HTTP 200 valid JPEGs.
  • Live DOM inspection: wrapper div offsetHeight = 0, imgs naturalWidth > 0 but opacity-0 behind a zero-height container.
  • Injecting h-full/w-full into the live page restored all thumbnails (screenshot verified).

Fix

  • One line: pass class="h-full w-full" to ProgressiveImage in apps/web/src/routes/albums/+page.svelte.

Validation

  • svelte-check: clean. Production build: green.
## Summary - The Vorschlagene Alben carousel's preview tiles rendered as dark empty boxes: the ProgressiveImage wrapper div has no intrinsic height, and this call site (unlike every other: MediaGrid, OnThisDayCarousel, MediaDetailViewer) did not pass class="h-full w-full", so the absolutely positioned thumbnail/preview layers collapsed to 0px height. ## Evidence - DB + API verified healthy: all 48 pending suggestions serve items with ready previews; 100/100 thumbnail fetches return HTTP 200 valid JPEGs. - Live DOM inspection: wrapper div offsetHeight = 0, imgs naturalWidth > 0 but opacity-0 behind a zero-height container. - Injecting h-full/w-full into the live page restored all thumbnails (screenshot verified). ## Fix - One line: pass class="h-full w-full" to ProgressiveImage in apps/web/src/routes/albums/+page.svelte. ## Validation - svelte-check: clean. Production build: green.
fix(web): album suggestion preview strips collapsed to zero height
All checks were successful
Wiki Sync / Sync wiki from docs (push) Has been skipped
Build and Deploy / Detect changed services and test scopes (push) Successful in 2s
Build and Deploy / Smoke API and media worker (push) Has been skipped
Build and Deploy / Build plants worker image (push) Has been skipped
Build and Deploy / Build converter worker image (push) Has been skipped
Build and Deploy / Smoke web (push) Has been skipped
Build and Deploy / Smoke ML worker (push) Has been skipped
Build and Deploy / Smoke people worker (push) Has been skipped
Build and Deploy / Build postgres image (push) Has been skipped
Build and Deploy / Build Android CI image (push) Has been skipped
Build and Deploy / Android unit tests and debug APK (push) Has been skipped
Build and Deploy / Build people worker image (push) Has been skipped
Build and Deploy / Deploy postgres (push) Has been skipped
Build and Deploy / Build API image (push) Has been skipped
Build and Deploy / Build media worker image (push) Has been skipped
Build and Deploy / Build ML worker image (push) Has been skipped
Build and Deploy / Deploy API (push) Has been skipped
Build and Deploy / Build web image (push) Has been skipped
Build and Deploy / Deploy web (push) Has been skipped
Build and Deploy / Deploy media worker (push) Has been skipped
Build and Deploy / Deploy ML worker (push) Has been skipped
Build and Deploy / Deploy plants worker (push) Has been skipped
Build and Deploy / Deploy people worker (push) Has been skipped
Build and Deploy / Deploy converter worker (push) Has been skipped
Build and Deploy / Clean Docker build artifacts (push) Has been skipped
Build and Deploy / Run scoped PR tests (push) Successful in 8m46s
12d1ecc1d3
ProgressiveImage's wrapper div has no intrinsic height; the suggestion
carousel's <a> tiles size it via style height:144px, but without
class="h-full w-full" the wrapper stayed 0px tall and the absolutely
positioned thumbnail/preview layers were invisible (dark tiles on the
Vorschlagene Alben carousel). Every other call site already passes
class="h-full w-full" — this one lost it.
chris merged commit 6386bb663d into main 2026-10-15 20:01:12 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chris/memories!1241
No description provided.