GeezerVison is showing github.com — fix(web): No project rows put the machine icon beside the provider icon by jaikhuranna · Pull Request #33408 · pingdotgg/t3code
Conversation
Problem
In the web sidebar, a "No project" thread row names its machine on the second line, where a project row shows its branch. It drew the machine icon on the left, before the name. A project row on another machine puts that icon on the right, beside the provider icon. Rows next to each other place the same icon in different spots.
To reproduce: link a second environment so the sidebar spans machines, then put a "No project" thread next to a project thread from the other machine.
Change
The machine icon in a "No project" row moves into the same trailing cluster that remote project rows use. The machine name stays on the left, in the branch's slot.
No project Done
Oracle Cloud servers for…
-🖥 pop-os ✳
+pop-os 🖥 ✳
In SidebarThreadRow.tsx, the trailing icon now renders for isRemote || showsScratchMachine, where it used to render for isRemote && !showsScratchMachine. The left-hand copy is removed. The variable is renamed from remoteMachineIcon to machineIcon because it no longer applies only to remote rows. The icon still shows exactly once per row. A "No project" row on the local machine keeps its icon too; it only moves.
Every sidebar layout renders this row: default, boring, and multiline folder. One-line folder and slim rows show no trailing icons, so they don't change. Mobile rows use their own layout (machine name and branch on one metadata line) and are not affected.
Scope and approval
This is a small, obvious bug fix: two kinds of rows in the same list disagree on where one icon goes. No issue or discussion exists for it. It changes one condition and removes a duplicate render in one file. It adds no new behavior, setting, or contract change.
Overlap: #31137 (feat(web): option to show machine icon on every sidebar thread) edits the same remoteMachineIcon condition. That PR keeps the rule that hides the trailing icon on "No project" rows, and this PR removes that rule. Whichever lands second will hit a small textual conflict. The fix is to keep both conditions (isRemote || showsScratchMachine || <setting>).
Verification
Real dev server (vp run dev with isolated state) plus a second isolated server linked as another environment. Both run free replay-provider threads. Chromium, dark theme. The screenshots crop the sidebar.
| Before (main) |
After |
 |
 |
In the "after" screenshot, the "No project" row and the remote "acme-api" row both put the machine icon right beside the provider icon.
vp run check:changed: format, lint, knip, typecheck and React compiler all pass.
- No new unit test. The change is one render condition, and AGENTS.md discourages tests that only check markup.
Not checked: the desktop shell (it renders the same web component) and the one-line folder variant (it has no trailing icons by design).
Blast radius: cosmetic. One icon moves within one row type, and nothing else on the row moves. Reverting is a one-commit revert.
🤖 Generated with Claude Code (Claude Opus 5.5)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
A "No project" row names its machine where a project row shows its branch,
but drew the machine icon on the left of that name. Remote project rows put
the same icon on the right, next to the provider icon, so the two kinds of
rows disagreed. The icon now sits in the trailing cluster for both.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Approvability
Verdict: Approved at aafed1d
Macroscope's review found this PR approvable — This moves the machine icon beside the provider icon for scratch rows while retaining the machine label. The change is presentation-only and does not affect thread behavior or stored data.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
The sidebar now uses the shared trailing machine icon for scratch-machine rows as well as remote rows. The scratch-machine label remains in the metadata line, without its separate inline icon.
Changes: Sidebar machine icon
| Layer / File(s) |
Summary |
Shared machine icon rendering apps/web/src/components/sidebar/SidebarThreadRow.tsx |
The trailing machine icon now appears for scratch-machine rows. The scratch-machine metadata label no longer has a separate icon. The shared icon appears in the metadata line and title-line fallback. |
Estimated code review effort: 1 (Trivial) | ~4 minutes
Change: Bug fix
Possibly related issues
pingdotgg/t3code#26000 — This issue concerns displaying machine identity on “No project” entries. This change updates the machine icon display for scratch-machine sidebar rows.
Suggested reviewers: t3dotgg
Merge Risk: Minimal · up to aafed
-
The icon placement change has no identified merge-blocking risk.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title names the change clearly. It says the machine icon moves in "No project" rows so it no longer sits beside the provider icon. The raw summary confirms the change: the trailing machine icon no… |
| Description check |
 |
The description follows the repository template. It has Problem, Change, Scope and approval, and Verification sections. The Problem section gives the observed behavior and reproduction steps. The Chan… |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Title check
-
Explanation
The title names the change clearly. It says the machine icon moves in "No project" rows so it no longer sits beside the provider icon. The raw summary confirms the change: the trailing machine icon now renders for scratch rows as well as remote rows, and the inline left-hand icon is removed. The title is specific and conventional, and it follows the repository's example format.
Full details: Description check
-
Explanation
The description follows the repository template. It has Problem, Change, Scope and approval, and Verification sections. The Problem section gives the observed behavior and reproduction steps. The Change section explains the condition change and the variable rename. The Scope section gives a justification for a small bug fix with no prior issue, and it notes an overlapping PR. Verification lists the checks run, gives before and after screenshots, and states what was not checked. The description does not link a triaged issue or maintainer approval. The template requires either a link or a justification for a small obvious fix, and the author supplies the justification. Some reviewers may still question whether that meets the approval requirement.
Finishing Touches
-
Generate unit tests (beta)
-
- 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 b8c2cfa and aafed1d.
Files selected for processing: 1
-
apps/web/src/components/sidebar/SidebarThreadRow.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Moved to draft: the design needs more change before this is ready for review. I'll update the PR once the revised approach is in.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Note Written by gpt-6.1-sol on behalf of Maria
Verified in a real dev environment
verified exact head aafed1dca12dba64f958439aafc42539f560d170 on linux using repo Playwright and /usr/bin/google-chrome against vp run dev.
- reproduced the mismatch first on
github/main at d1aeed249288585390dbac4fde5b54c35bd5fc06 in a separate worktree. the scratch machine icon was before its name, while the remote project icon was beside the provider.
- added a real git repository and paired a second isolated environment through the app. created project and "no project" threads through the ui, using real Codex
gpt-6.1-sol turns. no replay provider, mocks, fixtures, or demo data.
- on the pr, local and remote scratch rows retain their machine names and show exactly one machine icon beside Codex. remote project rows keep their trailing machine icon, and ordinary local project rows keep only their provider icon.
- fresh turns returned
PR_LOCAL_PROJECT_OK, PR_SCRATCH_OK, and PR_PRIMARY_SCRATCH_OK. thread navigation and the working-to-completed transition also worked.
- checked the default sidebar and multiline project folders in dark and light themes, plus the 1024px layout. one-line folder rows still omit trailing icons.
vp run check:changed b8c2cfad6b3363c4da144a859073b41ec77579ab passed through blacksmith: format, lint, knip, affected typechecks, and React compiler coverage. the explicit base was needed because the worker starts with shallow history. all 30 reported ci checks are green. no code changes or pushes were needed.
matching sidebar data before, on main:

after, on the exact pr head:

Not verified
native ios/android clients, desktop shells, macos/windows machine icon variants, other providers, and relay/tunnel connections were not exercised on this linux vm. the second environment used a direct connection on the vm. this verifies the current behavior; the pr remains draft.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Was gunna file this one but looks like someone else already did. Icon fix is good but IMO the machine name should never be shown there. It either shows the branch if there ends up being a git repo or nothing if there is no branch to show. Putting the machine name there makes this slot in the UI inconsistent. Pretty minor either way but figured I'd throw in my thoughts.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks for this. Before a bug fix is taken further, the bug is reproduced on current main, and here it did not appear.
I ran current main (c3a330d) in the web client with a second T3 server linked as another environment. I created a No project thread and a project thread on that second environment, plus a local No project thread, and looked at them together in the default sidebar and in the grouped sidebar with two-line folder rows.
The mismatch described here no longer happens. Since #40736 every sidebar row shows the machine icon right before the environment name on the second line, and the provider icon sits alone on the right. That holds for No project rows and project rows, on both the local and the linked environment. No row shows a machine icon beside the provider icon, so the two kinds of rows already agree, just in the opposite direction from the one this PR proposes.
If you still think the icon belongs next to the provider icon, that is a design change to the layout main settled on, not a bug fix. It would be best raised as a proposal first.
Closing this pull request. If it still happens for you, please open an issue with the exact steps, what you see, and the version and platform you are on; a fix is picked up from there.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|