Skip to content

fix(mobile): a report answer shows its report chip while it is still sending - #1651

Draft
incognitojam wants to merge 1 commit into
mainfrom
styal/fix-mobile-pending-report-chip
Draft

incognitojam wants to merge 1 commit into
mainfrom
styal/fix-mobile-pending-report-chip

Conversation

@incognitojam

@incognitojam incognitojam commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Note

Not verified on a device yet; see Validation. Kept as a draft until it is.

On mobile, a typed answer to a coordinator report showed its wire text while it waited in the outbox: the report's title and version in square brackets in front of the reply. The report chip only appeared once the server confirmed the message.

The map that turns a message into the report chip and its typed text was built from the thread's server messages only. It now also takes the messages the feed shows as pending: those still in the outbox and those the server has accepted but not yet sent back. Both already carry the report they answer, so a sending answer gets the chip and the typed text like a sent one, with no gap between delivery and the server's echo. Web had the same cause and is fixed in #1645.

Message Before After
Report answer, waiting in the outbox [Title, version 2] Go ahead… chip + Go ahead…
Report answer, sent chip + typed text unchanged

Mobile has no dashed outline for unconfirmed messages (it shows "Pending" in place of the time), so the outline problem fixed for web in #1648 does not apply here.

Validation

Not verified in the app. On a local Android emulator the dev client installed and loaded from Metro, and pairing with an isolated dev server completed at the server (token exchange and socket), but the app kept listing only stale connections from earlier sessions and took tens of seconds per action at the machine's load at the time, so I could not reach the sandbox thread to hold a send in the outbox and capture it. The change is the same data fix as web, where it was verified with before and after captures.


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

@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,301 2,301 0
Lines changed in them 158,161 158,182 +21
Upstream files the fork removes 71 71 0
Fork-only files 1,002 1,002 0
Fork-only lines 183,127 183,127 0
Upstream files whose difference changes (1)
File Change Now differs by
apps/mobile/src/state/use-thread-composer-state.ts +21 130 lines

@incognitojam
incognitojam force-pushed the styal/fix-mobile-pending-report-chip branch from 02fc696 to 74a6c32 Compare November 19, 2026 18:24

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant