From aff2b3445da98b2a0689d8a5d28d1d56dce6e566 Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Thu, 5 Mar 2026 16:04:53 +0100 Subject: [PATCH] fix(dashboard): remove direct trading OrderForm from trading page Direct trading from the dashboard is not an option in our system. Trading page is now read-only monitoring (positions, orders, order book). Co-Authored-By: Claude Opus 4.6 --- web-dashboard/src/pages/TradingDashboard.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/web-dashboard/src/pages/TradingDashboard.tsx b/web-dashboard/src/pages/TradingDashboard.tsx index eb4a95887..7efd5fd72 100644 --- a/web-dashboard/src/pages/TradingDashboard.tsx +++ b/web-dashboard/src/pages/TradingDashboard.tsx @@ -3,7 +3,6 @@ import { CandlestickChart } from '../components/charts/CandlestickChart'; import { ComponentErrorBoundary } from '../components/common/ComponentErrorBoundary'; import { OrderBook } from '../components/trading/OrderBook'; import { PositionsTable } from '../components/trading/PositionsTable'; -import { OrderForm } from '../components/trading/OrderForm'; import { OrdersTable } from '../components/trading/OrdersTable'; import { usePositions, useOrders, useOrderBook } from '../hooks/useApi'; import { useMarketDataStream } from '../hooks/useGrpcStream'; @@ -68,14 +67,9 @@ export function TradingDashboard() { /> - {/* Bottom: Orders + Order Form */} -
-
- -
-
- -
+ {/* Bottom: Orders (read-only monitoring) */} +
+
);