Skip to content

fix(mobile): Compose without a project opens the picker in one push - #42593

Merged
juliusmarminge merged 2 commits into
mainfrom
t3code/compose-opens-picker
Nov 25, 2026
Merged

juliusmarminge merged 2 commits into
mainfrom
t3code/compose-opens-picker

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

On iPhone (no split view), tapping Compose with no current, filtered or remembered project showed a project-less draft instantly with no push animation. A few frames later the project picker pushed over it, so the header chrome changed twice. Cancelling the picker then popped twice too, because the draft dismissed itself once it saw "picker closed, no project". This isn't a regression from today: the pre-release build (before the RNS/Expo/Reanimated merges) does the same.

Cause 1, in the app: handleStartNewTask always selected a Thread draft. When newTaskDestination found no project, that draft's mount effect (resolveDraftProjectSelection โ†’ pick) navigated to NewTaskProject afterwards.

Fix: when the destination has no project, Compose opens NewTaskProject directly. Choosing a project already goes through selectWorkspaceDetail, which drops the picker overlay and shows the draft, so that path is unchanged. Back from the picker now returns straight to the list. Compose with a project (current thread, list filter, remembered project) still opens the draft as before.

Cause 2, in react-native-screens: a Stack v5 header only rebuilt when it first reached a window. UIKit adds the screen to the window after the push has started, so the picker pushed with an empty bar, and its search and "+" were added mid-animation. Fix: bump to 5.0.0-t3.63 (pingdotgg/react-native-screens#20), which builds the header when it attaches to its screen. Native logs confirm the push now starts with search, toolbar and items in place. This applies to every v5 push.

Known leftover: during the push, the Chats screen's search magnifier stays at the top right until the transition ends. Home's search falls back to the nav bar there because of the tab bar. Guarding the search setters, showing the toolbar early, skipping updates on screens that aren't on top, and a distinct search item identifier all made no difference.

Verification on the iPhone 17 Pro simulator (iOS 26.5), recorded at 30fps, plus a physical device check of the dev build:

  • Before: the draft appears without animation at frame 0, then the picker slides in from frame 4, with two header changes.
  • After: the picker slides in over the list in one push, and its bottom "Search projects" field is there from the first frame.
  • Choosing a project: the draft slides in over the picker and the picker is removed.
  • Back from the picker: returns to the Chats list.

vp run check:changed passes.

Before After (app fix only)
https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/22411ab9f487586e/compose-before.mp4 https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/74e0601fa56a08ad/compose-after.mp4

Not covered: split layouts (iPad/Duo unfolded) and Android, where the picker now also opens directly instead of over a blank draft.

Done with Claude Opus 5.5 in Claude Code (T3 Code).

๐Ÿค– Generated with Claude Code

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Nov 25, 2026
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change โ†’

Walkthrough

The mobile task-start handler now routes to NewTaskProject when the resolved destination has no project ID. Destinations with a project ID continue through handleSelectThreadRoute. The mobile package updates its react-native-screens tarball reference.

Changes: New task navigation

Layer / File(s) Summary
Route by project ID
apps/mobile/src/features/layout/AdaptiveWorkspaceLayout.tsx
handleStartNewTask dispatches navigation to NewTaskProject when the resolved draft has no project ID. Otherwise, it passes the destination to handleSelectThreadRoute. The file imports CommonActions.

Screens package update

Layer / File(s) Summary
Update screens tarball reference
apps/mobile/package.json
The react-native-screens tarball reference changes from 5.0.0-t3.62.tgz to 5.0.0-t3.63.tgz.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Suggested reviewers: maria-rcks

Pre-merge checks: Passed 2

Check name Status Explanation
Title check Passed The title names the main change: Compose without a project now opens the project picker in a single push, which matches the layout change in AdaptiveWorkspaceLayout.tsx and the stated objective. It usโ€ฆ
Description check Passed The description covers the problem, the app-side and react-native-screens causes, the fixes, verification with before and after recordings, known leftovers, and uncovered scope. It follows the templatโ€ฆ
Full details: Title check

Explanation

The title names the main change: Compose without a project now opens the project picker in a single push, which matches the layout change in AdaptiveWorkspaceLayout.tsx and the stated objective. It uses the conventional commit format with a plain-language scope. It is specific enough for a teammate scanning history to understand the primary change.

Full details: Description check

Explanation

The description covers the problem, the app-side and react-native-screens causes, the fixes, verification with before and after recordings, known leftovers, and uncovered scope. It follows the template sections Problem, Change, Scope, and Verification. The Scope section does not link an issue or state a maintainer request, and it does not explain why no issue is needed. The description also does not include the agent model line in the required format, though it does name Claude Opus 5.5 at the end. The description is mostly complete, so the check passes, but the missing issue link or reason is a gap.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix ยท Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 480d134 and 9ba298f.

Files ignored due to path filters: 1

  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 2

  • apps/mobile/package.json
  • apps/mobile/src/features/layout/AdaptiveWorkspaceLayout.tsx

juliusmarminge and others added 2 commits November 24, 2026 21:32
With no current, filtered or remembered project, Compose opened a draft that
pushed the project picker over itself a frame later, so iPhone showed an
unanimated draft, then a second push and a second header change. Open the
picker directly; choosing a project already replaces it with the draft, and
Back now returns straight to the list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bump react-native-screens to 5.0.0-t3.63 (pingdotgg/react-native-screens#20),
which builds a Stack v5 screen's header before its push starts instead of
mid-transition.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@juliusmarminge
juliusmarminge force-pushed the t3code/compose-opens-picker branch from 480d134 to 9ba298f Compare November 25, 2026 05:32
@juliusmarminge
juliusmarminge enabled auto-merge (squash) November 25, 2026 05:33
@github-actions github-actions Bot added ๐Ÿ“ฑ Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. size:M 30-99 changed lines (additions + deletions). and removed size:S 10-29 changed lines (additions + deletions). labels Nov 25, 2026
@juliusmarminge
juliusmarminge merged commit 5f1fcf7 into main Nov 25, 2026
37 of 38 checks passed
@juliusmarminge
juliusmarminge deleted the t3code/compose-opens-picker branch November 25, 2026 05:36
@github-actions

Copy link
Copy Markdown
Contributor

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 โœ…

Other scenarios

All 64 scenario measurements match main.

All 64 scenario measurements
Provider Scenario Metric Main baseline This PR Impact PR ceiling
Codex short turn resume WebSocket decoded 10.5 KiB 10.5 KiB 0 B (0.0%) 12.7 KiB โœ…
Codex short turn resume WebSocket messages 2 2 0 (0.0%) 2 โœ…
Codex long turn running, cold open HTTP decoded 281.7 KiB 281.7 KiB 0 B (0.0%) 302.7 KiB โœ…
Codex long turn running, cold open rows 75 75 0 (0.0%) 75 โœ…
Codex long turn running, history page HTTP decoded 92.4 KiB 92.4 KiB 0 B (0.0%) 107.4 KiB โœ…
Codex long turn running, history page rows 75 75 0 (0.0%) 75 โœ…
Codex long turn finished, cold open HTTP decoded 381.5 KiB 381.5 KiB 0 B (0.0%) 410.2 KiB โœ…
Codex long turn finished, cold open rows 151 151 0 (0.0%) 151 โœ…
Codex long turn finished, socket cold open WebSocket decoded 381.6 KiB 381.6 KiB 0 B (0.0%) 410.2 KiB โœ…
Codex long turn finished, socket cold open WebSocket messages 2 2 0 (0.0%) 2 โœ…
Codex long turn finished, socket cold open rows 151 151 0 (0.0%) 151 โœ…
Codex long turn finished, work page HTTP decoded 186.2 KiB 186.2 KiB 0 B (0.0%) 200.2 KiB โœ…
Codex long turn finished, work page rows 150 150 0 (0.0%) 150 โœ…
Codex idle thread resume WebSocket decoded 65 B 65 B 0 B (0.0%) 200 B โœ…
Codex idle thread resume WebSocket messages 1 1 0 (0.0%) 1 โœ…
Codex fleet shell snapshot HTTP decoded 42.4 KiB 42.4 KiB 0 B (0.0%) 53.7 KiB โœ…
Codex fleet shell snapshot rows 27 27 0 (0.0%) 27 โœ…
Codex fleet shell subscribe WebSocket decoded 65 B 65 B 0 B (0.0%) 200 B โœ…
Codex fleet shell subscribe WebSocket messages 1 1 0 (0.0%) 1 โœ…
Codex fleet shell resume check HTTP decoded 18 B 18 B 0 B (0.0%) 100 B โœ…
Codex fleet shell resume check rows 0 0 0 0 โœ…
Codex stale shell reload HTTP decoded 42.4 KiB 42.4 KiB 0 B (0.0%) 53.7 KiB โœ…
Codex stale shell reload rows 27 27 0 (0.0%) 27 โœ…
Codex stale shell resume WebSocket decoded 140 B 140 B 0 B (0.0%) 400 B โœ…
Codex stale shell resume WebSocket messages 2 2 0 (0.0%) 2 โœ…
Codex stale todo list cold open HTTP decoded 72.4 KiB 72.4 KiB 0 B (0.0%) 83.0 KiB โœ…
Codex stale todo list cold open rows 75 75 0 (0.0%) 75 โœ…
Codex stale todo list cold open nodes 2 2 0 (0.0%) 4 โœ…
Codex stale todo list cold open subagents 2 2 0 (0.0%) 4 โœ…
Codex stale todo list cold open plans 1 1 0 (0.0%) 2 โœ…
Codex stale todo list cold open providerTurns 1 1 0 (0.0%) 2 โœ…
Codex stale todo list cold open checkpoints 1 1 0 (0.0%) 2 โœ…
Claude short turn resume WebSocket decoded 10.6 KiB 10.6 KiB 0 B (0.0%) 12.7 KiB โœ…
Claude short turn resume WebSocket messages 2 2 0 (0.0%) 2 โœ…
Claude long turn running, cold open HTTP decoded 283.3 KiB 283.3 KiB 0 B (0.0%) 302.7 KiB โœ…
Claude long turn running, cold open rows 75 75 0 (0.0%) 75 โœ…
Claude long turn running, history page HTTP decoded 93.4 KiB 93.4 KiB 0 B (0.0%) 107.4 KiB โœ…
Claude long turn running, history page rows 75 75 0 (0.0%) 75 โœ…
Claude long turn finished, cold open HTTP decoded 384.2 KiB 384.2 KiB 0 B (0.0%) 410.2 KiB โœ…
Claude long turn finished, cold open rows 151 151 0 (0.0%) 151 โœ…
Claude long turn finished, socket cold open WebSocket decoded 384.3 KiB 384.3 KiB 0 B (0.0%) 410.2 KiB โœ…
Claude long turn finished, socket cold open WebSocket messages 2 2 0 (0.0%) 2 โœ…
Claude long turn finished, socket cold open rows 151 151 0 (0.0%) 151 โœ…
Claude long turn finished, work page HTTP decoded 188.1 KiB 188.1 KiB 0 B (0.0%) 200.2 KiB โœ…
Claude long turn finished, work page rows 150 150 0 (0.0%) 150 โœ…
Claude idle thread resume WebSocket decoded 66 B 66 B 0 B (0.0%) 200 B โœ…
Claude idle thread resume WebSocket messages 1 1 0 (0.0%) 1 โœ…
Claude fleet shell snapshot HTTP decoded 43.0 KiB 43.0 KiB 0 B (0.0%) 53.7 KiB โœ…
Claude fleet shell snapshot rows 27 27 0 (0.0%) 27 โœ…
Claude fleet shell subscribe WebSocket decoded 66 B 66 B 0 B (0.0%) 200 B โœ…
Claude fleet shell subscribe WebSocket messages 1 1 0 (0.0%) 1 โœ…
Claude fleet shell resume check HTTP decoded 18 B 18 B 0 B (0.0%) 100 B โœ…
Claude fleet shell resume check rows 0 0 0 0 โœ…
Claude stale shell reload HTTP decoded 43.0 KiB 43.0 KiB 0 B (0.0%) 53.7 KiB โœ…
Claude stale shell reload rows 27 27 0 (0.0%) 27 โœ…
Claude stale shell resume WebSocket decoded 140 B 140 B 0 B (0.0%) 400 B โœ…
Claude stale shell resume WebSocket messages 2 2 0 (0.0%) 2 โœ…
Claude stale todo list cold open HTTP decoded 73.4 KiB 73.4 KiB 0 B (0.0%) 83.0 KiB โœ…
Claude stale todo list cold open rows 75 75 0 (0.0%) 75 โœ…
Claude stale todo list cold open nodes 2 2 0 (0.0%) 4 โœ…
Claude stale todo list cold open subagents 2 2 0 (0.0%) 4 โœ…
Claude stale todo list cold open plans 1 1 0 (0.0%) 2 โœ…
Claude stale todo list cold open providerTurns 1 1 0 (0.0%) 2 โœ…
Claude stale todo list cold open checkpoints 1 1 0 (0.0%) 2 โœ…

Baseline: 2c95b69 ยท PR result: 9ba298f ยท 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.

github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Nov 25, 2026
**v0.1.12-nightly.20261125.5230** ยท 41 changes from 11 contributors

- **Richer workflow questions.** Workflow questions can include described choices, required reasons, links, and records of who answered and when.
- **Thread actions in command palette.** Pin, snooze, settle, archive, and manage the current thread from the command palette.
- **Withdraw workflow questions.** Workflows can withdraw waiting questions without cancelling the run.
- **Antigravity swarm workers.** See Antigravity swarm workers as subagents, including who is working and what they found.
- **Faster thread switching.** Thread timelines now appear in the first frame instead of after a noticeable delay.
- **Browser select menus.** Native dropdown menus now open in streamed browser tabs so you can choose an option.
- **Permanent thread deletion.** Deleting a thread now removes its conversation history instead of only hiding it.

### Plus 32 more bug fixes.

<details>
<summary>Full changelog</summary>

## What's Changed
* fix(cli): exclude spans before the trace summary window by @jadelike-wine in pingdotgg/t3code#42571
* fix(grok): expose context usage by @gujunxiang in pingdotgg/t3code#42568
* fix(web): timeline minimap previews no longer cut an emoji in half by @only21mil in pingdotgg/t3code#42575
* fix(web): Option and Cmd arrows reach full-screen terminal apps by @Mnigos in pingdotgg/t3code#42574
* fix(web): element context preview no longer ends in a split surrogate by @only21mil in pingdotgg/t3code#42585
* fix(server): Antigravity sends undecodable text attachments as a path instead of failing the turn by @juliusmarminge in pingdotgg/t3code#42594
* fix(resource-monitor): Windows stops reading memory and command lines of untracked processes by @juliusmarminge in pingdotgg/t3code#42577
* fix(server): ODT attachments no longer start with text from number styles by @only21mil in pingdotgg/t3code#42592
* feat(server): workflow questions take described choices, required reasons, links, and keep who answered by @juliusmarminge in pingdotgg/t3code#42515
* fix(web): citation comment box stays open when its cited row scrolls out by @juliusmarminge in pingdotgg/t3code#42603
* fix(web,mobile): author avatars keep emoji initials whole by @only21mil in pingdotgg/t3code#42598
* fix(gitlab): incident links are read as issue links by @Michel-Liao in pingdotgg/t3code#42605
* fix(server): workflow schedules given as bigint nanoseconds no longer crash by @only21mil in pingdotgg/t3code#42607
* fix(pi): reject generated text from failed responses by @StiensWout in pingdotgg/t3code#42602
* fix(preview): streamed browser tabs show native select menus by @juliusmarminge in pingdotgg/t3code#31561
* fix(web): long Workflows links no longer end in a broken character by @only21mil in pingdotgg/t3code#42617
* fix(server): filter open device sessions by the selected host by @AppsAtMe in pingdotgg/t3code#42600
* fix(antigravity): link directly to Google account verification on failed turns by @t3dotgg in pingdotgg/t3code#41210
* fix(server): Needs you lists paused runs older than the newest 500 by @KyrosHendrix in pingdotgg/t3code#42618
* feat(server): CI runners don't need telemetry by @t3dotgg in pingdotgg/t3code#42630
* fix: screenshots after a caption render full size instead of as chips by @juliusmarminge in pingdotgg/t3code#42627
* fix(pi): rewind turns after an extension switches sessions by @StiensWout in pingdotgg/t3code#42616
* fix(mobile): Compose without a project opens the picker in one push by @juliusmarminge in pingdotgg/t3code#42593
* fix(web): project name field restores the saved name when cleared by @only21mil in pingdotgg/t3code#42622
* fix(mobile): a share sent while a new-task draft is open joins that draft by @juliusmarminge in pingdotgg/t3code#42597
* fix(telemetry): honor DO_NOT_TRACK by @t3dotgg in pingdotgg/t3code#42629
* fix(server): device host errors no longer cut an emoji in half by @only21mil in pingdotgg/t3code#42628
* fix(pi): let background subagents finish after coordinator errors by @StiensWout in pingdotgg/t3code#42624
* fix(server): deleting a thread actually removes its history by @t3dotgg in pingdotgg/t3code#42119
* fix(server): unreadable sessions no longer block older history by @StiensWout in pingdotgg/t3code#42613
* fix(server): skip incomplete Pi records during project discovery by @StiensWout in pingdotgg/t3code#42636
* fix(server): restore the default provider name when clearing a label by @StiensWout in pingdotgg/t3code#42632
* test(provider-testing): replay workspaces start no background git maintenance by @juliusmarminge in pingdotgg/t3code#42651
* fix(antigravity): /swarm workers show as subagents by @t3dotgg in pingdotgg/t3code#42649
* feat(web): settle, pin, snooze and more for the current thread from cmd+k by @t3dotgg in pingdotgg/t3code#40742
* feat(server): withdraw a waiting workflow question without cancelling its run by @juliusmarminge in pingdotgg/t3code#42506
* fix(web): fade project picker tooltips in place on scroll by @Yash-Singh1 in pingdotgg/t3code#42657
* fix(server): shells with a backslash in their name no longer get zsh flags on Linux and macOS by @only21mil in pingdotgg/t3code#42648
* perf(web): thread switches paint the timeline in their first frame by @juliusmarminge in pingdotgg/t3code#42582
* fix(server): t3_background_wait error says Workflow runs already keep the thread working by @juliusmarminge in pingdotgg/t3code#42661
* fix(server): preserve spaces and tabs in checkpoint LFS storage by @jadelike-wine in pingdotgg/t3code#42634

## New Contributors
* @gujunxiang made their first contribution in pingdotgg/t3code#42568
* @AppsAtMe made their first contribution in pingdotgg/t3code#42600

**Full Changelog**: pingdotgg/t3code@v0.1.12-nightly.20261125.5222...v0.1.12-nightly.20261125.5230

</details>


Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.12-nightly.20261125.5230
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

๐Ÿ“ฑ Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. size:M 30-99 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant