fix(gallery): keep thread minimap within its gutter
The thread minimap gallery play hovered [data-tick="4"], but the default 760 px agent-pane width leaves only an 18 px gutter. ThreadMinimap intentionally hides below its 28 px gutter threshold, so the gallery had no tick to hover.
This sets the entry's narrow/normal/wide widths to 820/960/1180 px and records why the narrow fixture remains above that intentional visibility threshold. The product threshold and component behavior are unchanged.
Validation:
- Bun syntax build for
threadMinimap.gallery.ts git diff --check
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.
Summary by cubic
Fixes the thread minimap gallery so the hover play succeeds even when the agent pane is at its default width, and gives the minimap extra room for scrollbars.
The gallery previously used the default 760 px agent-pane width, which left an 18 px gutter—below the minimap's 28 px visibility threshold—so no tick existed to hover. The entry now sets explicit widths (880/1040/1240 px), and the fixture note documents why the narrow width stays above that threshold. The hover play also tolerates the hidden base widths the diff runner replays. Product behavior is unchanged.
[!NOTE]
Low Risk
Gallery fixture and play-script changes only; minimap visibility rules in the product are untouched.
Overview
Fixes the thread minimap gallery so the long-chat hover play can run at realistic pane widths without changing product minimap behavior.
The entry now sets explicit narrow/normal/wide widths (880/1040/1240 px) so the narrow fixture stays above the 28 px gutter threshold where ThreadMinimap hides the rail. The variant note documents that constraint.
The play script skips hover when [data-tick="4"] is missing, so PR diff replay against older default widths does not fail when the minimap is intentionally hidden.
Reviewed by Cursor Bugbot for commit 6e4b19688934b6b385b43cbc22f4e04a27b0486d. Bugbot is set up for automated code reviews on this repo. Configure here.