Skip to content

v0.0.8: convert the extension to a read-only PDF viewer - #11

Merged
suzdalenko-dev merged 1 commit into
mainfrom
feature/v0.0.8-viewer-only
Sep 9, 2026
Merged

suzdalenko-dev merged 1 commit into
mainfrom
feature/v0.0.8-viewer-only

Conversation

@suzdalenko-dev

Copy link
Copy Markdown
Owner

Summary

  • convert the VS Code custom editor provider to the read-only provider contract
  • remove every PDF change, save, save-as, export, backup, undo, and redo path
  • replace the editor webview with navigation, thumbnails, zoom, search, and password support only
  • reduce the MuPDF facade to non-mutating load, authentication, render, bounds, thumbnail, and search operations
  • remove Fabric.js and the obsolete save-mode setting
  • bump the extension and documentation to 0.0.8

Read-only guarantees

  • the extension host has no workspace.fs.writeFile path
  • the webview protocol allow-lists only ready and show-message
  • unknown/editing messages are rejected
  • MuPDF journaling and serialization are not enabled or exposed
  • the VSIX contains no Fabric asset or editing canvas

Verification

  • npm run check — lint, typecheck, and 12/12 tests passed
  • npm run package — generated pdf-viewer-editor-0.0.8.vsix
  • packaged images/icon.png verified
  • packaged contents checked for the absence of Fabric/editing assets

This PR is intentionally left unmerged for review.

@suzdalenko-dev
suzdalenko-dev merged commit 0fcfda4 into main Sep 9, 2026
2 checks passed
@suzdalenko-dev
suzdalenko-dev deleted the feature/v0.0.8-viewer-only branch September 9, 2026 07:22
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