Repository navigation
Replace stacked mobile prompt cards with a chip row - #2138
Merged
Merged
Conversation
Each running workflow, the background commands, plan mode, the goal and the to-dos rendered as its own bordered card above the composer. With a few of them live the cards pushed the timeline off a phone screen, and the timeline tail already repeats the running workflows. The prompt stack now renders one horizontal, scrollable row of pills (workflows, background tasks, plan + Exit, goal + Clear, to-dos). A tap opens a bottom sheet with the detail the card showed expanded; the workflow sheet lists every running workflow with its phase strip and agent tree. The Interactions dev showcase gains a "Prompt chips" section on synthetic data and the phase4b-interactions Maestro flow covers it. Co-Authored-By: Claude <[email protected]>
SawyerHood
added a commit
that referenced
this pull request
Aug 21, 2026
…e onto current main The full-stack dry run flagged apps/mobile/src/screens/dev/prompt-chip-fixtures.ts, a dev-only fixture screen that #2138 added to main after the baseline was taken. It is fixture data, the same category as .ladle and stories, not a provider branch in core. Exclude the dev/ segment and regenerate the baseline against current main: 209 references across 55 files. Co-Authored-By: Claude Opus 4.8 <[email protected]>
SawyerHood
added a commit
that referenced
this pull request
Aug 21, 2026
…e onto current main The full-stack dry run flagged apps/mobile/src/screens/dev/prompt-chip-fixtures.ts, a dev-only fixture screen that #2138 added to main after the baseline was taken. It is fixture data, the same category as .ladle and stories, not a provider branch in core. Exclude the dev/ segment and regenerate the baseline against current main: 209 references across 55 files. Co-Authored-By: Claude Opus 4.8 <[email protected]>
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.
What was wrong
On the phone, every live item above the composer rendered as its own bordered card: one per running workflow, one for background commands, plus plan mode, the goal, and the to-dos. A thread with two workflows and two background commands stacked five cards and pushed the timeline off the screen. The timeline tail already lists the running workflows under "Working…", so the cards repeated that information.
What changed
apps/mobile/src/screens/thread/cards/ThreadPromptStackChips.tsx(renamed fromThreadPromptStackCards.tsx): each card becomes a pill.ThreadPromptChipsrenders one horizontal, scrollable row: workflows (one chip named after the single workflow, or "N workflows"), background tasks ("2 commands" / "1 agent" / "3 tasks"), Plan + Exit, Goal + Clear, To-dos. A tap opens a bottomSheetwith the detail the card showed expanded; the workflow sheet lists every running workflow with its phase strip and agent tree. Live chips pulse a dot. The row renders nothing when no chip applies so the stack gap stays closed.ThreadModelFallbackCardand the context-window ring are unchanged.ThreadPromptArea.tsxuses the row in both the stack and the pending-interaction banner branch (plan + goal only, as before).prompt-chip-fixtures.ts,buildPromptChipWorkFixturesinwork-row-fixtures.ts).e2e/flows/phase4b-interactions.yamlcovers the row and the workflows sheet;apps/mobile/README.mddescribes the new row.No wire or server changes.
How you verified
pnpm exec turbo run typecheck lint test --filter=@bb/mobilepasses (830 tests).phase4b-interactions.yamlpasses on its own; the full flow needs the manually seededTHREAD_ID, as documented in its header.