Command Palette Patterns
No Match Notice
A static no-command-match notice shows deploy query, No commands found result, Clear search next step, and No match preview status.
Program
No-match states should show the query, the empty result, and a clear recovery action.
no_command_match_notice.html
Visuals: captured from real browser rendering
<section class="no-command-match" aria-labelledby="no-command-match-title"><h2 id="no-command-match-title">No command match notice</h2><div class="empty-card" aria-label="Static no command match preview"><span>deploy</span><span>No commands found</span></div><dl>
<div><dt>Query</dt><dd>deploy</dd></div>
<div><dt>Result</dt><dd>No commands found</dd></div><div><dt>Next step</dt><dd>Clear search</dd></div>
<div><dt>Status</dt><dd><span class="badge">No match preview</span></dd></div></dl>
<p class="check">Learner check: the recovery step is visible without live search.</p>
<p class="note">Static no command match notice only; no key capture, keydown handler, global shortcut, focus trap, dialog API, modal API, search indexing, fuzzy matching, command execution, routing, navigation, route, API, network, storage, cookie, script, event listener, form submit, input, textarea, contenteditable, analytics, timer, object URL, download, service worker, account/session behavior, live command palette, live search, live navigation, or live submission runs.</p></section>
<style>
.no-command-match { display: grid; gap: 10px; max-width: 38rem; border: 1px solid #b45309; padding: 12px; background: #fffbeb; }
.empty-card { display: grid; gap: 6px; justify-self: start; min-width: 220px; border: 1px solid #b45309; background: #ffffff; padding: 10px; }
.empty-card span:first-child { color: #475569; border-bottom: 1px solid #fde68a; padding-bottom: 4px; }
.no-command-match dl { display: grid; gap: 8px; margin: 0; }
.no-command-match dl div { display: grid; grid-template-columns: 8rem 1fr; gap: 8px; }
.no-command-match dt { color: #475569; }
.no-command-match dd, .check, .note { margin: 0; }
.badge { border-radius: 999px; background: #fde68a; padding: 2px 8px; }
.note { color: #475569; }
</style>
Label the no command match notice.

The section is labelled by its visible heading. Show query row.

The query is exact pinned data. Show result and next step rows.

The result and next step are exact pinned data. Render no-match-preview status.

The status badge says this is a no match preview. Check no-match readback.

The check says the recovery step is visible without live search. Check no-match honesty.

Query, result, next step, status, and no live command.
step flow
step(1) labels the source, step(2) shows the query, step(3) shows result and next step rows, step(4) shows no-match-preview status, step(5) checks the recovery readback, and step(6) checks the honesty note.
no-match readback
The section heading names the no command match notice surface.
empty state rows
Query, Result, Next step, and Status values are exact pinned data.
no live search
The lesson should not imply key capture, keydown handlers, global shortcuts, focus traps, dialog APIs, modal APIs, search indexing, fuzzy matching, command execution, routing, navigation, routes, APIs, networks, storage, cookies, scripts, event listeners, form submits, inputs, textareas, contenteditable surfaces, analytics, timers, object URLs, downloads, service workers, account/session behavior, live command palettes, live search, live navigation, or live submissions.