Skip to content

fix(tui): open the switcher in the composer slot and correct stale v0.1.11 docs - #551

Merged
lg2m merged 2 commits into
mainfrom
fix/eng-1110-switcher-in-dock
Nov 3, 2026
Merged

lg2m merged 2 commits into
mainfrom
fix/eng-1110-switcher-in-dock

Conversation

@lg2m

@lg2m lg2m commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Change

  • The switcher opens in the composer slot. Ctrl-T (and /sessions, /resume, /agents) now replaces the rule and the composer, as the v0.1.11 design specifies:
    • the rule reads ○ switch ─── 7 sessions (○ agents … N agents for /agents, M of N while filtering);
    • the query is typed on the ┃ rail (┃ type to search sessions… when empty);
    • the SWITCH type to search, Enter opens, … prose row and the search: all sessions row are gone, since the key row already lists those keys;
    • the delete and prune confirmations switch the key row to y delete n keep esc cancel;
    • the composer's draft is untouched and comes back when the switcher closes.
  • Stale docs corrected for what v0.1.11 ships:
    • docs/guide/tui.md: find opens a matched call in place (the windowed result is gone); the switcher layout.
    • docs/design/transcript.md: no Fold/Focus mode or "detail level" left; the Tool Detail example no longer shows a ⋮ (all 20 rows) row the TUI never draws.
    • docs/design/layout.md: height no longer collapses detail budgets; the switcher's dock rows.
    • Website: sessions groups are NEEDS YOU / WORKING / RECENT, the column starts at 90 columns, and the ^O detail hint is gone.
  • docs/plans/0.1.11.md: design-review item 1 is resolved; item 2 (goal panel hints on the status line) ships as built, and single-key goal actions move to v0.1.12.

Part of ENG-1110.

Verification

  • New switcher_takes_the_composer_row_and_hands_the_draft_back_on_close, plus the three updated session_picker_* view tests: all four fail on main and pass here.
  • Goldens moved on purpose: switcher-* at all five sizes (the rule becomes the switcher header, the prose and search: rows go, and ┃ type to search sessions… replaces ┃ Ask QQ…). No other golden moved.
  • cargo xtask check: passed on 99acdf44.
  • Render bench, three interleaved base (be5beb9e) and head pairs pinned to CPU 2, 2,000 samples per scene: switcher_50_open_filter_3_close_cycle 168.1 / 168.3 / 167.4 → 159.8 / 161.0 / 159.1 µs (−4.7%). picker_open_close_cycle 59.6 / 59.9 / 59.4 → 58.4 / 59.0 / 59.0 µs, unchanged.

Known impact

None. The other pickers (/models, /theme, …) keep their header and search rows.

@lg2m

lg2m commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 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-03T05:49:13.765619Z 0cf34d6 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: 99acdf446c

ℹ️ 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 commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator Author

Removed the comment block in 0cf34d6, as AGENTS.md requires. @codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 0cf34d62e1

ℹ️ 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 3, 2026 05:51
@lg2m lg2m added the ci:full label Nov 3, 2026
@lg2m
lg2m added this pull request to the merge queue Nov 3, 2026
Merged via the queue into main with commit 1fcfaff Nov 3, 2026
42 of 43 checks passed
@lg2m
lg2m deleted the fix/eng-1110-switcher-in-dock branch November 3, 2026 06:14
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