Files
kandev/docs/plans/entity-reference-composer/task-10-frontend-search-client.md
T
José Almeida 7de788ceed feat: add cross-integration entity references (#1862)
* 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
2026-07-23 09:03:56 +01:00

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
09-backend-composition
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.ts
  • apps/web/lib/api/domains/mentions-api.ts
  • apps/web/lib/api/domains/mentions-api.test.ts
  • apps/web/hooks/use-entity-reference-search.ts
  • apps/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.