Compare commits

...

7 Commits

Author SHA1 Message Date
Tuan-Lung Wang
5396defe86 Add transcript search navigation 2026-03-16 21:54:18 -07:00
Tuan-Lung Wang
21191e1707 Add transcript details toggle 2026-03-16 16:07:46 -07:00
Tuan-Lung Wang
06a22de9a2 Lighten transcript prompt highlight 2026-03-16 15:51:35 -07:00
Tuan-Lung Wang
cb10b24f6d Polish transcript browser navigation 2026-03-16 15:05:27 -07:00
Tuan-Lung Wang
be0d4e0505 Add transcript folding previews 2026-03-16 14:35:32 -07:00
Tuan-Lung Wang
0ffa9c8103 Add transcript anchor navigation pane 2026-03-16 13:51:58 -07:00
Tuan-Lung Wang
fa8ced9304 Add transcript browser side pane shell 2026-03-16 13:35:17 -07:00
8 changed files with 1908 additions and 75 deletions

View File

@@ -156,8 +156,12 @@ impl App {
..
}) = event
{
// First Esc in transcript overlay: begin backtrack preview at latest user message.
self.begin_overlay_backtrack_preview(tui);
if self.overlay.as_ref().is_some_and(Overlay::consumes_escape) {
self.overlay_forward_event(tui, event)?;
} else {
// First Esc in transcript overlay: begin backtrack preview at latest user message.
self.begin_overlay_backtrack_preview(tui);
}
Ok(true)
} else {
// Not in backtrack mode: forward events to the overlay widget.

File diff suppressed because it is too large Load Diff

View File

@@ -9,6 +9,6 @@ expression: term.backend()
"~ "
"~ "
"───────────────────────────────── 100% ─"
" ↑/↓ to scroll pgup/pgdn to page hom"
" q to quit "
" <↑>/<↓> to scroll <pgup>/<pgdn> to pa"
" <q> to quit "
" "

View File

@@ -1,6 +1,5 @@
---
source: tui/src/pager_overlay.rs
assertion_line: 798
expression: term.backend()
---
"/ S T A T I C / / / / / "
@@ -8,6 +7,6 @@ expression: term.backend()
"should wrap when "
"rendered within a narrow"
"─────────────────── 0% ─"
" ↑/↓ to scroll pgup/pg"
" q to quit "
" <↑>/<↓> to scroll <pg"
" <q> to quit "
" "

View File

@@ -2,14 +2,15 @@
source: tui/src/pager_overlay.rs
expression: snapshot
---
/ T R A N S C R I P T / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
• Added foo.txt (+2 -0)
1 +hello
2 +world
• Added foo.txt (+2 -0)
1 +hello
2 +world
─────────────────────────────────────────────────────────────────────────── 0% ─
↑/↓ to scroll pgup/pgdn to page home/end to jump
q to quit esc to edit prev
/ T R A N S C R I P T / / / / / / / / / / / ┌User Prompts──────────────────────┐
• Added foo.txt (+2 -0) │No user prompts yet. │
1 +hello │ │
2 +world │Add another turn │
│and reopen Ctrl+T. │
• Added foo.txt (+2 -0) │ │
1 +hello │ │
2 +world │ │
─────────────────────────────────────── 0% ─└──────────────────────────────────
<↑>/<↓> to scroll <pgup>/<pgdn> to page <home>/<end> to jump
<q> to quit <a> hide side panel <e> expand all <d> show details <tab> s
</>/<?> to search

View File

@@ -9,6 +9,6 @@ expression: term.backend()
"~ "
"~ "
"───────────────────────────────── 100% ─"
" ↑/↓ to scroll pgup/pgdn to page hom"
" q to quit esc to edit prev "
" "
" <↑>/<↓> to scroll <pgup>/<pgdn> to pa"
" <q> to quit <a> hide side panel <e>"
"</>/<?> to search "

View File

@@ -0,0 +1,20 @@
---
source: tui/src/pager_overlay.rs
expression: term.backend()
---
"/ T R A N S C R I P T / / / / / / / / / / / / / / / / / / / / / / / / / "
" "
" Find the foo item "
" "
" "
" Details... "
" "
"• Final answer that also mentions foo. "
" "
" 2. Other prompt "
"• (no response yet) "
"~ "
"───────────────────────────────────────────────────────────────── 100% ─"
" <↑>/<↓> to scroll <pgup>/<pgdn> to page <home>/<end> to jump "
" <q> to quit <a> hide side panel <e> expand all <d> show details "
"Search /foo 1/3 Find the foo item <n>/<N> <esc> clear "

View File

@@ -9,6 +9,6 @@ expression: term.backend()
" "
"gamma "
"───────────────────────────────── 100% ─"
" ↑/↓ to scroll pgup/pgdn to page hom"
" q to quit esc to edit prev "
" "
" <↑>/<↓> to scroll <pgup>/<pgdn> to pa"
" <q> to quit <a> hide side panel <e>"
"</>/<?> to search "