fix(console): scrolling up in a streaming transcript stays up (#80) #81
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/gifted-mestorf-47cad3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #80.
The follow-the-tail
@livespecs timed out against the fixture backend. Once they measured the right element they exposed a real bug: scrolling up while an agent streams was undone within a frame. Following used virtua'sscrollToIndex, which re-aims at its target for 150 ms after every measurement, and the revealing row follows every frame.Changes
Transcript.tsx: following is a plain scroll to the bottom. Opening a transcript or rebuilding its fold repeats that scroll each frame until the height holds, and stops when the operator scrolls away. A scroll the transcript made itself does not clear the pin.follow-the-tail.spec.ts: opens the running agent step with the longest transcript (a run at a review gate opens on the review), measures[data-lines]instead of the run rail, and checks the transcript opened at its bottom and that a scroll up left the tail.fakeosfd.py: atail-demorun whose transcript overflows and grows a line every quarter second.transcript-follows-the-tailis proposed and archived;agent-transcriptgains the follow-the-tail requirement.Verification
OSF_URLat a--statusfixture: 92/92 browser in 2 of 3 runs. The other run had one timeout indelegation.spec.ts's subagents-panel spec with four workers; that spec passes 4/4 on its own, with and without this change.The branch predates main's last three commits (#74 run bar); it merges cleanly.
🤖 Generated with Claude Code