You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(clients): store project icons as served instead of canvas thumbnails
SVG favicons without width/height attributes report a 300x150 (or, on older
Firefox, 0x0) natural size, so the canvas thumbnail letterboxed the icon at
half size or collapsed it to one pixel and then persisted that image. Fetch
the icon bytes and inline them when they fit the cache limit; only bitmaps
larger than that go through a platform downscaler, and large SVGs stay remote.
Persist one record per icon rather than a single JSON blob so tabs cannot
overwrite each other's entries. On mobile the records live in client_cache so
Settings → Client storage counts and clears them, and clearing also drops the
in-memory images. Remote mobile icons key expo-image's disk cache by revision
again so signed-token rotation reuses cached bytes, and a changed icon starts
from the loading state.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments