Skip to main content

Module command_palette

Module command_palette 

Expand description

CommandPalette primitive — a searchable command list that narrows as you type.

Enter invokes the selected entry’s on_select with the CRDT handle and root path directly — there is no message layer.

Structs§

ArgumentSpec
When set on an entry, choosing it first collects a free-text argument before it completes: the palette switches into an argument-entry step showing prompt as a heading and an editable field seeded with prefill.
CommandEntry
CommandOutcome
The result of pressing Enter on an entry: its id plus the free-text argument (only Some for entries built with CommandEntry::with_argument). Drained via CommandPalette::take_outcome.
CommandPalette
InputRowLayout
Shared by draw and the layout tests so they can’t disagree.
SearchFilter

Enums§

Filetype
PaletteMode
Which chrome the palette wears.
SearchScope