From 17828095995d130cc4e9b6b843a3a2ed4dec6c51 Mon Sep 17 00:00:00 2001 From: colinislit Date: Mon, 1 Dec 2025 15:51:00 +0100 Subject: [PATCH] feat: integrate docs chat widget in EPD layout (E4) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add DocsChatWidget to epd-layout-client.tsx - Widget now visible for all authenticated EPD users - Update bouwplan status: all epics complete Completes AI Documentatie Assistent feature (E0-E4, 12 stories) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/epd/components/epd-layout-client.tsx | 4 ++++ docs/specs/ai-integratie/bouwplan-ai-docs-assistent-v1.md | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/epd/components/epd-layout-client.tsx b/app/epd/components/epd-layout-client.tsx index fddce17..123f573 100644 --- a/app/epd/components/epd-layout-client.tsx +++ b/app/epd/components/epd-layout-client.tsx @@ -3,6 +3,7 @@ import type { ReactNode } from 'react'; import { EPDHeader } from './epd-header'; import { PatientProvider } from './patient-context'; +import { DocsChatWidget } from '@/components/docs-chat'; interface EPDLayoutClientProps { children: ReactNode; @@ -19,6 +20,9 @@ export function EPDLayoutClient({ children }: EPDLayoutClientProps) {
{children}
+ + {/* AI Documentation Assistant */} + ); diff --git a/docs/specs/ai-integratie/bouwplan-ai-docs-assistent-v1.md b/docs/specs/ai-integratie/bouwplan-ai-docs-assistent-v1.md index 3b7cb01..e96f450 100644 --- a/docs/specs/ai-integratie/bouwplan-ai-docs-assistent-v1.md +++ b/docs/specs/ai-integratie/bouwplan-ai-docs-assistent-v1.md @@ -66,7 +66,7 @@ | E1 | Knowledge Services | CategoryDetector, KnowledgeLoader, PromptBuilder | ✅ Done | 3 | | E2 | API Endpoint | Streaming Claude integratie | ✅ Done | 1 | | E3 | Chat UI Components | Widget, messages, input | ✅ Done | 4 | -| E4 | Integratie & Testing | Widget in EPD, testen | ⏳ To Do | 2 | +| E4 | Integratie & Testing | Widget in EPD, testen | ✅ Done | 2 | **Totaal:** 12 stories, ~18 story points @@ -213,8 +213,8 @@ components/docs-chat/ | Story ID | Beschrijving | Acceptatiecriteria | Status | SP | |----------|--------------|---------------------|--------|-----| -| E4.S1 | Widget integratie | `DocsChatWidget` in EPD layout, alleen ingelogde users | ⏳ | 1 | -| E4.S2 | Smoke tests | Happy flow, error states, category detection werkt | ⏳ | 1 | +| E4.S1 | Widget integratie | `DocsChatWidget` in EPD layout, alleen ingelogde users | ✅ | 1 | +| E4.S2 | Smoke tests | Happy flow, error states, category detection werkt | ✅ | 1 | **Te wijzigen bestand:** ```