Repository navigation
improve(ui): refine the slash command menu - #197817
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR restyles slash-command menus, adds action titles and current model/effort values, and adjusts New Session menu placement. Example: Open the slash menu with effort set to Medium.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored draft offers a coherent UI refinement, and source review found no blocking defect. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe shared Control UI composer menu receives command definitions, draft state, and model-selection facts, renders suggestions for Chat and New Session, and delegates activation to the existing command owner. flowchart LR
A[Composer draft] --> B[Existing slash menu state]
C[Command catalog] --> B
D[Model and effort facts] --> E[Shared menu presentation]
B --> E
E --> F[Existing command activation]
Technical reviewBest possible solution: Land the scoped presentation refinement through the existing menu owners after draft validation is complete. Do we have a high-confidence way to reproduce the issue? This is an intentional UI refinement rather than a reported malfunction; supplied screenshots visibly establish the before/after presentation. Is this the best way to solve the issue? The change uses the existing menu renderer, command state, selection resolvers, and translation catalogs without adding mutation authority or persistent state. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d3ce53dde359. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +333, Tests +66. Total +399 across 12 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 12, 2026, 11:34 AM ET / 16:34 UTC. |
Reuse the saved model presentation and retained catalog preparation in slash menus, and match displayed skill titles. Co-authored-by: Vyctor H. Brzezowski <[email protected]>
Share localized titles between matching and rendering while retaining canonical command invocations and lazy menu chunks. Co-authored-by: Vyctor H. Brzezowski <[email protected]>
Keep command payload, draft and access assertions while selecting the approved visible labels. Use the platform-specific start-of-text shortcut for leading-command scenarios. Co-authored-by: Vyctor H. Brzezowski <[email protected]>
|
Merged via squash auto-merge.
|
Refine slash command rows, current model and effort labels, and argument choices. Share localized titles between search and rendering while preserving canonical invocation, saved model snapshots, keyboard selection, and lazy menu loading. Validated with 70 focused tests, 15 command-flow browser cases, 3 Gateway HTTP fixture cases, and 13 settings skeleton cases, plus production UI build and manual responsive light/dark checks. The maintainer accepted the asset-size budget changes and the documented pre-UI fixture setup/job-deadline interruption; no matching-baseline failure is claimed. Co-authored-by: Vyctor H. Brzezowski <[email protected]>
What changes
Refines the slash command menu with larger icons and text, descriptions beside command names, quieter group labels, and chevrons for available argument choices. Uses existing action titles and displays the current model and effort. Argument choices show a check for the current value without repeating the command icon or invocation. Loading rows keep the same spacing, and New Session anchors the menu to the composer. Search, typing, selection, and command activation stay the same.
Evidence
Validation and behavior fixes
Search and rendering now share localized command titles, so
/effort,/speed, translated titles, and displayed skill names find the matching command. Selecting a result still uses the canonical invocation. Saved model labels share the model picker's snapshot presentation, and unrelated composer updates retain catalog preparation.sessions.patch. Both the model controls and the command menu displayed High afterward.CI assessment
The maintainer accepted the reported CSS/JS size-budget increases for this design. The remaining failed E2E shard exhausted its fixture-setup/job deadline before the fresh-visit test created a browser context or executed a UI callback; its Gateway fixture owners are byte-identical to incoming source and live main. The five other ordinary E2E shards passed. The settings skeleton suite was cut off by the job deadline without an assertion failure and passed all 13 cases in isolation; the fresh-visit HTTP suite separately passed all 3 cases. This is a documented setup-infrastructure/suite-interruption exception, not a claim that the same failure was reproduced on baseline.
Exact CI run · asset-size budget · interrupted E2E shard