Repository navigation
Screen View: the text in one flow as wide as the window (W1 step 16) - #178
Merged
Merged
Conversation
View > Screen View (Ctrl+Shift+R) lays the document out as one page as wide as the window and as tall as its text: no page edges, margins, headers or footers, no page, column or section breaks, one column, and notes at the end. Floating objects show in the flow after their paragraph, and those fixed on a page after the last paragraph that starts there; the objects of the masters are hidden, and a notice says so. The flow follows the width of the window, and the zoom sets the size of its text, as View > Text Size (Auto, Bigger, Smaller) does. Rulers, thumbnails and the layout view are off while it shows, and the Preferences can open new documents in it (PXV-01, W043, B-038). The UI test also checks that the table of contents of the sidebar follows a heading as it is typed (W041). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NiPLVSJ4urMWCnygLAWw8C
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.
Requested by Brahm · project thread
Step 16 of docs/phases/W1.md: Screen View (PXV-01, W043, W012, B-038), and a check that the table of contents of the sidebar is live (W041).
What changes
paginate_screen/screen_document: the document laid out as one page as wide as asked and as tall as its text.Tests
crates/desk-layout/tests/screen.rs.screen_viewUI test, covering W041 and PXV-01.-D warningsand the workspace tests pass.Not checked on the Mac yet (goes to step 19): the exact wording and timing of Pages' notice, what Text Size Auto means there, whether Pages lets objects be selected in Screen View, and the page count it shows.
Generated by Claude Code