From a061500d50ddd1ec1cc713c06fd24a9b9f1511ed Mon Sep 17 00:00:00 2001 From: Noooste <83548733+Noooste@users.noreply.github.com> Date: Sat, 25 Jul 2026 12:32:49 +0200 Subject: [PATCH] feat(frontend): make bucket items clickable links to object view --- frontend/src/pages/Dashboard.tsx | 34 +++++++++++++++++++------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index 18a61ea..468c8e8 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -1,4 +1,5 @@ import { AlertCircle, Database, FolderOpen, HardDrive, Server, Zap } from 'lucide-react'; +import { Link } from 'react-router-dom'; import { PageHeader } from '@/components/ui/page-header'; import { IconTile } from '@/components/ui/icon-tile'; import { EmptyState } from '@/components/ui/empty-state'; @@ -154,20 +155,25 @@ export function Dashboard() { ) : (
{bucket.name}
-- Created {new Date(bucket.creationDate).toLocaleDateString()} -
-{bucket.objectCount?.toLocaleString() ?? '—'} objects
-- {bucket.size ? formatBytes(bucket.size) : '—'} -
-{bucket.name}
++ Created {new Date(bucket.creationDate).toLocaleDateString()} +
+{bucket.objectCount?.toLocaleString() ?? '—'} objects
++ {bucket.size ? formatBytes(bucket.size) : '—'} +
+