From 5d2aaa802b5eabc1c03a6f79a1dfb8d7c565e14c Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Tue, 3 Mar 2026 16:19:33 -0800 Subject: [PATCH] Move controls to top --- .../src/components/PacketVisualizer3D.tsx | 52 +++++++++---------- frontend/src/components/VisualizerView.tsx | 2 +- tests/test_websocket_route.py | 5 ++ 3 files changed, 31 insertions(+), 28 deletions(-) diff --git a/frontend/src/components/PacketVisualizer3D.tsx b/frontend/src/components/PacketVisualizer3D.tsx index bf61602..02f2e0a 100644 --- a/frontend/src/components/PacketVisualizer3D.tsx +++ b/frontend/src/components/PacketVisualizer3D.tsx @@ -1720,12 +1720,30 @@ export function PacketVisualizer3D({ )} {/* Options */} -
+
+
+ + {onFullScreenChange && ( + + )} +
{showControls && ( <> -
Nodes: {data.stats.nodes}
-
Links: {data.stats.links}
+
+
Nodes: {data.stats.nodes}
+
Links: {data.stats.links}
+
)} -
- - {onFullScreenChange && ( - - )} -
diff --git a/frontend/src/components/VisualizerView.tsx b/frontend/src/components/VisualizerView.tsx index faee2b0..a548e14 100644 --- a/frontend/src/components/VisualizerView.tsx +++ b/frontend/src/components/VisualizerView.tsx @@ -49,7 +49,7 @@ export function VisualizerView({ packets, contacts, config }: VisualizerViewProp
{/* Header */}
- Mesh Visualizer + {paneFullScreen ? 'RemoteTerm MeshCore Visualizer' : 'Mesh Visualizer'}