Skip to content

fix: resolve blurhash image loading race#466

Merged
OXeu merged 3 commits into
mainfrom
fix/blurhash-image-load-state
Mar 8, 2026
Merged

fix: resolve blurhash image loading race#466
OXeu merged 3 commits into
mainfrom
fix/blurhash-image-load-state

Conversation

@OXeu
Copy link
Copy Markdown
Collaborator

@OXeu OXeu commented Mar 8, 2026

Summary

  • fix cached image load handling so blurhash placeholders clear reliably
  • share the image load state logic between markdown images and feed cards
  • restore a max height cap for feed card images and add a regression test

Testing

  • bun run test src/utils/tests/use-image-load-state.test.tsx
  • bun run check

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 8, 2026

@OXeu OXeu merged commit 54bc2c0 into main Mar 8, 2026
7 checks passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 8, 2026

🧹 Preview deployment has been cleaned up.

The temporary preview environment for this PR has been deleted.

Bad3r pushed a commit to Bad3r/Rin that referenced this pull request Mar 8, 2026
* fix: resolve blurhash image loading race

* test: stabilize image load state assertions

* test: support bun coverage for client hook tests

(cherry picked from commit 54bc2c0)
Bad3r pushed a commit to Bad3r/Rin that referenced this pull request Mar 9, 2026
* fix: resolve blurhash image loading race

* test: stabilize image load state assertions

* test: support bun coverage for client hook tests

(cherry picked from commit 54bc2c0)
Bad3r pushed a commit to Bad3r/Rin that referenced this pull request Mar 9, 2026
* fix: resolve blurhash image loading race

* test: stabilize image load state assertions

* test: support bun coverage for client hook tests

(cherry picked from commit 54bc2c0)
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