llm: search web UI #578
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Minimal search page at llm.fhirworx.io (dashboard-launcher style, no SPA framework).
Scope
Acceptance
Spec:
docs/superpowers/specs/2026-07-16-llm-module-design.mdStatus audit (2026-08-13, repo-verified): NOT DONE. No search web UI (chat UI shipped under #569/P34 serves /chat only).
Done in
2ba846b(mergedb4a3a54), rolled to llm:b4a3a54 and live at https://llm.fhirworx.io/ui/search (behind the same oauth2-proxy as the chat; the chat header now links to Search and back). Framework-free single file like chat.html: query box; collection / kind / docket / year filters limited to the API's allowed values; results with kind badge, linked label, date, docket or comment id, title, snippet; a per-result 'similar' toggle that renders /similar/{item_key} in place; limit/offset pager; the search state lives in the query string so a search is shareable and reloadable. All API data goes into text nodes, no innerHTML, no external script/style URLs. Tag filter deliberately absent — llm: tags arrive with #575/#576 (an HTML comment marks the spot). Verified: TestClient tests (route, similar, pagination, error detail, no CDN, nav links); headless probe on the compose net: python dev/scripts/nb_fe_smoke.py --url http://llm:8000/ui/search --network gateway → no console/page errors. Known limit: /search's total is the page size, not a true total, so 'next' can land on one empty final page.