Repository navigation
refactor(tui): reuse transcript renderer in resume preview and use dot separators - #1243
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
…t separators Use middot (ASCII pipe) separators in hint bars and /resume metadata rows instead of the powerline statusline chevron, share Message-to-TranscriptEntry conversion and transcript rendering for the /resume preview pane, add horizontal dividers separating the search bar and footer from the list/preview split, and regenerate the affected TUI previews.
Use hint_separator in the /resume rename footer so ASCII mode renders pipes, order helpers top-down in resume.rs, and add short-viewport coverage for divider omission.
hakula139
force-pushed
the
refactor/polish-resume-picker-layout
branch
from
December 6, 2026 13:18
82cb090 to
3c256c8
Compare
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.
Summary
status_separator(\u{e0b1}in thenerdpreset) in hint bars (render_hints,/rewindfooter,/resumefooter,/resumerename prompt) and/resumesession metadata rows withhint_separator(ascii)(" · ", or" | "in ASCII mode).messages_to_transcript_entriesbetweenApp::replace_messagesand/resumepreview loading (ResumeState::preview_entries), and render the/resumeright preview pane viatranscript::render_preview_entries(wrappingbuild_transcript_lineswith local Markdown caches andexpanded = false) so previews match the live resumed transcript instead of customYou:/Assistant:formatting.─/-, with┬/┴/+junctions at the wide split border) separating the/resumesearch bar and footer from the list and preview body while preserving accurateHitMapcoordinates and omitting dividers on short viewports (content_area.height < 4).DeletealongsideCtrl+Din/resumeto open the session delete confirmation prompt, keepingCtrl+D deletein the footer hint bar, and documentDeleteindocs/reference/tui/keybindings.md.docs/assets/tui/resume-picker.webp,docs/assets/tui/rewind-picker.webp, anddocs/assets/previews.sha256and visually inspect the updated WebP renders.Test plan
nix develop -c run-hooks(all 20 hooks passed:clippy,rustfmt,cspell,dprint,markdownlint-cli2, etc.)cargo test -p ox-tui(314 unit tests including mouse, fullscreen, narrow, layout, short-viewport, andDeletekey tests + 2tui_previewsSHA-256 parity tests passed)cargo doc --no-deps -p ox-tui(0 warnings)docs/assets/tui/resume-picker.webpanddocs/assets/tui/rewind-picker.webp