fix: connect all new pages to router + navigation + backend API routes (Workstream, Wiki, Improvement, Onboarding, Dashboard, DSGVO), platform.py with 9 endpoints, tsc clean

This commit is contained in:
Agent Zero
2026-08-19 09:23:54 +02:00
parent 13aaab78de
commit 9e37c41871
7 changed files with 213 additions and 3 deletions
+26
View File
@@ -0,0 +1,26 @@
/**
* OnboardingPage — Route wrapper for SetupWizard component.
* Renders the SetupWizard as a full-page dialog.
*/
import React, { useCallback } from 'react';
import { useNavigate } from 'react-router-dom';
import { SetupWizard } from '@/components/onboarding/SetupWizard';
export function OnboardingPage() {
const navigate = useNavigate();
const handleClose = useCallback(() => {
navigate('/dashboard');
}, [navigate]);
const handleComplete = useCallback(() => {
navigate('/dashboard');
}, [navigate]);
return (
<SetupWizard open={true} onClose={handleClose} onComplete={handleComplete} />
);
}
export default OnboardingPage;