#297 tier 1: preview failure card with retry + docx scale-to-fit #420

Merged
Cordy merged 7 commits from preview-297 into main 2026-09-04 02:10:42 +00:00
Owner

Splits the shared pvNoPreview copy: render/fetch failures in the docx/sheet/pptx previews now get a distinct "The preview could not be loaded" card with a Try again button (re-runs renderPvBody in place); "No preview for this file type" remains only on the genuinely-unpreviewable path. The docx render scales to fit the panel width via a zoom on .docx-wrapper, re-fitting on panel resize (ResizeObserver). New i18n keys pvFailTitle/pvFailBody/pvRetry ×4 locales. Part of #297 (do not auto-close).

Splits the shared `pvNoPreview` copy: render/fetch failures in the docx/sheet/pptx previews now get a distinct "The preview could not be loaded" card with a Try again button (re-runs `renderPvBody` in place); "No preview for this file type" remains only on the genuinely-unpreviewable path. The docx render scales to fit the panel width via a zoom on `.docx-wrapper`, re-fitting on panel resize (ResizeObserver). New i18n keys pvFailTitle/pvFailBody/pvRetry ×4 locales. Part of #297 (do not auto-close).
Cordy merged commit 1a5755766e into main 2026-09-04 02:10:42 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#420
No description provided.