From e9f4ffc29762ed9721c1848bcb219734cc90d440 Mon Sep 17 00:00:00 2001 From: colinislit Date: Wed, 19 Nov 2025 22:48:41 +0100 Subject: [PATCH] feat: add comprehensive documentation and client dashboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rename releases.ts to documentatie.ts for better naming - Add 'use client' directives to UI components for client-side rendering - Add new documentation pages for features: - Client Management (CRUD operations) - Intake System (AI-powered intake analysis) - Treatment Planning (SMART goals and progress tracking) - Verpleegkundige Overdracht (nursing handover with ROM measurements) - Voice-Controlled Reporting (AI-driven speech recording) - Interface Design System (complete UI/UX specifications) - Build Errors Fix (troubleshooting guide) - Add client dashboard page with route structure - Update documentation index with new categories and planned features - Refactor BentoCard to use native anchor tags instead of Button component πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../documentatie/[category]/page.tsx | 2 +- .../components/release-sidebar-wrapper.tsx | 4 +- .../components/release-sidebar.tsx | 31 +- app/(marketing)/documentatie/layout.tsx | 6 +- app/(marketing)/documentatie/page.tsx | 2 +- app/epd/clients/[id]/dashboard/page.tsx | 27 + .../components/client-list-skeleton.tsx | 2 + components/ui/ai-button.tsx | 2 + components/ui/bento-grid.tsx | 16 +- components/ui/button.tsx | 2 + components/ui/hero-section-2.tsx | 2 + components/ui/sign-in.tsx | 2 + content/nl/documentatie/_index.json | 44 +- content/nl/documentatie/build-errors-fix.mdx | 79 +++ content/nl/documentatie/client-management.mdx | 61 ++ content/nl/documentatie/intake-system.mdx | 65 ++ content/nl/documentatie/interface-design.mdx | 643 ++++++++++++++++++ .../nl/documentatie/treatment-planning.mdx | 73 ++ .../verpleegkundige-overdracht.mdx | 108 +++ .../voice-controlled-reporting.mdx | 134 ++++ lib/mdx/{releases.ts => documentatie.ts} | 0 21 files changed, 1272 insertions(+), 33 deletions(-) create mode 100644 app/epd/clients/[id]/dashboard/page.tsx create mode 100644 content/nl/documentatie/build-errors-fix.mdx create mode 100644 content/nl/documentatie/client-management.mdx create mode 100644 content/nl/documentatie/intake-system.mdx create mode 100644 content/nl/documentatie/interface-design.mdx create mode 100644 content/nl/documentatie/treatment-planning.mdx create mode 100644 content/nl/documentatie/verpleegkundige-overdracht.mdx create mode 100644 content/nl/documentatie/voice-controlled-reporting.mdx rename lib/mdx/{releases.ts => documentatie.ts} (100%) diff --git a/app/(marketing)/documentatie/[category]/page.tsx b/app/(marketing)/documentatie/[category]/page.tsx index 805093a..ed0c422 100644 --- a/app/(marketing)/documentatie/[category]/page.tsx +++ b/app/(marketing)/documentatie/[category]/page.tsx @@ -6,7 +6,7 @@ import { notFound } from 'next/navigation' import { MDXRemote } from 'next-mdx-remote/rsc' -import { getRelease, getAllReleases } from '@/lib/mdx/releases' +import { getRelease, getAllReleases } from '@/lib/mdx/documentatie' import { mdxComponents } from '../components/mdx-components' interface ReleasePageProps { diff --git a/app/(marketing)/documentatie/components/release-sidebar-wrapper.tsx b/app/(marketing)/documentatie/components/release-sidebar-wrapper.tsx index 4e11c66..53b4eb1 100644 --- a/app/(marketing)/documentatie/components/release-sidebar-wrapper.tsx +++ b/app/(marketing)/documentatie/components/release-sidebar-wrapper.tsx @@ -1,3 +1,5 @@ +'use client' + /** * Release Sidebar Wrapper * @@ -5,7 +7,7 @@ */ import { ReleaseSidebar } from './release-sidebar' -import type { ReleaseNote, GroupMetadata, CategoryMetadata } from '@/lib/mdx/releases' +import type { ReleaseNote, GroupMetadata, CategoryMetadata } from '@/lib/mdx/documentatie' interface ReleaseSidebarWrapperProps { releases: ReleaseNote[] diff --git a/app/(marketing)/documentatie/components/release-sidebar.tsx b/app/(marketing)/documentatie/components/release-sidebar.tsx index 548f029..c15ccee 100644 --- a/app/(marketing)/documentatie/components/release-sidebar.tsx +++ b/app/(marketing)/documentatie/components/release-sidebar.tsx @@ -55,11 +55,10 @@ export function ReleaseSidebar({ releases, metadata }: ReleaseSidebarProps) {
Overzicht @@ -67,11 +66,10 @@ export function ReleaseSidebar({ releases, metadata }: ReleaseSidebarProps) { {release.frontmatter.title} @@ -80,7 +78,7 @@ export function ReleaseSidebar({ releases, metadata }: ReleaseSidebarProps) {
{/* Desktop: Fixed sidebar */} -