Repository navigation
feat(tui): find in the transcript, unseen-row marker, and scrollable expanded output (E) - #546
Conversation
…expanded output (E)
…aging never leaks to the transcript
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b6dd88ae92
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…ches the tail with find open
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 946295ba78
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…w output, and let Alt-R close single reasoning blocks
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d74adef49f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 765f809d1d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…tput that lands as the run ends
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a362cf583d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Change
Section E of the v0.1.11 TUI plan: a transcript that holds up at scale. Closes ENG-1109.
Ctrl-Fopens a one-row find panel in the dock. It searches the focused transcript's prompts, answers, tool calls (command and full output, folded or not) and reasoning, ignoring case.Enter/Shift-Enter(orDown/Up) step and wrap. A match in a folded tool call or reasoning row opens it, scrolls it into view, and places the window on the matching line. It folds again when find moves on, andEsckeeps the current match open. Search reads the session store and the previous frame's block list, so the frame path does no extra work.↓ N new Endfor rows that arrived below while a run is going; resizes and idle re-layouts don't count.Endon an empty composer now returns to the tail, likeCtrl-End. This replaces the in-body↓ N more rowspill.1–8 of 40 · PgUp PgDn, andPgUp/PgDnscroll inside it while the block cursor is on it. Paging never falls through to the transcript, so a long result can't push the answer off screen.Enteropens one.Verification
crates/qq-tui/src/app/scale_tests.rs, plus aviewport.rsunit test): find across folded tool output and reasoning; no-match;Ctrl-Cwith find open; non-ASCII case; closing find on a session change; a stable viewport during streaming and the↓ N newcount;Endback to the tail; scrolling inside an expanded call; paging at the window edge. Each was checked to fail with its piece of the change reverted.tools-expanded-*moved (5 frames), because expanded results now show an 8-row window instead of 3 rows and a count. Theview/tests.rsassertions that pinned the old 3-row cap were updated to the new literal output.cargo xtask check: passed on the head commit.--tui-qa-rootagainst the loopback fake, driven throughscript): typed a prompt,Ctrl-F,zebra,Esc,End,Ctrl-Ctwice. Observed the find placeholder,/ zebra 1 of 1with the matching paragraph scrolled into view,Ctrl-C again to quit, and exit with the resume line.Ctrl-Cwith find open copying instead of quitting.Known impact
Render bench on the final head: five interleaved base/head pairs pinned to CPU 2, median of medians. The host was under I/O pressure (
some avg10about 60%), so tails are noisy.Over the plan's 5% gate:
tool_calls_32_expanded: +19.9% (23.1 → 27.7 µs)tool_calls_32_expanded_inspector: +10.4%Both scenes now draw 8 rows plus a position row per expanded call, instead of 3 rows plus a count. That is more output, not a slower path.
resize_ultra_480x120is +5.9% (505 → 535 µs), just over the gate, with no expected cause.steady_state−3.5%,streaming_run_on_32kb+2.5%; every other scene is within −0.4% to +2.9%.An expanded failed command now shows its whole output in the scrollable window, in its failure color, instead of a 3-row tail; collapsed rows are unchanged.
Five qq-tui
render::testsand oneterminal::testscase fail whenNO_COLOR=1is set in the environment, onmaintoo; unrelated to this change.Review: Codex raised ten findings over four rounds. Each was fixed with a test that fails on the previous head; the reply on each thread names the commit and test.