Files
substrata/components/shell
CatoandClaude c59cd1dc11 refactor(palette): search as you type through searchkit's useSearchAsYouType (#380)
The command palette hand-rolled its own debounce, abort and stale-answer
drop. @bitbaum/searchkit/react's useSearchAsYouType does exactly that, and
the org rule is that a package capability is used, not re-implemented. The
local useSearch is gone; the palette keeps its cache (an earlier query
answers without a request), its keyboard behaviour and its rows.

What the reader sees: the last research results stay on screen while a
newer query loads instead of blanking out, the "All N results" count only
shows for the query actually answered, and a failed research search now
says so on the last row instead of failing silently.

package-plan.json binds CommandPalette.tsx to useSearchAsYouType under the
search block; README describes the new behaviour.

Claude-Session: https://claude.ai/code/session_019MDtmuvTGrpo3VChP3skH8

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 08:40:56 +01:00
..