Repository navigation
Add private document reading page and same-source PDF export - #408
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.