Repository navigation
feat(web): list trigger characters in the empty thread composer - #235
Merged
Merged
Conversation
The empty thread composer shows a second placeholder line with what each trigger character does: / commands, $ skills, @ files, # threads and ! shell. The line wraps between items on narrow screens and is left out of compact composers. docs/copy.md notes this exception to the placeholder rule.
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.
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.
The empty thread composer now says what the trigger characters do. Apps type these differently, so users asked for the hint in place of a plain "Ask anything…".
Change
MentionEditortakes an optionalhint(a list of items) and shows it as a second placeholder line under the existing one. It wraps between items, never inside one, so# threadsstays together on phone widths.aria-placeholderincludes the hint.ComposerBoxpasses/ commands · $ skills · @ files · # threads · ! shellfor owner thread composers with mention sources: the new thread, a running thread (under "Steer the agent, or queue for the next turn…") and new side threads. Compact composers and bot composers keep a single line.docs/copy.md§4.9 names this as the one exception to "placeholders show the format, not instructions".Checked in a browser against the live gateway: new thread at 1280 px light and 360 px dark (the hint wraps after
@ files ·). Gates:gen:check,typecheck,lint,format:checkand the web build.Copy audit (§8)
/ commands · $ skills · @ files · # threads · ! shell. Glossary words (commands, skills, files, threads, shell) match the mention popup labels.·lists in the UI.