Repository navigation
feat(tui): centre the launchpad and give its parameters their own keys - #1377
Merged
Merged
Conversation
The launchpad's block now sits in the middle of the body instead of hanging off the top, and the parameter row carries what the desktop composer carries: workspace, model, reasoning effort and approval mode. The separate permission chip is gone - no other client offers that choice, and a TUI-only option is one the reader has to learn twice. - ctrl+t / ctrl+s / ctrl+l open the thinking, approval-mode and workspace choosers; /thinking, /mode and /workspace open the same menus when typed, so every verb that names a choice pops a list instead of cycling silently. - the approval menu lists the desktop's four tiers with their one-line explanations; /workspace lists every directory this client has a conversation in and creates one from the path typed into its search line. - a mode chosen on the launchpad is staged and applied once the first message creates the session: set_sandbox_policy needs a session like the other setters, so it used to answer with an error. - the rail has a collapse/expand button on its outer edge, and leaves that edge behind as the way back; a focused rail spends its last row naming the keys it answers. - notices are painted in amber, not error red: a workspace chosen is not a failure, and the red line under a successful choice read as one. - the launchpad's shortcut row carries the effective bindings, wraps instead of clipping, and each entry is clickable.
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.
What this carries
One TUI commit (
249c5fab, 20 files / +1237−287): the launchpad is centred and its parameters get their own keys.The launchpad. Its block now sits in the middle of the body rather than hanging off the top; on a short screen the wordmark is given up first and the prompt and parameter row are kept (verified down to 40×12).
Parameters carry what the desktop composer carries — workspace, model, reasoning effort and approval mode. The separate permission chip is gone: no other client offers that choice, and a TUI-only option is one the reader has to learn twice.
/permissiongoes with it.Every verb that names a choice pops a list.
ctrl+t/ctrl+s/ctrl+l(thinking level, approval mode, workspace), and/thinking//mode//workspaceopen the same menus. The approval menu lists the desktop's four tiers with their one-line explanations;/workspacelists every directory this client has a conversation in, and creates one from the path typed into its search line.F1and the launchpad's shortcut row show the key that is currently bound, not the shipped default.Two bugs went with it. A mode chosen on the launchpad used to answer
session not found—set_sandbox_policyneeds a session like the other setters — so it is now staged and applied when the first message creates the session. And the notice line drew every result in error red, so a successful工作区 · D:\android-agentread as a crash; red is now reserved for real failures.The rail gains a collapse/expand button on its outer edge and leaves that edge behind as the way back; a focused rail spends its last row naming the keys it answers.
Where it fits
This is the third pass over the same launchpad in an evening: #1373 named workspaces and put the workspace chip on the launchpad, #1375 removed the icon by the user's decision, and this one centres the block and completes the parameter row. Each was the user's call in the session where it was made; nothing here reverses the earlier two — the icon stays gone and the chip stays.
Verification
Run here on this exact tree, not inherited from the report:
cargo test -p future-tui --lib→ 1234 passed, 0 failed.cargo fmt --checkandcargo clippy -D warningsclean; the session also ranworkbench_interaction's pointer hit-test at 120×38 and 40×12 with zero findings, andmake check-docspasses. CI additionally compiles and tests thetui-clitarget on Linux and Windows.One thing to note in review
The session reports that three early edits landed in the main worktree's
tui/src/workbench/{i18n,mod,picker,preferences}.rsinstead of its own, and that it restored those files to HEAD once it noticed. I checked: the main worktree is clean, and all four files' changes are present in this commit — so nothing was lost, but it is the same class of accident asdocs/gotcha-tools.mdD34 (a relative write resolving against a different directory than the shell's$PWD).