import { useNodes } from '@/context/NodeContext'; import type { NotificationItem } from './dashboard/types'; import { HealthStatusBar, ResourceGauges, StackHealthTable, HistoricalCharts, RecentAlerts, useDashboardData, } from './dashboard'; interface HomeDashboardProps { onNavigateToStack?: (stackFile: string) => void; notifications: NotificationItem[]; onClearNotifications: () => void | Promise; } const NOOP = () => {}; export default function HomeDashboard({ onNavigateToStack, notifications, onClearNotifications }: HomeDashboardProps) { const { activeNode, nodes } = useNodes(); const data = useDashboardData(); const activeNodeName = activeNode?.name || 'Local'; return (
); }