Skip to content

fix(mobile): resolve layout, forms and android request stalls - #831

Merged
nixuuu merged 1 commit into
devfrom
test/android-app-visual-audit
Nov 15, 2026
Merged

nixuuu merged 1 commit into
devfrom
test/android-app-visual-audit

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 15, 2026

Copy link
Copy Markdown
Member

Change

Active subagent watches could exhaust Android's request slots, leaving messages and task actions waiting. The pinned transport now separates bounded unary and streaming dispatchers and cleans up calls, probes and pools when the native bridge is destroyed. Certificate pinning and cancellation remain enforced.

This also fixes the issues found during the mobile audit:

  • Android Back hides the keyboard before closing a form, preserving its draft.
  • Connector headers use native masked fields. Failed saves retain tokens, headers and OAuth input.
  • The composer no longer reserves an empty draft slot, and compact text reserves the measured send-button width. Headers and footers have opaque backgrounds.
  • Intentional unpairing ends on a neutral pairing screen; failed unpairing retains the session, and actual revocation still reports revoked access. Late errors from an old client cannot clear a new pairing.
  • Settings search finds the added option keywords. Schedule previews use the selected time zone, show its name and discard results after a pattern or zone change.
  • File and schedule links use the existing /thread/ route.

The Android transport change requires a rebuilt APK; a JavaScript update alone is insufficient.

Verification

  • Mobile TypeScript check, oxlint and formatting for edited files, and git diff --check: passed.
  • bun run check:tmp ./tests/integration/mobile-devices.test.ts: 11 passed, 0 failed; temporary directory clean.
  • Android assembleDebug: passed; rebuilt APK installed and exercised in the emulator.
  • Manual Android checks: Queue accepted and executed a message with two active subagents; Stop task completed; Add account and Create bot retained drafts after first Back and closed after second; secrets were masked on screen and in accessibility output; a failed connector save retained input; search found font and contrast; 09:00 UTC stayed 09:00 UTC on a Europe/Warsaw phone; changing the zone cleared the preview; failed unpair, successful unpair, re-pair and actual revocation behaved correctly.
  • Visual checks covered light/dark, normal phone width, 360 dp with enlarged text and a wide modal. Native probes covered saturated stream slots, cancellation, reset, pin rejection and teardown.
  • Copy audit (§8): passed. “Use one header per line” became “Use Header-Name: value in each field” to match the new controls. Add/Paste/Remove actions use verbs, clipboard errors provide recovery, and changed labels fit the checked widths.
  • Existing Expo ESLint diagnostics remain; comparison of edited files found no new diagnostics before the final rebase. Full repository checks are left to CI. iOS and external OAuth flows were not exercised.

Fixes: #61

Keep unary RPCs available while Android watch streams remain open, and
clean up the pinned transport when the native bridge is destroyed.
Repair composer spacing, modal Back handling, credential retention,
settings search, schedule previews and intentional unpairing.

Fixes: #61
@nixuuu
nixuuu enabled auto-merge (squash) November 15, 2026 13:13
@nixuuu
nixuuu merged commit 18710d9 into dev Nov 15, 2026
11 checks passed
@nixuuu
nixuuu deleted the test/android-app-visual-audit branch November 15, 2026 13:25
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