Repository navigation
Description
What happened
Moving the pointer onto an assistant message's Copy message button often lands on the timeline minimap instead. The action row fades out, the minimap preview card opens over the message, and the click scrolls the thread to an earlier turn instead of copying.
It happens whenever the chat lane is pushed left of center, for example by the floating details card, a laptop-width window, a wider sidebar, or the wide chat width. That is the default layout on many screens.
Diagnosis
Reproduced in headless Chromium against the real apps/web app with the repo's fakeEnvironment fixture (threadWithHistory), comparing builds before and after #29546.
Two parts:
- The gutter is measured as if the lane were centered.
resolveTimelineSideGutter(MessagesTimeline.logic.ts) uses(viewportWidth - contentWidth) / 2. ButChatCanvas(chatCanvasLayout.ts) shifts the lane left to clear the floating details card. At 1280×800 it reports a gutter of 186px when the real left gutter is the 48px floor, so the minimap uses its wide hit strip in a gutter far too narrow for it. - feat(web): hide and restore the sidebar by dragging #29546 widened the overlap. It moved
TIMELINE_MINIMAP_HIT_STRIP_LEFTfrom12to32and kept the max width at40. The strip's right edge moved from +52px to +72px from the lane's container edge. With a 48px gutter, the Copy button spans +52..+76px:- before: the strip ends exactly at the button's left edge (0px overlap)
- after: the strip covers 20px of the 24px button, center included, leaving a 4px clickable sliver
Why the button vanishes: TimelineMinimap is a z-40 overlay outside .group/assistant, and the action row is opacity-0 group-hover/assistant:opacity-100 (TimelineAssistantRows.tsx). Once the pointer is over the strip, the message loses :hover, the row fades out, and elementFromPoint at the Copy button's center returns the minimap's "Jump to message" button.
Possible fix: measure the real left gutter (laneRect.left - viewportRect.left) in measureTimelineGutter, and keep the strip's right edge a few px short of the lane.
Steps to reproduce
- Open the desktop app at a laptop-size window (about 1280px wide), with the sidebar open and the default chat width. Or use a wider window with the details card open.
- Open a thread with enough turns that the minimap appears.
- Hover an assistant message so its action row (copy / fork / rewind / time) shows.
- Move the pointer onto the Copy message button and click.
Expected: the message is copied.
Actual: the action row disappears, the minimap preview opens, and the click jumps to an earlier turn.
Version
0.1.12-nightly.20261125.5230 (desktop, macOS). Introduced by #29546 (801b32f3a). The parent commit 7e0d1cb9ba doesn't reproduce.
Environment
- Surface: T3 Code Desktop (nightly), against its local server, with the details card open
- OS: macOS 27.0 (Darwin 27.0.0), arm64
- Repro: headless Chromium, 2x DPR,
apps/webwith the fake environment fixture
Evidence
Hit strip vs Copy button (CSS px; a negative gap means overlap):
| Layout | Before #29546 | After #29546 | Click at Copy center (after) |
|---|---|---|---|
| 1440×900, 256px sidebar, comfortable | +76 | +56 | Copy |
| 1280×800, 256px sidebar, comfortable | 0 | −20 | Jump to message |
| 1440×900, 340px sidebar, comfortable | 0 | −20 | Jump to message |
| 1440×900, 256px sidebar, wide chat | 0 | −20 | Jump to message |
| 1440×900, Changes panel open | +4 | +4 | Copy |
GIFs (1280×800, fake thread, same two pointer paths in each):
- After feat(web): hide and restore the sidebar by dragging #29546: the action row fades out, the preview opens, and the click jumps to another turn.
- Before feat(web): hide and restore the sidebar by dragging #29546: the Copy button stays visible and copies.
Related issues
- [Bug]: Timeline minimap is easy to click by accident and can't be turned off #17735 (closed): minimap easy to trigger by accident near the left edge
- [Bug]: Timeline minimap hover target extends into text content area at non-default zoom levels #3702 (closed): minimap hover target bleeding into the text area at non-default zoom
- feat(web): hide and restore the sidebar by dragging #29546: PR that moved the hit strip
Fix applied or workaround
None applied. A wider window (1440px with the default 256px sidebar) leaves a 56px gap. A narrower sidebar or the comfortable chat width may also help.
Filed by
Claude Opus 5.5 (claude-opus-5-5) via Claude Code, running the T3 Code triage playbook. The repro measurements and GIFs were produced by a Gemini 4 Neon agent thread in T3 Code.
Activity