Repository navigation
fix(sidebar): stop the workspace link icon lighting up on hover - #28078
Conversation
The link, notes and provenance icons on a sidebar workspace row only open the details hover card; clicking them does nothing extra. The hover colour made the link icon look clickable.
|
The sidebar link badge used to brighten on hover, suggesting an extra click action even though it is a passive status indicator. It now keeps its muted color; hovering the metadata group still opens workspace details, and actual buttons retain their hover feedback. Review kept the shared badge-wrapper fix and removed 25 unrelated, tool-generated lockfile lines. Independent correctness, architecture, readiness and performance reviews found no remaining issues in the styling change; no styling fixes were deferred. Verified on final commit Hidden local before/after QA reproduced the brightening on an actual main build and confirmed the fix. Remote M4Air QA, driven by OpenCode, passed on the final commit: real pointer hover kept the link, notes, automation and CLI badge colors exactly equal to each badge's unhovered value, and the details card opened. I read the report and inspected these remote captures:
The visual fixtures use synthetic metadata, so real provider/automation detail fetching was not verified. The legacy card layout and separate Windows/Linux/SSH/folder-workspace runtime paths were not exercised; this change edits no transport, persistence, process or platform code. PR remains draft and unmerged. |


ELI5
In the sidebar, a workspace row can show a small link icon (it means the workspace has linked PRs, issues or tasks). Hovering that icon made it light up, which suggests clicking it will do something. It doesn't, so the icon no longer lights up.
What Changed
Before: pointing at the link icon on a sidebar workspace row turned it from dim grey to full white. Clicking it does nothing beyond what clicking anywhere on the row does (it selects the workspace), so the highlight promised an action that isn't there.
After: the icon stays the same dim grey on hover. Hovering still opens the workspace details card, exactly as before.
Mechanism:
MetaIconBadge(the wrapper for the small status icons on the row: links, notes, "created by automation", "created by Orca CLI", linked issue/Linear/Jira/PR) hadhover:text-foreground. The link icon inherits that colour; the other metadata glyphs already set their own colours, so in practice only the link icon brightened. This PR removes the hover colour from the wrapper, so none of these badges can brighten.Why
These badges are status indicators, not buttons: the hover card that shows their details opens from the whole badge group, and none of them has a click action. A hover highlight is the usual signal that something is clickable, so the right fix is to drop it rather than add a click action nobody asked for.
Linked Issue
N/A (maintainer change, reported directly).
Visual Proof
Hidden macOS Electron development builds, driven through CDP on the same synthetic workspace with a linked PR, notes, automation and CLI provenance. The new sidebar card layout renders the reported link icon. Main baseline:
974b78d4e35774be3397ee4a9d752176acfdacda; branch:904f6a979afe60847b19f3681cc11c8dc0498f16. Final head38fd1788d9409481a5e19a6b9aeb8924bf85ed0bonly removes unrelated lockfile churn; its renderer code is identical.Both still open the details card:
The link SVG's computed colour changes on main and remains exactly equal before/after hover on the branch. Notes, automation and CLI glyph colours match across both builds. PR details and automation availability in this fixture are synthetic and unavailable; this check verifies the rendered hover behaviour.
Testing
pnpm testonWorktreeCardMeta.test.tsxandWorktreeReferenceStack.test.tsx: 15/15 pass.orca-ci-checks: lint, code-quality, localization andpnpm run typecheckpass. The bun typecheck variant fails locally withScript not found "check", a local tooling problem; GitHub static analysis/typecheck passed.Hidden macOS Electron/CDP check: link colour stays unchanged on the branch; main reproduces brightening. Both details hover cards open. Notes, automation and CLI glyphs match. See Visual Proof (synthetic fixture).
Remote hidden Electron/CDP QA on M4Air passed at final head
38fd1788d9409481a5e19a6b9aeb8924bf85ed0b: each of the link, notes, automation and CLI badges keeps its own unhovered colour; details still open. Synthetic new-card fixture; legacy layout and real provider detail fetching were not exercised.Both packaging jobs and relay integration passed. CI stopped on test shard 4/5: the unchanged
preflight-command-exec.test.ts:356expected exactly5000 msbut received4999 ms; production subtracts two real clock readings. Three other shards were still pending at fail-fast exit. Full CI is not green; no rerun was requested.Review
Independent correctness, architecture, readiness and performance reviews found no remaining issues in the styling change. Removed 25 unrelated, tool-generated lockfile lines. Full status and final remote captures.
Agent skill upstream boundary
Notes
Renderer-only styling change. No platform, SSH, mobile, or compatibility impact.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)