Skip to content

fix(mobile): preserve sidebar space in landscape - #306

Merged
nixuuu merged 1 commit into
devfrom
fix/mobile-settings-landscape
Nov 6, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/mobile-settings-landscape

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 6, 2026

Copy link
Copy Markdown
Member

Settings in phone landscape put the left safe-area inset inside a 216-point sidebar, squeezing labels and Search. Wide Settings also opened with an empty detail pane.

The settings sidebar now reserves 256 points plus the left inset. Section labels stay on one line and use a trailing ellipsis at larger text sizes. The header follows the column boundary, while the existing right inset protects the close button and detail content. Wide Settings defaults to General without changing portrait list-first navigation. The main app sidebar also adds its left inset outside its intended content width. SettingsGroup.tsx is unchanged.

Verification:

  • Passed bun install, bun run typecheck, bun run lint, bun run format:check, and bun run --filter @canopy/mobile typecheck.
  • Used T3 device tools with an iPhone 17 Pro Max simulator (iOS 26.0): portrait, both landscape rotations, light/dark, default text size and accessibility-medium. Confirmed Search and section labels fit, larger labels use an ellipsis, General opens automatically, portrait list/section/back navigation works, and the main sidebar preserves its usable width.
  • Checked Canopy_Fold unfolded (Android 16) in light/dark against an isolated gateway: all default-size section labels fit, General opens, and selecting Appearance updates the detail pane.
  • The iOS simulator's existing gateway was offline, so its layout checks included the connection error state and local settings. Android loaded settings from the isolated gateway.
  • Removed the temporary Android pairing, gateway, Metro server, forwards and scratch files; restored simulator appearance/text size. No native rebuilds, EAS builds, or UI test suites were needed.

Copy audit (§8): no UI text added or changed. Existing labels were checked at normal and larger text sizes; truncation retains the full accessible label.

Related: #270

@nixuuu
nixuuu merged commit 39ce219 into dev Nov 6, 2026
9 checks passed
@nixuuu
nixuuu deleted the fix/mobile-settings-landscape branch November 6, 2026 21:39
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