Skip to content

feat(web): restore image and PDF preview zoom [L05] - #126

Merged
Mjones13 merged 1 commit into
work/jones-rebuild/stagingfrom
work/jones-rebuild/A4-delivery-L05-20261005
Oct 5, 2026
Merged

Mjones13 merged 1 commit into
work/jones-rebuild/stagingfrom
work/jones-rebuild/A4-delivery-L05-20261005

Conversation

@Mjones13

@Mjones13 Mjones13 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Restore image and PDF preview controls from original PRs #52 and #58 on the accepted nightly line. Images retain dialog behavior and receive panel-only controls; PDFs load a local PDF.js viewer lazily with 60–800% zoom, search and retry. HTML retains its opaque-origin sandbox.

Pins pdfjs-dist to 6.3.289. Primary interactive preview acceptance remains with the integration coordinator.

Validation: all 22 focused preview tests, targeted lint and web typecheck passed. The production web build passed; the lazy viewer chunk contains all 186 expected CMap/font/WASM asset mappings, and emitted worker/WASM bytes match the pinned package. Hosted full CI is pending. Two exact-optional-property type mismatches were corrected during qualification.

Implemented by GPT-6 Astra through the Codex harness.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@Mjones13
Mjones13 merged commit d5959b9 into work/jones-rebuild/staging Oct 5, 2026
18 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