Repository navigation
feat(mobile): refine settings spacing and complete controls - #253
Merged
Merged
Conversation
nixuuu
force-pushed
the
feat/mobile-settings-9
branch
2 times, most recently
from
November 6, 2026 09:10
68c3538 to
17401ba
Compare
nixuuu
marked this pull request as ready for review
November 6, 2026 09:23
nixuuu
force-pushed
the
feat/mobile-settings-9
branch
from
November 6, 2026 09:24
17401ba to
1422e33
Compare
nixuuu
added a commit
that referenced
this pull request
Nov 6, 2026
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
added a commit
that referenced
this pull request
Nov 6, 2026
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`): - an inline control (switch, or wide layout) shows the reset before it; - a full-width control below the title shows the reset to its left, in the same row; - a row without a control keeps the reset in the title row. - The reset (`ResetSetting`) keeps its space while hidden, as before. - Turn activity: the "While working" and "After the turn" resets use the same reserved `ResetSetting` before 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
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.
Settings cards and forms had inconsistent insets, stacked reset buttons and cramped text. Shared groups now own padding/dividers, fields avoid duplicate padding, switches stay inline, and reset/actions occupy compact reserved positions. Text generation has inset controls, a plain automatic explanation and a separate Save action. Sheets cap content width and long text wraps within fields.
Workers follows the new flat web layout: computer headings, independent worker cards, one metadata/presence summary, then Agent CLIs, Configuration, Provider accounts and Tags. CLI alternatives/output use compact disclosures. Worker actions stay in the expanded card for touch access. Shared-configuration worker records remain visible when the home is offline; editable linked-worker tags use the same gateway forwarding as the web.
Completes shared account resets, finished-subagent visibility, schedule calendar/time/timezone/recurrence/endings/occurrence previews and remote snapshot refresh. Hermes lacks Intl.supportedValuesOf, so web and mobile share an IANA timezone list without another native dependency. Account and overview snapshots reload on entry; this does not claim to fix Android's baseline streaming transport limitation.
No additional gateway access or schema changes. Working-for preferences and all merged mobile features are retained. Stored secrets stay write-only. Native differences: read-only keyboard reference; unavailable math/mascots/system notifications are explicit; native font fallbacks; Electron-only sections follow remote web visibility; configuration notices are centralized under Linked computers.
Security follow-up is included through amended layer 3: port changes announce routes before draining old HTTP/1.1 and HTTP/2 connections, and mobile persists the replacement routes without requiring overview. Foreign computer/config-notice/enrollment isolation is covered. The independent refused-move name/title fix is #257 and must land before this stack. Device tokens have no expiry; pairing codes do. These lifetimes are unchanged. The follow-up was checked with real TLS integration clients; the earlier Android visual coverage was not repeated for this transport-only change.
Validation after the security follow-up and restack on current dev: install, gen:check, typecheck, lint, format:check and Expo lint pass for all nine layers. Cumulative check:tmp passed on this head: 1455 tests, 158 skipped, 0 failures, 9634 assertions; temp clean. Web build passed. Earlier emulator coverage includes every server-capable section in light/dark at phone/wide widths, long fixture names, a desktop-role Linked computers gateway, instruction assignment/sync and secret-presence states. The recurring schedule preview returned future occurrences on Android. Live OAuth/provider login, SSH installation, real update/rollback, cross-computer moves/drift and physical-device lifecycle remain unverified. Software-keyboard overlap remains unverified because the device input helper used an invisible IME.
Copy audit (§8): full-width “Reset to default” / “Reset effort” stacks → labeled compact reset controls; “Model” → “Text generation model” and the web help text. Checked every changed label for sentence case, glossary, action/confirmation verbs, concise actionable errors, empty/disabled states and non-color cues. Short and long names were inspected at both widths. No “soul” copy.