Skip to content

feat: add browser remote text size setting - #24

Open
nathanael wants to merge 1 commit into
f:masterfrom
nathanael:feat/browser-remote-text-size
Open

feat: add browser remote text size setting#24
nathanael wants to merge 1 commit into
f:masterfrom
nathanael:feat/browser-remote-text-size

Conversation

@nathanael

Copy link
Copy Markdown

Summary

  • Adds a configurable text size setting (SM/MD/LG/XL) for the browser remote viewer
  • New BrowserFontSizePreset enum with responsive CSS clamp formulas for desktop and mobile
  • Segmented picker in Settings > Remote tab, visible when remote connection is enabled
  • Default is LG, which closely matches the previous hardcoded sizing

Test plan

  • Open Settings > Remote, enable Remote Connection — "Remote Text Size" picker appears with SM/MD/LG/XL
  • Default selection is LG
  • Open browser remote URL, confirm text displays at expected size
  • Change preset, refresh browser — text size changes accordingly
  • Cycle through all four presets to verify scaling from smallest (SM) to largest (XL)
  • Test mobile breakpoint (browser dev tools, width < 768px)
  • Reset to Defaults resets text size back to LG

🤖 Generated with Claude Code

Add SM/MD/LG/XL text size presets for the browser remote view with
responsive CSS clamp values for both desktop and mobile screens.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@nathanael
nathanael force-pushed the feat/browser-remote-text-size branch from 57233f8 to c1ed1aa Compare March 22, 2026 20:02
@skobylite

Copy link
Copy Markdown
Contributor

Alternative approach to consider (no pressure to pivot from this PR):
I put together an on-device version while working on the remote view. It uses a quick-tap pill to cycle XS → XL, persists via localStorage, and supports a ?size=L query param.

my reasoning:

  • Ergonomics: If the phone is rigged up and the Mac is behind the camera, you can adjust size right on the screen you're reading from without walking over to reload.
  • Per-device state: An iPad and a phone aren't locked to the same scale.
  • Footprint: ~40 LOC since it skips the enum and Settings UI.

Yours is definitely more discoverable within standard app settings, so up to you. I can open a PR, fold it in here (or not)

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.

3 participants