You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0b8ba41
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Chat: surface the full / command catalog, grouped by Mac buckets with styled rows (#893)
* Chat: group the / command palette by Mac buckets with styled rows
Enhance the inline "/" slash command palette (added in #890) so it matches
Mac's grouped, styled command menu:
- Group commands under Mac's Session / Model / Tools / Agents display
buckets with uppercase category subheadings; the run options
(verbose/reasoning/fast/trace/usage/elevated/exec/think/model) surface
under "Model" instead of being truncated off a flat alphabetical list.
- Mac-style rows: icon, /name (bold, default font), [args] hint (mono,
muted), right-aligned description, and an accent-tinted "N options" badge.
- The palette filters and ranks live as you type; relevance order is
preserved within each group so the top match stays the default Enter
target.
- Auto-scroll the keyboard-selected row into view during arrow navigation.
Bucket mapping mirrors Mac's mapCategory + CATEGORY_OVERRIDES; ordering
mirrors CATEGORY_ORDER. No item cap (the popup ScrollViewer bounds height,
so no bucket is silently dropped). No custom "Run options" menu (Mac has
none) and no sessions.patch UI plumbing.
Co-authored-by: Copilot <[email protected]>
* Chat palette: match highlight, opaque flyout, global-best selection
UI polish for the grouped "/" command palette plus the Codex/ClawSweeper
review fix:
- Highlight the matched query substring in the command name + description
with a soft accent tint and white (primary) text. Uses TextHighlighter
(rectangular, layout-safe); the alpha is baked into the Color because
TextHighlighter ignores SolidColorBrush.Opacity.
- Make the slash flyout background opaque, matching the composer textbox
(TextControlBackground composited over the base surface) instead of a
lighter floating surface that showed chat content through it.
- Hide the flyout entirely when nothing matches (drop the "No matching
commands" hint).
- Preserve the GLOBAL best Search match as the default Enter/Tab target
across grouped buckets. Grouping renders by Mac bucket order, but the weak
first-bucket row is no longer the default selection; keyboard selection now
defaults to the top-ranked match via ChatCommandCatalogView.GroupForPalette
/ GroupedPalette.DefaultSelectionIndex (addresses ClawSweeper review at
OpenClawComposer.cs:474). Adds cross-bucket regression tests.
Co-authored-by: Copilot <[email protected]>
* Fix hidden slash palette key handling
Only trap composer keys while the slash command catalog is still loading and the loading popup is visible. Once the catalog is loaded with no matching command, let no-match slash input behave like ordinary text.
Co-authored-by: Copilot App <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Scott Hanselman <[email protected]>
0 commit comments