Skip to content

Apply the preview width preference to layout - #322

Open
PathGao wants to merge 20 commits into
alecdotdev:masterfrom
PathGao:feat/apply-preview-width-preference
Open

Apply the preview width preference to layout#322
PathGao wants to merge 20 commits into
alecdotdev:masterfrom
PathGao:feat/apply-preview-width-preference

Conversation

@PathGao

@PathGao PathGao commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Part of #263.

Consumes the persisted preview-width preference in the preview layout. Full mode remains an explicit uncapped state; the ToC overhang calculation now uses the same derived content width instead of a separate 780 px constant.

Settings controls, keyboard adjustments, and print-specific validation remain in the next focused PR.

This is stacked after #321, #320, and their predecessors. Merge the chain first.

Validation

  • npm run check (0 errors, 0 warnings)
  • npm test (144 passing)
  • npm run build
  • cargo test (25 passing)

Post-Deploy Monitoring & Validation

No additional operational monitoring required: this is a local layout preference. Owner: maintainer; verify a narrow split pane, a wide preview, Full mode, and a pinned ToC after merge.

@PathGao

PathGao commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

@alecdotdev This is the second focused #263 PR. It is stacked after #321, #320, and their predecessors; please review in that order. It consumes the validated setting without changing the settings UI yet.

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