Skip to content

fix(sidebar): stop the workspace link icon lighting up on hover - #28078

Merged
brennanb2025 merged 2 commits into
mainfrom
brennanb2025/sidebar-link-icon-no-hover
Oct 12, 2026
Merged

brennanb2025 merged 2 commits into
mainfrom
brennanb2025/sidebar-link-icon-no-hover

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 0 0 0 0
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1 0

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) had hover: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 head 38fd1788d9409481a5e19a6b9aeb8924bf85ed0b only removes unrelated lockfile churn; its renderer code is identical.

Before: main, link hovered After: branch, link hovered
Main: hovered link brightens Branch: hovered link stays dim

Both still open the details card:

Before: main After: branch
Main: linked PR details open on hover Branch: linked PR details open on hover

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 test on WorktreeCardMeta.test.tsx and WorktreeReferenceStack.test.tsx: 15/15 pass.

  • orca-ci-checks: lint, code-quality, localization and pnpm run typecheck pass. The bun typecheck variant fails locally with Script 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:356 expected exactly 5000 ms but received 4999 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

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Renderer-only styling change. No platform, SSH, mobile, or compatibility impact.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

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.
@brennanb2025

Copy link
Copy Markdown
Contributor Author

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 38fd1788d9409481a5e19a6b9aeb8924bf85ed0b: 15 focused tests pass; lint, code-quality, localization and standard typecheck pass. The local bun typecheck variant reports the known tooling error Script not found "check"; GitHub static analysis/typecheck passes. Both packaging jobs and relay integration also pass. CI is not fully green: test shard 4/5 failed at preflight-command-exec.test.ts:356, expecting exactly 5000 ms and receiving 4999 ms. I checked that the test and implementation are unchanged from the merge base; the implementation subtracts two real clock readings. This existing timing-sensitive assertion is outside the styling change and was left unchanged. The watch stopped on failure with three other shards still pending; no CI rerun was requested.

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:

Final commit: link hovered Details remain available
Remote final commit: hovered passive badges stay dim Remote final commit: linked PR and provenance details open

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.

@brennanb2025
brennanb2025 marked this pull request as ready for review October 12, 2026 22:21
@brennanb2025
brennanb2025 merged commit d8a89f1 into main Oct 12, 2026
30 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant