Repository navigation
Show remote environment names in thread rows - #4425
colonelpanic8 wants to merge 2 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ApprovabilityVerdict: Needs human review 1 blocking correctness issue found. An unresolved accessibility concern was flagged - the lost aria-hidden attribute on the trailing icons span may expose provider initials to screen readers. This substantive issue warrants human review before merge. You can customize Macroscope's approvability policy. Learn more. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f40fc1a. Configure here.
|
Takes up way too much space sadly, branch names are too long for this to work |
…ine icon Re-port of pingdotgg#4425 onto the merged sidebar. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ine icon Re-port of pingdotgg#4425 onto the merged sidebar. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ine icon Re-port of pingdotgg#4425 onto the merged sidebar. Co-Authored-By: Claude Opus 5.5 <[email protected]>

What Changed
Why
Remote threads were identifiable as remote, but the inbox did not reveal which host they belong to without hovering. Showing the environment name when the row has room makes remote threads easier to distinguish while preserving the compact layout at narrow widths.
UI Changes
These captures use the app’s real draggable sidebar at 440px; no production sizing defaults were changed.
Verified the real remote-thread flow in both sidebar variants. Wide rows show
ryzen-shinebefore the glyph; at a 210px sidebar the label is hidden while the remote icon and accessible name remain.Checklist
vp test run apps/web/src/components/RemoteEnvironmentIndicator.test.tsx --passWithNoTestsvp lint apps/web/src/components/RemoteEnvironmentIndicator.tsx apps/web/src/components/RemoteEnvironmentIndicator.test.tsx apps/web/src/components/Sidebar.tsx apps/web/src/components/SidebarV2.tsxvp fmt --check apps/web/src/components/RemoteEnvironmentIndicator.tsx apps/web/src/components/RemoteEnvironmentIndicator.test.tsx apps/web/src/components/Sidebar.tsx apps/web/src/components/SidebarV2.tsx apps/web/src/index.cssvp run --filter @t3tools/web typecheckvp checkvp run typecheckNote
Show remote environment names in sidebar thread rows
RemoteEnvironmentIndicatorcomponent that renders an icon with an accessiblearia-labeland a text label span for the environment name.SidebarThreadRowandSidebarV2Rowto use the new component, replacing the bare icon with a labeled indicator.@container thread-row (min-width: 13rem)) so it only appears when the row is wide enough.SidebarV2Row, the indicator is suppressed for desktop-local connections via the newshouldShowRemoteEnvironmentIndicatorhelper.📊 Macroscope summarized f40fc1a. 3 files reviewed, 0 issues evaluated, 0 issues filtered, 0 comments posted
🗂️ Filtered Issues
No issues evaluated.