Repository navigation
Transcript rail: back to one tick per prompt; long chats scroll the rail - #1049
Merged
Merged
Conversation
Reverts #1034's ten-tick rail and hover prompt list. The rail draws every prompt at its natural spacing again; once the stack outgrows its window (70% of the band, at most 640px) it scrolls like Codex's prompt rail: wheel over it, edges fade, and it follows the prompts on screen when those change. Keeps #1034's band centring and the pinned-to-bottom lighting fix. Adds the rail-fixture example (offline long chat, --capture films it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This replaces #1034's ten-tick rail and hover prompt list. The rail goes back to how it was, one tick per prompt, and a conversation too long for it now scrolls the rail, the way Codex's prompt rail does.
Back to the old rail
Scrolling, like Codex
min(70vh, 40rem).Kept from #1034
Screenshots below are offscreen renders from the new
rail-fixtureexample. The conversation has 150 prompts and is pinned to the bottom.The rail at rest, scrolled to the latest prompts, with the ones on screen lit:
Hovering a tick:
After scrolling over the rail (the transcript didn't move):
After clicking a tick: the transcript jumped and the rail kept the lit prompts in view:
Light theme:
An eight-prompt chat looks exactly like the old rail:
Not ported from Codex: dragging along the rail to scrub through prompts.
Testing
cargo test -p zeron-ui --lib rail::testspasses (15), with new tests for the window height and for how far the rail follows.cargo run -p zeron-ui --example rail-fixture --features appshots-fixture -- --capture <dir>renders the screenshots.ZERON_RAIL_PROMPTSsets the length andZERON_PALETTE_LIGHT=1switches to the light theme.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.