Skip to content

fix(web): decode inline images before revealing them - #328

Merged
ael-dev3 merged 1 commit into
mainfrom
fix/inline-image-decode
Oct 24, 2026
Merged

ael-dev3 merged 1 commit into
mainfrom
fix/inline-image-decode

Conversation

@ael-dev3

Copy link
Copy Markdown
Owner

Large external JPEGs can make a frame commit wait for image decoding and delay keyboard input after a sort change. The live performance gate measured 800 ms and 704 ms. New inline images now keep their reserved box hidden until decoding completes. Images already visible in the bootstrap handover stay visible; errors still reveal their alt text/image, and the lightbox retains the original source.

Add six decode/error/navigation regressions and bounded interaction diagnostics. The Event Timing actions, settling, uncapped maximum and strict 100 ms limit remain unchanged. No provider, media proxy, dependency, workflow or deployment-trigger changes.

Validation: required local checks (607 tests, formatting, native/Wasm/static-host Clippy, licenses), normal build; 31 focused decode/layout/exact early-paint cases; isolated smoothness70pass/twoexisting skips, zero retries. Original CPU4 profiling reproduced192–312ms; initial-hide prototype40–56ms. The actual Rust build measured40–64ms against live public data under CPU4; one diagnostic run had a proxy teardown error after measurement, retained separately; the corrected drain/wait harness passed at48ms with all API reads200. The earlier failed main check is retained as failed, and will not be rerun to green.

@ael-dev3
ael-dev3 merged commit 548e2ae into main Oct 24, 2026
5 checks passed
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