Skip to content

feat(mobile): a project's chat lists what its threads wait on; a report opens in full - #1630

Open
incognitojam wants to merge 15 commits into
mainfrom
styal/mobile-project-needs-you
Open

incognitojam wants to merge 15 commits into
mainfrom
styal/mobile-project-needs-you

Conversation

@incognitojam

@incognitojam incognitojam commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Note

On a project's chat on mobile, one Needs you line above the composer counts what the project is waiting on. Tapping it opens a list sized to its rows. A report opens on its own screen: its whole body, with its question and answers in a bar below. Answering or going back returns to the list on what is left.

On mobile, the project chat's Needs you list showed only the chat's own report questions, and only scrolled to them. Reports, approvals and questions from the project's other threads meant opening each thread by hand, and a report can't be answered from its title and question alone: the body is what you read.

Situation What happens now
Nothing waiting No line; the composer as before
Something waiting One line above the composer: "Needs you · N" and the oldest item's title
Tap the line A sheet sized to its rows, up to three quarters of the screen, then it scrolls; dismissed by dragging or tapping outside. Each row gives the kind, thread and age, the title and, for a report, its question
A report Its own screen: the title once in the header, the thread's name below it, the whole body as the feed renders it (markdown, images with the gallery, links, code), and a bar with the question, answers, Reply…, Reply by voice where dictation works, and Dismiss
Many or long answers The bar stops at 45% of the screen and its answers scroll inside it. While the report scrolls, the bar folds to its question; a tap, or reaching the end, unfolds it
Reply… The thread's own composer replaces the bar, replying to this report: attachments, images, dictation, model and mode controls. Draft, attachments and reply target are the thread's, so they survive leaving the screen. Cancel on the reply strip brings the answers back
Reply by voice Opens that composer and starts dictation; you review before sending
Answering, dismissing, or going back (button, Android back, iOS swipe) Back to the project chat with the list open on what is left; nothing left, just the chat
A newer version arrives while one is open The version on screen stays; the bar says "A newer version of this report arrived." with Show latest, and the header names the version
Open thread (header) The thread the report came from, at the report
An approval Answered in the list, in a row like the others
An agent question Opens its thread, where its question card answers it
Report older than the loaded history The screen loads the history down to it
Ordinary thread, or coordinators off The thread's own Needs you list, unchanged

The list with six items, including an approval from another thread:

Needs you list with five report rows and an approval row

The list with three rows, sized to them, with no back arrow:

Needs you sheet with three report rows

A long report, at its top:

The report screen: title in the header, body with its diagram, question and answers below

The same report at its end:

The end of the report with its link, the answers still below

Four long answers:

The answer bar with four two-line answers

The bar folded to its question while the report scrolls:

The report filling the screen, the bar showing only the question

Reply… brings up the thread's composer, replying to the report:

The composer with the Replying to strip, attach button and model control

With an image attached and the keyboard up:

The composer with an image thumbnail above the keyboard, the report readable above it

After sending that reply, back on the list:

The list reopened with what is left

A newer version arriving while version 1 is open:

Version 1 still on screen, the bar offering Show latest

Dark:

A report screen in dark mode

The reply composer in dark mode

Open thread, from another thread's report:

The source thread opened at the report

The report screen renders the body through the same code as the feed: the feed's link handling, image renderer and previews move unchanged into useThreadMarkdown, and its message body into AssistantMessageBody, both used by the feed and the screen. Answers go through the thread's own report-answer path. listProjectNeeds, openReports, the per-thread needs subscription and the one-line summary move from the web app to @t3tools/client-runtime/project-needs; web uses them unchanged. Only threads that need you subscribe to their thread detail, as on web.

Surfaces: Android phone, light and dark. iOS uses the same screen; its sheet sizes to the measured list height, but iOS was not run (no dev client for this native build was available on the Mac). Tablet split view sizes the report to its pane. User docs updated in the project coordinator section.

Scenarios exercised on the Android emulator against an isolated dev server with a synthetic project. A Replay turn produced the approval, and a scripted agent posted version 2 of a report through the report tool while version 1 was open.

  • Opened a long report, scrolled it, replied through the composer with an image attached; the server recorded the reply tagged with its report version and carrying the image, and the list reopened.
  • Scrolled a report with four long answers: the bar folded to its question and unfolded at the end.
  • Answered another thread's report with a button and landed on the list with what was left.
  • Version 2 arrived while version 1 was open: the screen kept version 1 and offered Show latest, which opened version 2.
  • Android back from a report reopened the list. Open thread opened the source thread at the report.
  • Approved a command in the list; the server shows it resolved. Dismissed a report from its screen.

Not verified: dictation (the emulator has no on-device transcription, so Reply by voice is hidden there), iOS, including its sheet sizing, a report older than the loaded history on a device (covered by the logic tests), and tablet split view.


Written by claude/claude-opus-5-5, reviewed by codex/gpt-6-astra, in styal 🧵.

after-answer

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Upstream divergence

Both sides are compared with upstream at the in-order tip 9f4b42e750. Excludes .repos/ and pnpm-lock.yaml.

Measure Base This PR Change
Upstream files the fork changes 2,299 2,302 +3
Lines changed in them 157,874 158,346 +472
Upstream files the fork removes 71 71 0
Fork-only files 1,001 1,007 +6
Fork-only lines 183,011 183,978 +967

Upstream files that start to differ (3)

  • apps/mobile/src/components/ui/Sheet.android.tsx: +13 −5 from upstream
  • apps/mobile/src/components/ui/Sheet.tsx: +24 −12 from upstream
  • apps/mobile/src/components/ui/Sheet.types.ts: +7 −0 from upstream
Upstream files whose difference changes (9)
File Change Now differs by
apps/mobile/src/features/threads/ThreadFeed.tsx +286 1,087 lines
apps/mobile/src/features/threads/ThreadComposer.tsx +30 42 lines
apps/mobile/src/features/threads/PendingApprovalCard.tsx +27 48 lines
apps/mobile/src/features/threads/ThreadDetailScreen.tsx +25 279 lines
apps/mobile/src/features/threads/ChildThreadApprovals.tsx +20 21 lines
apps/mobile/src/state/use-thread-composer-state.ts +8 117 lines
docs/user/project-settings.md +6 191 lines
apps/mobile/src/Stack.tsx +5 93 lines
packages/client-runtime/package.json +4 92 lines

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 21.5 KiB 21.5 KiB 0 B (0.0%) 24.4 KiB ✅
Codex Live turn messages 1 1 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.9 KiB 21.9 KiB 0 B (0.0%) 24.4 KiB ✅
Claude Live turn messages 1 1 0 (0.0%) 8 ✅

Baseline: e45dde6 · PR result: fee2675 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@incognitojam
incognitojam force-pushed the styal/mobile-project-needs-you branch from ed1f58c to 9d2a5bf Compare November 19, 2026 03:50
@incognitojam incognitojam added the preview:android Build an installable Android APK for this PR on every push. label Nov 19, 2026
@incognitojam
incognitojam marked this pull request as ready for review November 19, 2026 04:02
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Android preview

Download APK

Version: 2.3.0-pr.1630.1499
Commit: fee2675

Installs as styal Preview, beside the styal app, on arm64 phones. Android will not install an older preview over a newer one, so uninstall styal Preview first when switching back to an earlier build. Push notifications are not set up in preview builds.

No GitHub sign-in is needed. The download stays available until this PR closes or the preview label is removed.

@incognitojam
incognitojam force-pushed the styal/mobile-project-needs-you branch from 88a9c2b to 676b121 Compare November 19, 2026 16:54
Base automatically changed from styal/mobile-project-screen to main November 19, 2026 17:06
@incognitojam
incognitojam force-pushed the styal/mobile-project-needs-you branch from 676b121 to 5eb0213 Compare November 19, 2026 17:06
On the project's chat, one Needs you line above the composer counts the
chat's report questions and deployment reviews and the project's other
threads' approvals, questions and reports. It opens a sheet that answers
them in place, with Reply by voice for the chat's own reports.

listProjectNeeds, its per-thread subscription and the one-line summary
move from the web app to client-runtime so web and mobile share them.
…answers pinned

The Needs you sheet becomes a list of what the project waits on: kind,
title, thread and age. A report opens where it was posted, its whole
body in the feed and its question, answers, Reply..., Reply by voice and
Dismiss pinned above the composer. Answering returns to the list. An
approval is answered in the list; a question opens its thread.
…ever it was answered

The opened report and the project chat to return to are kept together.
The return follows the answer or dismissal reaching the thread, so a
typed or spoken reply returns too, and Close cancels it. A report that
disappears, or coordinator reports switched off, lets go of the pin.
Going back only happens to the project chat route that opened it.
@incognitojam incognitojam changed the title feat(mobile): answer what a project's threads wait on from its chat feat(mobile): a project's chat lists what its threads wait on; a report opens in full Nov 19, 2026
…er bar folds while reading, and the Needs you sheet fits its rows on iOS
… dictation, and the report composer doesn't offer usage limits

This branch was successfully deployed

1 active deployment
android-preview — fee2675d Deployed Nov 19, 2026 by incognitojam via Sign and publish the APK #1499
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview:android Build an installable Android APK for this PR on every push. size:XXL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant