diff --git a/src/features/status/components/BucketStatsTable.tsx b/src/features/status/components/BucketStatsTable.tsx
index 72a4fed..3fb31fb 100644
--- a/src/features/status/components/BucketStatsTable.tsx
+++ b/src/features/status/components/BucketStatsTable.tsx
@@ -3,7 +3,6 @@ import {
FolderTree,
FolderOpen,
RotateCw,
- Sparkles,
AlertCircle,
Plus,
DownloadCloud,
@@ -14,7 +13,6 @@ import {
Lock,
ArrowUpDown,
HardDrive,
- CheckCircle2,
RefreshCw,
Cable,
} from "lucide-react"
@@ -164,27 +162,28 @@ export function BucketStatsTable({ stats, isLoading, error }: BucketStatsTablePr
{/* Main Action Buttons */}
-
+
)}
-
- {/* S3 capabilities bottom bar */}
-
-
- S3 API Support:
- {[
- { name: "s3:ListObjectsV2", desc: "List bucket objects" },
- { name: "s3:GetObject", desc: "Download objects" },
- { name: "s3:PutObject", desc: "Upload files" },
- { name: "s3:DeleteObject", desc: "Delete files" },
- { name: "s3:CreateMultipartUpload", desc: "Multipart uploads" },
- ].map((api) => (
-
-
- {api.name}
-
- ))}
-
-
-
- Direct Google Drive mapping active
-
-
diff --git a/src/pages/Dashboard.tsx b/src/pages/Dashboard.tsx
index 3744e76..66ba762 100644
--- a/src/pages/Dashboard.tsx
+++ b/src/pages/Dashboard.tsx
@@ -1,30 +1,20 @@
-import { useState } from "react"
import { useNavigate } from "react-router"
-import { useQueryClient } from "@tanstack/react-query"
import {
Database,
LogOut,
- ShieldCheck,
- RotateCw,
- Radio,
- Lock,
Cable,
} from "lucide-react"
import { useAuth } from "@/features/auth/hooks/useAuth"
import { useStatus } from "@/features/status/hooks/useStatus"
import { useBucketStats } from "@/features/status/hooks/useBucketStats"
-import { statusKeys } from "@/features/status/api/status.keys"
import { SystemOverviewCard } from "@/features/status/components/SystemOverviewCard"
import { BucketStatsTable } from "@/features/status/components/BucketStatsTable"
import { Button } from "@/components/ui/button"
import { ThemeToggle } from "@/components/ThemeToggle"
-import { formatRelativeTime } from "@/lib/format"
export default function Dashboard() {
const { signOut } = useAuth()
const navigate = useNavigate()
- const queryClient = useQueryClient()
- const [isRefreshing, setIsRefreshing] = useState(false)
const {
data: statusData,
@@ -43,23 +33,6 @@ export default function Dashboard() {
navigate("/sign-in", { replace: true })
}
- const handleRefreshAll = async () => {
- try {
- setIsRefreshing(true)
- await queryClient.invalidateQueries({ queryKey: statusKeys.all })
- } finally {
- setIsRefreshing(false)
- }
- }
-
- const checkedAtTime = statusData?.checkedAt
- ? new Date(statusData.checkedAt).toLocaleTimeString([], {
- hour: "2-digit",
- minute: "2-digit",
- second: "2-digit",
- })
- : null
-
return (
{/* Navigation Header */}
@@ -95,10 +68,6 @@ export default function Dashboard() {
{/* Actions & Badges */}
-
-
- Admin Mode
-
navigate("/integration")}
@@ -124,55 +93,6 @@ export default function Dashboard() {
{/* Main Content */}
- {/* Welcome Banner */}
-
-
-
-
-
-
-
- Authenticated Session Active
-
-
- Gateway Overview & Control
-
-
- Live metrics from Cloudflare Workers connected to Google Drive API with AWS S3 signature verification.
-
-
-
-
-
-
-
-
Edge Network
-
Global CDN Active
-
-
-
-
- {checkedAtTime && (
-
- Updated {formatRelativeTime(statusData?.checkedAt)} ({checkedAtTime})
-
- )}
-
-
- Refresh
-
-
-
-
-
-
{/* Unified Status / Quick Overview */}