mirror of
https://github.com/NeuralNomadsAI/CodeNomad.git
synced 2026-10-21 05:06:37 +00:00
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:
parent
da0dc279a7
commit
00f39ada16
4 changed files with 7 additions and 55 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue