Remove communication, infrastructure, and development categories from
navigation (now in Admin Core on port 3008). Rename Admin v2 to
Admin Lehrer KI in sidebar, header, and browser title.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Extends the Compliance Advisor from a Q&A chatbot into a full drafting engine
that can generate, validate, and refine compliance documents within Scope Engine
constraints. Includes intent classifier, state projector, constraint enforcer,
SOUL templates, Go backend endpoints, and React UI components.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove duplicate compliance and DSGVO admin pages that have been superseded
by the unified SDK pipeline. Update navigation, sidebar, roles, and module
registry to reflect the new structure. Add DSFA corpus API proxy and
source-policy components.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Rename `label` to `question` in profiling data (35 questions) to match
ScopeProfilingQuestion type — fixes missing question headings
- Sync ScopeWizardTab props with page.tsx (onEvaluate/canEvaluate/isEvaluating
instead of onComplete/companyProfile/currentLevel)
- Load companyProfile from SDK context instead of expecting it as prop
- Auto-prefill from company profile on mount when answers are empty
- Add "Aus Profil" badge for prefilled questions
- Replace title-only helpText tooltip with click-to-expand visible info box
- Fix ScopeQuestionBlockId to match actual block IDs in data
- Add `order` field to ScopeQuestionBlock type
- Fix completionStats to count against total required questions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
These 5 data files were untracked and only saved in git stash.
They are required by catalog-registry.ts for the Katalogverwaltung.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Without this, the Katalogverwaltung disappears from the dashboard sidebar
when any role (developer, manager, auditor, dsb) is selected.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- /sdk/consent: Replace hardcoded mockDocuments with GET /api/admin/consent/documents
- /sdk/dsr: Replace createMockDSRList with fetchSDKDSRList via /api/sdk/v1/dsgvo/dsr
- /sdk/dsr/new: Replace console.log mock with real POST to create DSR requests
- /sdk/dsr/[requestId]: Replace mock lookup with real GET/PUT for DSR details and status updates
- /sdk/consent-management: Add real stats, GDPR process counts, and email template editor
- lib/sdk/dsr/api.ts: Add transformBackendDSR adapter (flat backend → nested frontend types)
Prepares for removal of /dsgvo and /compliance pages.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Katalogverwaltung von /sdk/catalog-manager nach /dashboard/catalog-manager
verschoben, damit sie im Admin-Dashboard mit Sidebar erscheint statt im
SDK-Bereich. Shared Components extrahiert, SDK-Route bleibt funktionsfaehig.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove Companion module entirely from admin-v2. Rebuild in studio-v2 as a
focused lesson timer (no dashboard mode). Direct flow: start → active → ended.
Fix timer bug where lastTickRef reset prevented countdown. Add companion link
to Sidebar and i18n translations.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds ocr-compare entry in KI-Werkzeuge subgroup of the main
left sidebar navigation (lib/navigation.ts).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Restore the SDK context, types, and component files to the HEAD version
since newer pages (company-profile, import) depend on these API changes.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add cn() utility function for className merging
- Add DSFACard, RiskMatrix, ApprovalPanel components
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The admin-v2 application was incomplete in the repository. This commit
restores all missing components:
- Admin pages (76 pages): dashboard, ai, compliance, dsgvo, education,
infrastructure, communication, development, onboarding, rbac
- SDK pages (45 pages): tom, dsfa, vvt, loeschfristen, einwilligungen,
vendor-compliance, tom-generator, dsr, and more
- Developer portal (25 pages): API docs, SDK guides, frameworks
- All components, lib files, hooks, and types
- Updated package.json with all dependencies
The issue was caused by incomplete initial repository state - the full
admin-v2 codebase existed in backend/admin-v2 and docs-src/admin-v2
but was never fully synced to the main admin-v2 directory.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Implements comprehensive Data Protection Impact Assessment tooling:
- 5-section wizard following Art. 35 DSGVO structure
- Interactive risk matrix with likelihood/impact scoring
- Mitigation management linked to risks
- DPO approval workflow (draft → in_review → approved/rejected)
- UCCA integration for auto-triggering DSFA from assessments
- Full TypeScript types and API client with 42 test cases
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>