Skip to content

fix(app): bound image preview demand and import preparation - #177

Merged
nmrtist merged 1 commit into
mainfrom
fix/image-preview-pipeline
Nov 14, 2026
Merged

nmrtist merged 1 commit into
mainfrom
fix/image-preview-pipeline

Conversation

@nmrtist

@nmrtist nmrtist commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Summary

Fix image previews that remain stuck when their decoded proxies exceed the cache budget. Schedule previews from the current board and visible sidebar rows, adapt their resolution to the budget, and discard obsolete work before it can evict useful previews.

Bound image preparation with a small queue and release staged decoded previews. Preserve successfully prepared images as one undoable operation on cancellation or worker failure, isolate jobs across project changes, and update the English and Chinese image guides.

Validation

  • cargo pr-check — passed on Windows.
  • npm run build in docs/ — passed.
  • Regression tests cover 12 large image previews converging without repeated decoding, zoom and thumbnail demand, panel visibility and clipping, obsolete results, multi-page TIFFs, cancellation, worker disconnection, and project switching.

@nmrtist
nmrtist merged commit 1d68b3f into main Nov 14, 2026
11 checks passed
@nmrtist
nmrtist deleted the fix/image-preview-pipeline branch November 14, 2026 07:15
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