Enhance scheduling features in management dashboard

- Added new scheduling functionality with a dedicated Scheduling component to manage availability and experiment scheduling.
- Integrated react-big-calendar for visual calendar representation of availability slots.
- Updated Dashboard and DashboardLayout components to handle current route and pass it to child components.
- Implemented route handling for scheduling sub-routes to improve user navigation.
- Added new dependencies: moment and react-big-calendar for date handling and calendar UI.
- Improved user experience with dynamic URL updates based on selected scheduling views.
This commit is contained in:
salirezav
2025-09-19 12:33:25 -04:00
parent 7328950684
commit 4203b768aa
8 changed files with 1656 additions and 574 deletions

View File

@@ -2,8 +2,9 @@ import { DashboardLayout } from "./DashboardLayout"
interface DashboardProps {
onLogout: () => void
currentRoute: string
}
export function Dashboard({ onLogout }: DashboardProps) {
return <DashboardLayout onLogout={onLogout} />
export function Dashboard({ onLogout, currentRoute }: DashboardProps) {
return <DashboardLayout onLogout={onLogout} currentRoute={currentRoute} />
}