From 20626d143f8615d8f189fd61964bb76a95478149 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 15 Nov 2025 16:22:13 +0000 Subject: [PATCH] completionId: cgen-7acfca2f42194aaea10ce04ea72d476b cgen-7acfca2f42194aaea10ce04ea72d476b --- client/pages/dashboards/LabsDashboard.tsx | 46 ++++++++--------------- 1 file changed, 16 insertions(+), 30 deletions(-) diff --git a/client/pages/dashboards/LabsDashboard.tsx b/client/pages/dashboards/LabsDashboard.tsx index d4e0a920..9a1313bf 100644 --- a/client/pages/dashboards/LabsDashboard.tsx +++ b/client/pages/dashboards/LabsDashboard.tsx @@ -9,6 +9,7 @@ import { Badge } from "@/components/ui/badge"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; import LoadingScreen from "@/components/LoadingScreen"; import { Lightbulb, FileText, Zap, Lock, ExternalLink, ArrowRight, AlertCircle, Send } from "lucide-react"; +import { ResearchWidget } from "@/components/ResearchWidget"; const API_BASE = import.meta.env.VITE_API_BASE || ""; @@ -173,36 +174,21 @@ export default function LabsDashboard() { {/* Research Tracks Tab */} - - - Active Research Tracks - Internal R&D projects - - - {researchTracks.length === 0 ? ( -
- -

No active research tracks

-
- ) : ( -
- {researchTracks.map((track: any) => ( - -
-
-

{track.title}

-

{track.description}

-
- - {track.status} - -
-
- ))} -
- )} -
-
+ ({ + id: t.id, + title: t.title, + description: t.description, + status: t.status, + progress: t.progress || 0, + publications: t.publications || [], + whitepaper_url: t.whitepaper_url, + lead: t.lead?.full_name, + }))} + title="Active Research Tracks" + description="Internal R&D projects" + accentColor="amber" + />
{/* Bounties Tab */}