From d31d301822662dd4c9e76456c5a42835e6f4e206 Mon Sep 17 00:00:00 2001 From: ramseshk Date: Wed, 5 Aug 2026 09:55:56 +0000 Subject: [PATCH] Clean dashboard: remove footer links + positions panel Removed: - Three footer link cards (ftdt.io, Quant Lab, Git Repo) - Open Positions & Orders collapsible panel - Unused imports (Activity, Database, TrendingUp, Collapsible) Positions already shown live on each strategy card (Pos: 0.0000). Dashboard is now cleaner: strategies grid + L2 Terminal button only. --- dashboard-next/src/app/page.tsx | 29 ++--------------------------- dashboard/static/index.html | 2 +- 2 files changed, 3 insertions(+), 28 deletions(-) diff --git a/dashboard-next/src/app/page.tsx b/dashboard-next/src/app/page.tsx index 0f7aa6a..7aae249 100644 --- a/dashboard-next/src/app/page.tsx +++ b/dashboard-next/src/app/page.tsx @@ -5,9 +5,8 @@ import { motion, AnimatePresence } from "framer-motion"; import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; -import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@/components/ui/collapsible"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table"; -import { ChevronDown, ChevronRight, Activity, Database, TrendingUp, TrendingDown, ArrowLeft } from "lucide-react"; +import { ChevronDown, ChevronRight, TrendingDown, ArrowLeft } from "lucide-react"; import { StrategyCard } from "@/components/strategy-card"; import { EquityChart } from "@/components/equity-chart"; import { PositionsPanel } from "@/components/positions-panel"; @@ -31,6 +30,7 @@ export default function Dashboard() { const [l2TerminalOpen, setL2TerminalOpen] = useState(false); const [detailName, setDetailName] = useState(""); const [detailTab, setDetailTab] = useState("live"); + const [filter, setFilter] = useState("ALL"); const [btFull, setBtFull] = useState(null); const [feeOn, setFeeOn] = useState(true); const [feeTier, setFeeTier] = useState(0); @@ -360,36 +360,11 @@ export default function Dashboard() { ))} - - - {posOpen ? : } - Open Positions & Orders ({liveData?.open_positions?.length ?? 0} pos · {liveData?.open_orders?.length ?? 0} ord) - - - - - - {/* L2 Terminal launcher */} - -
- - -

ftdt.io

Main platform

-
- - -

Quant Lab ↗

Web dashboard

-
- - -

Git Repo

rams/ftdt-quant-lab

-
-
{/* Fullscreen L2 Terminal */} diff --git a/dashboard/static/index.html b/dashboard/static/index.html index af4724e..501290d 100644 --- a/dashboard/static/index.html +++ b/dashboard/static/index.html @@ -1 +1 @@ -FTDT Quant Lab

FTDT Quant Lab

Live Testnet · Equity $—

OFFLINE
\ No newline at end of file +FTDT Quant Lab

FTDT Quant Lab

Live Testnet · Equity $—

OFFLINE
\ No newline at end of file