7de788ceed
* feat: add cross-integration entity references * fix(web): anchor entity reference menu to composer * fix: keep Kandev tasks under @ mentions * fix: address entity reference review findings * test(e2e): use option role for prompt menu * test(e2e): update passthrough mention roles * fix: preserve queued references and paginate Azure PRs
1.3 KiB
1.3 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | |
|---|---|---|---|---|---|---|---|
| 10-frontend-search-client | Frontend reference search client | completed | 4 |
|
plan.md | ../../specs/ui/entity-reference-composer.md |
Task 10: Frontend Reference Search Client
Acceptance
- Typed API client encodes workspace/query/limit/current-task exclusion and preserves normalized provider groups/statuses without closed native-provider unions.
- Hook debounces non-empty queries, aborts or generation-guards stale work, and resets cleanly on workspace/session changes.
- Partial groups remain usable while aggregate failures expose a retryable state without mutating the draft.
Verification
cd apps && pnpm --filter @kandev/web test -- lib/api/domains/mentions-api.test.ts hooks/use-entity-reference-search.test.ts
Files likely touched
apps/web/lib/types/entity-reference.tsapps/web/lib/api/domains/mentions-api.tsapps/web/lib/api/domains/mentions-api.test.tsapps/web/hooks/use-entity-reference-search.tsapps/web/hooks/use-entity-reference-search.test.ts
Dependencies
Task 09 endpoint contract.
Inputs
Spec API/state/failure sections; command-panel abort/debounce search pattern.
Output contract
Report request lifecycle and types, files changed, exact tests, blockers, risks, and mark task/plan done.