Files
botsmann/lib/email
g-butandClaude Opus 4.5 0c2b798cb8 refactor: modularize large components and centralize email config
Component splits (all >400 lines to modular directories):
- AICaseAnalysis.tsx → ai-case-analysis/ (utils, states, report)
- DemoSection.tsx → demo-section/ (steps, navigation, progress)
- WorkspaceDashboard.tsx → workspace-dashboard/ (sections, UI)
- ExampleSection.tsx → example-section/ (tabs for different views)
- AgencyProfile.tsx → agency-profile/ (tabs for overview, etc)
- CitizenProfile.tsx → citizen-profile/ (sections, tabs)
- TransactionWithTraceability.tsx → transaction-traceability/

Email configuration:
- Created lib/config/email.ts with centralized settings
- Replaced hardcoded emails with environment variables
- Added EmailServiceError class for proper error handling
- Updated templates to use centralized config

Added Zod validation schemas for API input validation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 08:39:31 +01:00
..