"use client"; import * as React from "react"; import { KPICards } from "@/components/dashboard/kpis"; import { FileTypesChart } from "@/components/dashboard/charts/file-types-chart"; import { ActivityChart } from "@/components/dashboard/charts/activity-chart"; import { TopTags } from "@/components/dashboard/charts/top-tags"; import { VectorPanel } from "@/components/dashboard/vector-panel"; import { useRouter } from "next/navigation"; import { Button } from "@/components/ui/button"; export default function DashboardPage() { const router = useRouter(); function handleDrillSearch(tag: string) { // For now, surface a hint; in a future PR we can wire a tag filter to the search API directly from the dashboard // Here we just navigate to the home page; the user can use the global search input alert(`Search for tag: ${tag}. Use the global search box on the home page.`); router.push("/"); } return (
Dashboard
{/* KPIs */} {/* Charts row */}
{/* Tags + Vector Panel */}
); }