add ranked search to pql sidebar with DSL toggle
test / unit + widget + golden + a11y (push) Failing after 33s
test / integration_test (xvfb) (push) Has been skipped
test / bundle smoke (xvfb 5s) (push) Has been skipped
test / daemon subprocess + web WASM smoke (push) Has been skipped

Search tab defaults to ranked text search via pql search — debounced
300ms, scored results with visual score bar.  DSL toggle switches to
raw PQL query mode for SQL-like queries.  Clicking a search result
opens it in the markdown context viewer.

Adds pql.search IPC command and PqlClient.search method.  Controller
gains SearchMode enum and search() method alongside existing runQuery.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-04-23 22:22:16 +02:00
co-authored by Claude
parent 2f7f797288
commit 226520cfce
5 changed files with 194 additions and 17 deletions
+5 -4
View File
@@ -86,10 +86,11 @@ heading, and (b) bumping `pubspec.yaml` `version:` in the same commit.
- `files.read` IPC command for reading file content by path.
- pql sidebar restructured: Search tab (PQL DSL query) is the
default left tab; Markdown tab (filtered to `.md` files) on the
right. Clicking a markdown file opens it in the context panel
markdown viewer with bidirectional focus highlighting.
- pql sidebar restructured: Search tab is the default left tab with
ranked text search (debounced, scored results with score bar) and
a DSL toggle for raw PQL query mode; Markdown tab (filtered to
`.md` files) on the right. Clicking a result opens it in the
context panel markdown viewer with bidirectional focus highlighting.
- Graph view in context panel — lists files with inbound/outbound
link counts from `pql search --connections` (T-39).