Skip to content

Apply the preview width preference to layout - #322

Closed
PathGao wants to merge 1 commit into
sftwrdotdev:feat/preview-width-preferencefrom
PathGao:feat/apply-preview-width-preference
Closed

Apply the preview width preference to layout#322
PathGao wants to merge 1 commit into
sftwrdotdev:feat/preview-width-preferencefrom
PathGao:feat/apply-preview-width-preference

Conversation

@PathGao

@PathGao PathGao commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

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
Collaborator 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.

@PathGao
PathGao force-pushed the feat/apply-preview-width-preference branch from 1bf30f1 to 586666e Compare August 2, 2026 05:43
@PathGao
PathGao changed the base branch from master to feat/preview-width-preference August 2, 2026 05:44
@PathGao

PathGao commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by native Stack PR #347 (Stack #353). Closing this fork-head PR so #347 is the active review path.

@PathGao PathGao closed this Aug 2, 2026
@PathGao
PathGao deleted the feat/apply-preview-width-preference branch August 2, 2026 08:34
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