Agent chat: the minimap's hover card is glass, not a solid card
Leo, 2026-10-21: hovering a mark in the transcript's minimap shows a SOLID card (title, bookmark, three-line preview).
Change
.acpmux-minimap__card(threadMinimap.css) used to fill with--acpmux-minimap-card, which is opaque. It is now glass, like the chat's other hover cards (the link preview card and the tooltips):background: var(--tooltip-tint, …)overbackdrop-filter: var(--surface-blur).- It keeps its hairline rim and the raised elevation,
--elevation-2(subtle-elevation.test.ts). - Reduce Transparency makes the tint the solid popup surface and turns the blur off through the shared tokens (pages/shared/desktop.css).
- No accent color, no orange.
- The minimap itself is off by default after #23735. This PR changes the card for the
fullandcompactarms that dogfood keeps.
Testing
- Command:
bun test test/thread-minimap-card-glass.test.ts.- Red on 19e562874fd (test only): "the minimap card is the tooltip glass" fails.
- Green at the head, together with
test/subtle-elevation.test.ts: 38 pass.
bun run checkpasses at the head (oxfmt, oxlint, type check, check-layers). prepush-gate is clean.
Observed / Not run
- Observed: the tests and checks above, run on huge-blue.
- Not run: a gallery capture. The gallery advisory run on this PR renders
agent-pane.thread-minimapwith the hover card under each arm.
Changelog
- Changed: the thread minimap's hover card is frosted glass instead of a solid card.
Webview only; no native UI change.
Agent session: cosmic-gray
🤖 Generated with Claude Code
![View with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3-3x.png)
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Changes the thread minimap's hover card from a solid opaque fill to the same frosted-glass treatment as the chat's other hover cards (link preview, tooltips): the tooltip tint over the shared blur. It keeps its hairline rim and raised elevation; Reduce Transparency swaps the glass for the solid popup surface through the shared tokens. The minimap remains off by default, so this affects only the full and compact arms. Adds a test asserting the card uses the tooltip glass and draws no accent.