fix(timeline): space every marker evenly (#1062)

The rail doubled the gap wherever a tool marker started a different message, a collapsed tool group ended or a prompt followed an assistant with tools: a V1 notion of tools belonging to their assistant message. OpenCode V2 records each model call as its own message, so almost every tool started a new group while tools called together stayed tight, giving irregular, pronounced gaps that meant nothing to the reader. Every visible marker now follows the previous one by one uniform gap, and the message-tool bookkeeping is removed.

Validation: render-cost checks the exact 10,000-marker extent with uniform gaps; timeline-tool-filters, history-navigation and system-messages browser tests and the UI typecheck pass.
This commit is contained in:
Pascal André 2026-10-21 03:28:29 +02:00 • committed by GitHub
parent da0dc279a7
commit 00f39ada16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 55 deletions

View file

@ -101,7 +101,7 @@ The timeline uses the same standard native scrollbar as the transcript, with one
ordinary gutter. Marker rectangles give up width to it; fixed-size icons and
vertical geometry never scale with available width. `timeline-virtual-list.tsx`
measures the marker height and gap primitives, computes exact offsets (including
group spacing), and mounts only the visible range. Hidden tools are excluded from
the uniform gaps between markers), and mounts only the visible range. Hidden tools are excluded from
the layout. Browsing offscreen rows cannot change the scrollbar extent.
Manual rail browsing suppresses active-marker reveals until an explicit transcript