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
2.4 KiB
2.4 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | ||
|---|---|---|---|---|---|---|---|---|
| 12-message-reference-ui | Reference submission and sent rendering | completed | 4 |
|
plan.md | ../../specs/ui/entity-reference-composer.md |
Task 12: Reference Submission and Sent Rendering
Acceptance
- Named composer submit payload carries references through direct send and queue add/update without stale metadata.
- Sent and queued generated links render as clickable chips only when matched by typed metadata; ordinary Markdown stays unchanged.
- Existing files/prompts/plan/task mentions, passthrough submission, attachments, comments, and queue behavior retain parity.
Verification
cd apps && pnpm --filter @kandev/web test -- hooks/use-message-handler.test.ts components/task/chat/use-chat-input-state.test.ts lib/api/domains/queue-api.test.ts components/task/chat/messages/chat-message.test.tsx components/task/chat/queued-ghost-message.test.tsx components/task/passthrough-chat-composer.test.ts
cd apps && pnpm --filter @kandev/web typecheck
Files likely touched
apps/web/components/task/chat/chat-input-container.tsxapps/web/components/task/chat/use-chat-input-container.tsapps/web/components/task/chat/use-chat-input-state.tsapps/web/components/task/chat/chat-input-area.tsxapps/web/hooks/use-message-handler.tsapps/web/hooks/domains/session/use-queue.tsapps/web/lib/api/domains/queue-api.tsapps/web/lib/types/http.tsapps/web/lib/state/slices/session/types.tsapps/web/components/task/chat/messages/entity-reference-chip.tsxapps/web/components/task/chat/messages/chat-message.tsxapps/web/components/task/chat/queued-ghost-message.tsxapps/web/components/task/passthrough-chat-composer.tsxapps/web/hooks/use-message-handler.test.tsapps/web/components/task/chat/use-chat-input-state.test.tsapps/web/lib/api/domains/queue-api.test.tsapps/web/components/task/chat/messages/chat-message.test.tsxapps/web/components/task/chat/queued-ghost-message.test.tsxapps/web/components/task/passthrough-chat-composer.test.ts
Dependencies
Tasks 08 and 11.
Inputs
Spec persistence/scenarios; backend metadata contract; existing prompt mention rendering and queue metadata shapes.
Output contract
Report payload migration/render matching/queue edit semantics, files changed, exact tests/typecheck, blockers, risks, and mark task/plan done.