Skip to content

Add private document reading page and same-source PDF export - #408

Merged
alexeygrigorev merged 2 commits into
mainfrom
2026-11-11-sow-contract-webview-t2088
Nov 11, 2026
Merged

alexeygrigorev merged 2 commits into
mainfrom
2026-11-11-sow-contract-webview-t2088

Conversation

@alexeygrigorev

Copy link
Copy Markdown
Member

Task and card documents currently expose editable text and TXT/DOCX downloads, which makes long drafts difficult to read. Add a private responsive reading page with section typography, print styling, and a PDF download generated from the same saved content. Both document editors link to the reading page; the CLI supports preview URLs and binary PDF exports.

The reading page and PDF retain staff authorization, reject guest/review codes, disable caching and indexing, and pin export links to the displayed version. The PDF includes page headers/numbers and embeds the exact UTF-8 source. Unsupported PDF glyphs fail explicitly with a browser-print alternative instead of losing text. No signing, sending, or external publication is introduced.

Validation: targeted backend document/renderer tests, CLI document/transfer tests, Work Detail surface tests, and TypeScript checks passed. Local desktop/mobile layout and PDF page bounds/source equality verified using a private external source; no private documents or screenshots are included in this PR.

Recovered document feature from #402 onto current main. The browser dependency retry fix is already on main.

@alexeygrigorev
alexeygrigorev merged commit a1db793 into main Nov 11, 2026
4 checks passed
@alexeygrigorev
alexeygrigorev deleted the 2026-11-11-sow-contract-webview-t2088 branch November 11, 2026 18:51
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