GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(mobile): new thread starts in the filtered project, not the open thread's by Muzammil-Bit · Pull Request #38557 · pingdotgg/t3code

Conversation

@Muzammil-Bit

@Muzammil-Bit Muzammil-Bit commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Problem

On mobile, if a thread from project Alpha is open and you filter the thread list to Bravo, New thread still starts in Alpha. The filter is the most recent explicit choice, and the composer heading is easy to miss, so a prompt can end up running in the wrong repository. #36234 placed the filter ahead of the remembered project but behind the open thread, so this case was left over.

Change

The list's project filter now comes before the open thread's project. When the open thread belongs to the filtered project, it still wins, so its copy on that machine is kept. The order is now: filtered project, then open thread's project, then last project. With no filter, nothing changes.

  • newTaskFilteredProject takes the current project and returns it when it is a copy of the filtered project, before the remembered or connected copy.
  • newTaskDestination checks filteredProject before currentProject.
  • docs/user/thread-sidebar.md lists the new order.

Every New thread entry point (iPad compose, Android FAB and rail, empty-pane button, ⌘N) goes through handleStartNewTask, so all of them get the fix. Turning off Use last project still always opens the picker.

Scope

Fixes #38499. Follows up #36234 (#29034).

Verification

iPad Air 13-inch (M4) simulator, iOS 27.0, split view, against a fresh dev server with two projects (Alpha, Bravo) and one Replay thread in each. The environment label is masked in the captures.

Steps: open the Alpha thread, set the project filter to Bravo, then tap the compose button (New thread).

Before (main): draft opens in Alpha After: draft opens in Bravo
before: list filtered to Bravo, draft asks 'What should we build in Alpha?' after: list filtered to Bravo, draft asks 'What should we build in Bravo?'

Before:

before.mp4

After:

after.mp4

I also checked on the fixed build that with the filter cleared, New thread from the Alpha thread still opens in Alpha.

Tests: new-task-project-selection.test.ts gets a filtered-over-current case, which fails on main, and a current-copy-within-filter case. 25 pass. vp run check:changed passes: format, lint, knip, typecheck, tests and react compiler.

Not checked: Android and iPhone compact layouts. They use the same handler.

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Muzammil-Bit @claude
fix(mobile): new thread follows the list's project filter over the op…
30f6386
…en thread

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Closing: Muzammil-Bit already has 3 or more open PRs here, which is the limit for contributors who are not vouched.

Once one of them is merged or closed, open this again. See the open PR limit.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot closed this Nov 18, 2026
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Nov 18, 2026
@Muzammil-Bit Muzammil-Bit mentioned this pull request Nov 19, 2026
fix(mobile): new thread starts in the filtered project, not the open thread's #39001
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug]: Mobile New thread from filtered sidebar still starts in open detail thread's project (currentProject overrides filteredProject)

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Muzammil-Bit
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.