diff --git a/frontend/src/tabs/DebuggingDataView/DebuggingDataView.tsx b/frontend/src/tabs/DebuggingDataView/DebuggingDataView.tsx index 4e47f30..52c96ae 100644 --- a/frontend/src/tabs/DebuggingDataView/DebuggingDataView.tsx +++ b/frontend/src/tabs/DebuggingDataView/DebuggingDataView.tsx @@ -18,12 +18,16 @@ function DebuggingDataView() { */} - {data => ()} + {data => ()} - + + + {data => ()} + + - + {data => ()} @@ -33,14 +37,10 @@ function DebuggingDataView() { - {data => ()} - - - - - {data => ()} + {data => ()} + {/* */} ) diff --git a/frontend/src/tabs/LiveDataView/LiveDataView.tsx b/frontend/src/tabs/LiveDataView/LiveDataView.tsx index a3a4020..7d38654 100644 --- a/frontend/src/tabs/LiveDataView/LiveDataView.tsx +++ b/frontend/src/tabs/LiveDataView/LiveDataView.tsx @@ -66,29 +66,27 @@ function LiveVideo() { sx={{ display: 'grid', gridTemplateColumns: 'repeat(6, minmax(0, 1fr))', - gap: 1, + gap:1, gridTemplateRows: 'auto', gridTemplateAreas: { lg: ` - "c c c c c c" - "h M M M M i" + "c c c c c i" "h M M M M r" "g M M M M r" `, md: ` - "c c c c c c" - "h M M M M i" + "c c c c c i" "h M M M M r" "g M M M M r" `, xs: ` - "c c c c c c" - "h M M M M i" + "c c c c c i" + "h M M M M r" "g M M M M r" ` }, }}> - + diff --git a/frontend/src/tabs/LiveDataView/components/StreamDataView/ImageView.tsx b/frontend/src/tabs/LiveDataView/components/StreamDataView/ImageView.tsx index fa08233..96e1bc8 100644 --- a/frontend/src/tabs/LiveDataView/components/StreamDataView/ImageView.tsx +++ b/frontend/src/tabs/LiveDataView/components/StreamDataView/ImageView.tsx @@ -136,7 +136,7 @@ const ImageCanvas = ({ image=null, boxes=null, tracklets=null, confidence: defau img.src = src; return () => { URL.revokeObjectURL(src) } }, [image, boxes, confidence]) - return + return { debugMode && diff --git a/frontend/src/tabs/LiveDataView/components/StreamDataView/LiveStream.tsx b/frontend/src/tabs/LiveDataView/components/StreamDataView/LiveStream.tsx index cd390fb..a8613ee 100644 --- a/frontend/src/tabs/LiveDataView/components/StreamDataView/LiveStream.tsx +++ b/frontend/src/tabs/LiveDataView/components/StreamDataView/LiveStream.tsx @@ -6,6 +6,7 @@ import Tooltip from '@mui/material/Tooltip'; import Chip from '@mui/material/Chip'; import { ReadyState } from 'react-use-websocket'; import { useStreamData } from '../../../../api/rest'; +import { purple, grey } from '@mui/material/colors'; const STATUS_MSG = { [ReadyState.CONNECTING]: 'Connecting', @@ -39,7 +40,7 @@ export const StreamInfo = ({ sid, time, displayStatus=true, data, readyState, ch const openNoData = readyState == ReadyState.OPEN && !data; return - {sid && } + {sid && } {time && } { diff --git a/frontend/src/tabs/LiveDataView/components/StreamDataView/ReasoningOutputsView.tsx b/frontend/src/tabs/LiveDataView/components/StreamDataView/ReasoningOutputsView.tsx index 162e94c..464f850 100644 --- a/frontend/src/tabs/LiveDataView/components/StreamDataView/ReasoningOutputsView.tsx +++ b/frontend/src/tabs/LiveDataView/components/StreamDataView/ReasoningOutputsView.tsx @@ -76,7 +76,7 @@ export const ReasoningOutputsView = ({ data }) => { if (!inProgressTask_.find(e => e.id === task_id)) { inProgressTask_.push({id: task_id, name: task_name}); } - return active_tasks && ( + return active_tasks && ( Task ID: {task_id} Task Name: {task_name} Current Step: {current_step}