Skip to content

feat(mobile): refine settings spacing and complete controls - #253

Merged
nixuuu merged 1 commit into
feat/mobile-settings-8from
feat/mobile-settings-9
Nov 6, 2026
Merged

nixuuu merged 1 commit into
feat/mobile-settings-8from
feat/mobile-settings-9

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

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.

@nixuuu
nixuuu added this pull request to stack #254 November 6, 2026 08:35
@nixuuu
nixuuu force-pushed the feat/mobile-settings-9 branch 2 times, most recently from 68c3538 to 17401ba Compare November 6, 2026 09:10
@nixuuu
nixuuu marked this pull request as ready for review November 6, 2026 09:23
@nixuuu
nixuuu force-pushed the feat/mobile-settings-9 branch from 17401ba to 1422e33 Compare November 6, 2026 09:24
@nixuuu
nixuuu merged commit 89db0f7 into dev Nov 6, 2026
9 checks passed
@nixuuu
nixuuu deleted the feat/mobile-settings-9 branch November 6, 2026 09:33
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
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