Repository navigation
fix(mobile): put setting resets on the control's inner side - #270
Merged
Merged
Conversation
nixuuu
added a commit
that referenced
this pull request
Nov 6, 2026
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
Reset buttons sat at the far right of a setting, after its control. As on the web, they now sit on the control's inner side: before an inline control, and before a full-width control below the title, with their space reserved, so nothing moves when a reset appears. Turn activity uses the same reserved reset instead of adding a button on change. Fixes: #253 Fixes: #236
nixuuu
force-pushed
the
fix/mobile-reset-side
branch
from
November 6, 2026 22:23
3ef9b52 to
067747d
Compare
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mobile settings put the reset button at the far right of a setting, after its control. On the web the reset sits on the control's inner side, with its space reserved, so nothing moves when it appears.
Change
SettingsRow(apps/mobile/src/features/settings/SettingsGroup.tsx):ResetSetting) keeps its space while hidden, as before.ResetSettingbefore the segmented control. They no longer add a button to the title row only when changed.Checked:
typecheck,lint,format:check,expo lint. The device check is on a preview APK on a Galaxy Z Fold, since the Mac emulators are out of disk space.Copy audit (§8): no UI text changes.
Fixes: #253
Fixes: #236