claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

VS Code extension: rename/delete icons in session list are barely visible on hover/selection highlight

Open ssss22jj-netizen opened this issue 4 months ago • 5 comments

Describe the bug

In the VS Code extension's session list (Claude Code sidebar), the rename (pencil) and delete (trash) icons that appear on hover are rendered in a dark color that blends into the blue selection/hover highlight. They are effectively invisible unless you know they're there — I only found the rename action after several attempts.

Additionally, right-clicking a session row shows only the OS text context menu (Cut/Copy/Paste), which adds to the confusion — users expect session actions (rename/delete) there.

Expected behavior

  • Hover action icons should switch to a high-contrast (light/white) color when the row is highlighted
  • Ideally, rename/delete should also be available in the row's context menu

Environment

  • Claude Code VS Code extension (native), macOS (Darwin 24.3)

ssss22jj-netizen avatar Jul 16 '26 15:07 ssss22jj-netizen

One more detail: the rename icon itself is hard to recognize as a pencil — the glyph doesn't read as "edit/rename" at that size, which compounds the discoverability problem. A clearer pencil glyph (or a text tooltip appearing faster) would help.

ssss22jj-netizen avatar Jul 16 '26 15:07 ssss22jj-netizen

https://norrin.dev is a very cool extension for Claude Code that gives you the ability to see inline diff, accept/ reject per hunk, and track files.

gwoodard9 avatar Jul 16 '26 16:07 gwoodard9

Confirmed on v2.1.220 (darwin-arm64), and I can add the root cause from the shipped stylesheet (webview/index.css inside the installed extension):

The session-row action buttons are always colored with the secondary foreground:

.actionButton_… { color: var(--app-secondary-foreground); } /* → --vscode-descriptionForeground */

The active row swaps background/foreground to the selection colors (--app-list-active-background / --app-list-active-foreground, mapped from list.activeSelectionBackground / list.activeSelectionForeground), but there is no corresponding override for .actionButton — so the gray icons sit on the dark-blue selection background.

Suggested one-line fix:

.sessionItem.active .actionButton { color: var(--app-list-active-foreground); }

Note there's no user-side workaround via theme tokens: the webview never reads list.activeSelectionIconForeground, so the only mitigation is lightening list.activeSelectionBackground via workbench.colorCustomizations, which affects all native lists too.

Image

BTW: I would like / expected to see the commands in the rows context-menu, too.

tobiasfranz-jakala avatar Aug 03 '26 12:08 tobiasfranz-jakala

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

github-actions[bot] avatar Sep 30 '26 10:09 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Nov 26 '26 14:11 github-actions[bot]