Skip to content

feat(settings): configure preview content width - #323

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

feat(settings): configure preview content width#323
PathGao wants to merge 1 commit into
sftwrdotdev:feat/apply-preview-width-preferencefrom
PathGao:feat/configure-preview-width-preference

Conversation

@PathGao

@PathGao PathGao commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a bounded Preview max width control (640–1600 px, default 880 px) with 40 px steppers.
  • Clamps manual input on commit and makes the Preview reset action restore the width with its font settings.
  • Adds English and Simplified Chinese labels; other languages retain the existing English fallback.

Validation

  • npm run check
  • npm test (145 passing)
  • npm run build

Stack

Part of #263. This PR follows #320, #321, and #322; the next PR adds the scoped keyboard shortcuts and full-width preference migration.

Post-deploy monitoring

  • Confirm out-of-range and empty numeric input return to a valid value.
  • Confirm a non-English locale can still open and use the control.

@PathGao

PathGao commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator Author

@alecdotdev #323 is the third PR in the #263 stack. It exposes the persisted preview-width preference in Settings with bounds, default guidance, and reset behavior. It follows #320#321#322.

@PathGao
PathGao force-pushed the feat/configure-preview-width-preference branch from 69adfd9 to 8795621 Compare August 2, 2026 05:43
@PathGao
PathGao changed the base branch from master to feat/apply-preview-width-preference August 2, 2026 05:45
@PathGao

PathGao commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator Author

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

@PathGao PathGao closed this Aug 2, 2026
@PathGao
PathGao deleted the feat/configure-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