Skip to content

feat(tui): show less: inspector only with content, two-press Ctrl-C, /btw new|cancel (D) - #532

Merged
lg2m merged 10 commits into
mainfrom
feat/eng-1108-show-less
Nov 2, 2026
Merged

lg2m merged 10 commits into
mainfrom
feat/eng-1108-show-less

Conversation

@lg2m

@lg2m lg2m commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Change

First pass of v0.1.11 section D ("Show less") in the TUI. Part of ENG-1108.

  • Inspector only with content. Auto opens the inspector from 140 columns only while the focused pane has an expanded tool call or shows /attention / /changes; otherwise those columns go back to the transcript. Alt-I flips what is on screen (pins Hidden or Shown).
  • Ctrl-C. Copies a selection or the block cursor's block, as before. Otherwise it clears a draft; with an empty composer the first press says Ctrl-C again to quit (and N runs will stop when this qq owns the server) and a second press within 2 s quits. Any other event between presses disarms it.
  • Receipts by default. The Rows/Folded tool-detail setting and the tools status item are gone. A settled turn's routine calls fold into a receipt when there are at least three; Ctrl-O opens or closes receipts.
  • Fewer names. /btw new QUESTION and /btw cancel replace /btw-new and /btw-cancel; /clear is no longer an alias of /new. The old spellings reply <name> is gone; use <replacement> for this release and stay protocol-reserved. Ctrl-\ is "toggle the rail".
  • Registry: 47 → 45 commands, 29 → 26 slash spellings, 27 default chords unchanged.

Verification

  • cargo xtask check: passed on c2f96833 (rebased on e4912c68).
  • New tests: two-press quit with an injected clock and the 2 s window, disarm after a copy and after mouse input, run count only when owning the server, /btw new|cancel parsing (including /btw cancel now and /btw newer …), retired-spelling notices, Auto inspector from an expanded call and from /attention, first Alt-I hides an Auto-shown inspector, two routine calls stay rows and three fold. The Ctrl-C-with-draft and /btw new behaviours fail on main.
  • Real binary (verify-qq, --tui-qa-root against the loopback fake, 100×30 pty): one Ctrl-C after a run leaves qq running and shows Ctrl-C again to quit; 1 run will stop; two Ctrl-C exit with the resume hint; typing a draft then Ctrl-C clears it, and two more presses exit.
  • Render bench, three interleaved base/head pairs pinned to CPU 2 (before the follow-up commit): all scenes −2.9% to +4.0%; tool_calls_32_rows −17.6% because it folded, and the bench now opens receipts for that scene so it keeps measuring rows.
  • Goldens: only tools-expanded at 200, 320 and 480 columns move, because Auto now opens the inspector for their expanded calls.

Known impact

  • Behaviour change: a single Ctrl-C no longer quits.
  • Not done for D yet (recorded in the plan): naming each need exactly once on the rule, the one-row summary for agents with no spawn call, and the per-layout frame tests D's acceptance lists.

@lg2m

lg2m commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T03:32:51.577883Z 8519198 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c2f9683353

ℹ️ 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".

Comment thread crates/qq-tui/src/app.rs Resolved
Comment thread crates/qq-tui/src/app.rs Resolved
@lg2m

lg2m commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ca09bdf4cb

ℹ️ 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".

Comment thread crates/qq-tui/src/view.rs Resolved
@lg2m

lg2m commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e30e0b3fb0

ℹ️ 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".

Comment thread crates/qq-tui/src/view.rs Resolved
@lg2m

lg2m commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b5f3d4fc65

ℹ️ 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".

Comment thread crates/qq-tui/src/app.rs Resolved
Comment thread crates/qq-tui/src/app.rs Resolved
@lg2m

lg2m commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3dc62a1075

ℹ️ 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".

Comment thread crates/qq-tui/src/app.rs Resolved
@lg2m

lg2m commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3a27a84010

ℹ️ 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".

Comment thread crates/qq-tui/src/app.rs Resolved
@lg2m

lg2m commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 270b1747e5

ℹ️ 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".

Comment thread crates/qq-tui/src/app.rs Resolved
Comment thread crates/qq-tui/src/view.rs Resolved
@lg2m

lg2m commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 851919898d

ℹ️ 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".

@lg2m
lg2m enabled auto-merge November 2, 2026 03:34
@lg2m lg2m added the ci:full label Nov 2, 2026
@lg2m
lg2m added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit 4500984 Nov 2, 2026
29 checks passed
@lg2m
lg2m deleted the feat/eng-1108-show-less branch November 2, 2026 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant