Skip to content

feat(mobile): add mentions, side threads, goals and connector errors - #239

Merged
nixuuu merged 1 commit into
feat/mobile-parity-3from
feat/mobile-parity-4
Nov 6, 2026
Merged

nixuuu merged 1 commit into
feat/mobile-parity-3from
feat/mobile-parity-4

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Stage 4 of 4, mobile parity round 2: mentions, side threads, goals and connector errors.

Changed

  • Mentions in the thread and new-thread composers, as on the web: "/" commands and "$" skills and plugins from ListMentionCatalog (listed once per scope), "@" files (SearchFiles) and "#" threads (SearchThreads).
    • A compact list over the composer, grouped (Canopy, Commands, Skills, Plugins, Files, Threads).
    • Tapping one puts its badge in place of the typed query, with the same badge model as files.
  • Side threads: the thread menu has "New side thread".
    • The side thread uses the main thread's project, worker, folder, agent and model.
    • "Use main thread history" (on by default) forks from the last completed turn.
    • Full access is not taken over: the side thread gets full auto.
  • Goals: the thread menu has "Set a goal…" or "Replace the goal…" (not for Grok or gateway threads). The Goal pill opens the open goal with Pause or Resume, "Clear the goal…" (confirmed with Clear goal / Keep) and "Replace the goal…". Codex also takes a token budget. Uses SetGoal.
  • Connector errors: Settings → Connectors and the thread panel list accounts with the web's status labels. A failed test shows its message and "Show details" with the technical detail.

Not done

  • Bot and connector mentions: the web offers them only in bot composers.
  • Fuzzy-match highlighting in the list.
  • Model, effort and permission pickers in the side thread form: it inherits them from the main thread.
  • Goal usage stats.

Checked

  • Gates on the top of the stack: bun install, gen:check, typecheck, lint, format:check, expo lint, check:tmp (see below) and the web build.
  • Android emulator, light and dark, unfolded and phone width:
    • "/" lists the platform commands, and picking /goal puts a badge in the text;
    • "#" searches threads, with an empty result;
    • a goal set with a long objective, then paused (Resume appears);
    • a side thread started with history; it opened beside the list;
    • a connector whose test failed, with its reason and details.

Copy audit (§8)

  • "New side thread", "Task for the side thread", "Use main thread history", "The side thread starts from the main thread's last completed turn.", "Start side thread", "Reopen the main thread to start a side thread.": the web's text.
  • "Set a goal…", "Replace the goal…", "Set goal", "Replace goal", "Clear the goal…", "Clear goal", "Keep", "Pause", "Resume", "Latest check:", the field labels and help text: the web's goal bar and dialog.
  • "Connected", "Needs reconnect", "Connection error · Tools unavailable", "Disconnected", "Show details", "Loading connections…": the web's labels.
  • "No commands match.", "No skills or plugins match.", "No files match.", "No threads match.", "Searching…": short empty and loading states.

The composer offers commands, skills, files and threads as on the web and places them as badges. The thread menu starts side threads and sets goals; the goal pill pauses, resumes and clears. Connectors show their status and a failed test's reason with details.
@nixuuu
nixuuu added this pull request to stack #240 November 6, 2026 07:36
@nixuuu
nixuuu marked this pull request as ready for review November 6, 2026 07:44
@nixuuu
nixuuu merged commit 3c946cd into dev Nov 6, 2026
11 checks passed
@nixuuu
nixuuu deleted the feat/mobile-parity-4 branch November 6, 2026 07:44
nixuuu added a commit that referenced this pull request Nov 6, 2026
The mobile thread and new-thread composers now show the same trigger
hint as the web (#235): a second placeholder line `/ commands · $ skills
· @ files · # threads · ! shell`. Mobile has had mentions since #239.

**Change** (`apps/mobile/src/features/threads/ComposerBox.tsx`)
- New `triggers` prop. With it, and when not compact, the placeholder
gets the hint as a second line.
- Each item is joined with a no-break space, so a wrap on a narrow phone
never splits `#` from `threads`.
- `MessageComposer` and `NewThreadScreen` pass `triggers`. Bot chats and
compact composers keep one line.

**Checked:** `typecheck`, `lint`, `format:check`, `expo lint`. The
device check is on a preview APK on a Galaxy Z Fold, folded and
unfolded.

**Copy audit (§8):** same text as the web hint (#235), with the same
glossary words as the mention popup and no instruction verbs.
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