[Bug]: "No Project" Projects Do Not Group
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
- Open T3.code with multiple machines configured.
- Send chats with no project on multiple devices (might be optional).
- Go to settings and see that the "No project" project is listed multiple times, not grouped as one project on multiple machines.
Example: (Machine names redacted.)
Expected behavior
These "No project" scratch projects should share one logical group key, not a key from their path which varies by machine. This lets them group together.
Actual behavior
See above
Impact
Minor bug or occasional failure
Version or commit
No response
Environment
No response
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
No response
Reproduced on the macOS desktop app 0.1.3-nightly.20261027.3754 with four connected environments (three macOS, one Linux/WSL). Each environment has its own scratch project (<T3 home>/scratch), so their workspace roots differ per machine.
What I found in the bundled client (logicalProject-*.js):
- The grouping function only collapses scratch projects into the shared
"\0no-project"key when the caller passesgroupScratchProjects: true:
Otherwise the key falls back toif (options?.groupScratchProjects && project.isScratch) return NO_PROJECT_KEY;environmentId:workspaceRoot, because scratch projects have norepositoryIdentity. That makes every machine's "No project" a separate group. - Only the sidebar calls the grouping with
groupScratchProjects: true. The settings project list (settingsLayout-*.js) and the other grouping calls in_chat-*.jsandmain-*.jsomit it. So those views show one "No project" per environment.
Possible fix: pass groupScratchProjects: true in the settings list too, or make it the default for views that list projects.
Note: #26000 asks for the opposite in the new-thread picker and the command palette: one "No project" row per environment, labeled with its machine, so the user can choose where to run. If that is the intended design for the picker, the fix for this issue should cover settings (and other listing views) only, not the picker.