From bc97cb6862d92eeb303e9a8c65fad1375bdc4a44 Mon Sep 17 00:00:00 2001 From: Ishaan Gupta Date: Wed, 13 May 2026 11:15:28 +0530 Subject: [PATCH] remove unused imports --- apps/web/components/dashboard-view.tsx | 194 ------------------------- 1 file changed, 194 deletions(-) diff --git a/apps/web/components/dashboard-view.tsx b/apps/web/components/dashboard-view.tsx index 26b9ab98..a344781d 100644 --- a/apps/web/components/dashboard-view.tsx +++ b/apps/web/components/dashboard-view.tsx @@ -9,9 +9,7 @@ import { useQuery } from "@tanstack/react-query" import { useRouter } from "next/navigation" import Image from "next/image" import { - Activity, ArrowRight, - Clock, ExternalLink, FileText, Lightbulb, @@ -651,198 +649,6 @@ function formatToolUsageTime(date: Date | null, hasBeenUsed: boolean): string { return date.toLocaleDateString() } -// Format absolute time for tooltip display -function formatAbsoluteTime(date: Date | null): string { - if (!date) return "" - return date.toLocaleString(undefined, { - month: "short", - day: "numeric", - hour: "numeric", - minute: "2-digit", - hour12: true, - }) -} - -// Check if item was active recently (within last hour) -function isRecentlyActive(date: Date | null): boolean { - if (!date) return false - return Date.now() - date.getTime() < 60 * 60 * 1000 -} - -function _RecentToolUsageCard({ - items, - onOpenPlugins, - onNavigateToMemories, - onOpenToolDocument, -}: { - items: ToolUsageItem[] - onOpenPlugins: () => void - onNavigateToMemories: () => void - onOpenToolDocument: (document: DocumentWithMemories) => void -}) { - // Show at most 3 items - const displayItems = items.slice(0, 3) - - // Empty state - no tool activity - if (displayItems.length === 0) { - return ( -
- -

- No recent tool activity -

- -
- ) - } - - return ( -
- -
- ) -} - function ToolUsageRecentRow({ item, onOpenPlugins,