feat(web): resolve pending thumbnails via targeted thumbnails_ready SSE event #949
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/thumbnail-sse-web"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
thumbnails_ready(backend:feat/thumbnail-sse-ready-events).thumbnails_ready {"mediaItemIds":[...]}defensively (malformed payloads ignored) into a newthumbnailReadyIdsstore.thumbnailRefresh) also triggers on the event (pending-count gate + 500ms debounce preserved).Verification
npm test -- tests/thumbnail-ready-sse.spec.ts tests/thumbnail-retry-budget.spec.tsgreen (4/4; new spec proves targeted immediate swap with frozen clock: malformed payloads inert, only addressed ID probes, second batch resolves the other spinner)npm run build+npm run checkgreen469330778f150c948d5f