Skip to content

fix(mobile): preserve settings navigation and align controls - #1178

Merged
nixuuu merged 1 commit into
devfrom
fix/mobile-settings-consistency
Nov 23, 2026
Merged

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

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 23, 2026

Copy link
Copy Markdown
Member

Change

Native Settings now opens General on phones and tablets. Phones have a searchable section picker, and tablets keep the navigation beside the active panel. Switching sections restores the sidebar, search, panel scroll and selection for the lifetime of the Settings window. Returning to Providers or Worktrees retains the worker or project that will receive the next change. Selecting a section from the menu also lets people leave the scope of an incoming thread link.

The panels use common form rows, labelled switches, option tiles, inline inputs and reserved reset controls. The changes cover account and device preferences, projects, workers, linked computers, providers and connectors. Memory adds combined filters and pagination. Agent tools now shows worker access, install status and session defaults. Paired phones can finish connector OAuth by pasting the returned code or URL. An authenticated mobile pairing selects the manual return flow and the gateway verifies binding and PKCE.

Verification

  • Android API 36, paired over TLS with an isolated gateway and worker. Checked phone layouts at 360 and 411 dp, the tablet layout at 1200 dp, system Back and Close, per-panel scroll, section search, the tablet status-bar inset, keyboard editing, resetting a single preference, and persistence of account and tool defaults. Also checked the second page of a 42-note Memory library, Scheduled tasks and App updates.
  • On a second Android run at 1000 dp, Providers and Worktrees restored the selected worker and project. Workers, Agent tools and Worktrees restored expanded content. Selecting Scheduled tasks again expanded a thread-scoped list from 7 tasks to all 14 and preserved the native back stack.
  • A focused editor-state check verified that a viewport-width edit preserves concurrent account changes to height and page appearance, plus defaults for other tools.
  • Gateway integration covers paired-phone OAuth including a mismatched binding, manual completion and the registered redirect at token exchange. Also ran connector return, public callback site, settings guidance and sandbox profile checks. All 31 tests passed. Verified the manual copy state in a browser using synthetic callback data.
  • Typechecked mobile, web, gateway and domain. Linted and checked formatting on changed source files.
  • The native runtime checks use the existing Android development build. iOS, native push delivery, live third-party OAuth providers and remote computer update execution remain unverified locally. The full repository gate runs in CI.

UI copy

Reviewed the checklist in docs/copy.md §8. “Return code” → “Return code or URL” matches what the sign-in form accepts. Keybindings now identifies the shortcuts as web and desktop defaults. The settings distinguish device, project and worker scope, expose selection and reset labels to assistive technology, and give recovery actions for connection and save failures. Checked long control labels and keyboard-visible layouts on the narrow phone and the tablet sidebar.

Fixes: #358

@nixuuu
nixuuu enabled auto-merge (squash) November 23, 2026 21:41
@nixuuu
nixuuu merged commit be3c143 into dev Nov 23, 2026
17 checks passed
@nixuuu
nixuuu deleted the fix/mobile-settings-consistency branch November 23, 2026 21:50
nixuuu added a commit that referenced this pull request Nov 24, 2026
## Change

The Workers shortcut opens its target directly. The section picker and
links between Settings sections replace the current panel. One Back
returns to the screen that opened Settings. On iOS, the outer Settings
route handles the edge swipe from every section.

## Verification

- On the Android emulator with a fixture gateway, verified Back from the
Workers shortcut, Back after several changes in the section picker, Back
dismissing the open picker, and Back after following the Devices link to
Network access.
- Mobile typecheck, lint and formatting for edited files, and `git diff
--check` passed locally.
- The iOS edge swipe remains unverified on device. CI runs the
repository verification gate.

Fixes: #1178
nixuuu added a commit that referenced this pull request Nov 28, 2026
## Change

- Small settings buttons and dropdowns use a 32 dp visual height and 14
dp text with a touch target of at least 48 × 48 dp. A short value such
as “Threads” takes about 91 dp of width in the default phone layout.
Longer values can move below the description and wrap.
- Settings switches sit beside their descriptions. Where a reset is
available, it has a separate touch target.
- The pairing screen places the channel icon beside the app name. The
project list and the worker and source pickers use 48 dp minimum-height
rows that grow with their contents.

Fixes: #1178

## Verification

- Compared native screens before and after on an Android emulator with
sample data. Covered pairing, General, Threads, Projects, both Add
project steps and the open Time format picker.
- Checked selection and reset, tapping outside the visible control
within its touch target, long names, increased interface text size and a
320 dp content width.
- Mobile TypeScript, scoped oxlint and `git diff --check` passed
locally. Native runtime verification covered Android. GitHub CI runs the
repository checks.
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