Files
pad/web/src
xarmian e214d7b849 feat(web): surface body-content matches in command palette (TASK-2008) (#839)
The palette's local (MiniSearch) path indexes title/ref/tags/fields but
not the rich-text body, so a query that only matches an item's content
showed nothing unless the user knew the hover-only `body:` tooltip. On
sparse local hits, fire a debounced (250ms), current-workspace-scoped
server FTS query and render the extra, deduped hits under a "Matches in
content" section. Request-id token drops stale responses; the section
(and its `.results` container) collapses to the honest "No results"
state when it resolves empty. In all-workspaces mode the section is
labeled "current workspace" since the fetch is a single scoped request.

Also replaces the misleading empty-state tip ("...or any text") with an
honest, always-visible `body:` hint (the old hint was a hover tooltip,
invisible on mobile).
2026-07-07 16:17:41 -04:00
..
2026-03-26 01:52:36 +00:00