diff --git a/telemetry/ui/src/components/routes/app/AppView.tsx b/telemetry/ui/src/components/routes/app/AppView.tsx index 3b7bc283a..fff951744 100644 --- a/telemetry/ui/src/components/routes/app/AppView.tsx +++ b/telemetry/ui/src/components/routes/app/AppView.tsx @@ -204,7 +204,7 @@ export const AppView = () => { highlightedActions={previousActions} hoverAction={ hoverSequenceID - ? stepsSorted.find((step) => step.step_start_log.sequence_id == hoverSequenceID) + ? stepsSorted.find((step) => step.step_start_log.sequence_id === hoverSequenceID) : undefined } currentSequenceID={currentActionIndex} diff --git a/telemetry/ui/src/components/routes/app/GraphView.tsx b/telemetry/ui/src/components/routes/app/GraphView.tsx index 5d103b26d..b5013eefe 100644 --- a/telemetry/ui/src/components/routes/app/GraphView.tsx +++ b/telemetry/ui/src/components/routes/app/GraphView.tsx @@ -102,7 +102,6 @@ const ActionNode = (props: { data: NodeData }) => { ); }; export const ActionActionEdge = ({ - id, sourceX, sourceY, targetX, @@ -122,7 +121,6 @@ export const ActionActionEdge = ({ ); const containsTo = allActionsInPath.some((action) => action.step_start_log.action === data.to); const shouldHighlight = containsFrom && containsTo; - console.log(previousActions, currentAction); const getSmartEdgeResponse = getSmartEdge({ sourcePosition, targetPosition, @@ -146,12 +144,7 @@ export const ActionActionEdge = ({ })[0]; } - // const onEdgeClick = () => { - // setEdges((edges) => edges.filter((edge) => edge.id !== id)); - // }; - console.log(id); const style = { - // stroke: shouldHighlight ? 'black' : 'gray', markerColor: shouldHighlight ? 'black' : 'gray', strokeWidth: shouldHighlight ? 2 : 0.5 }; @@ -197,7 +190,6 @@ const getLayoutedElements = ( height: 100 })), edges: edges.map((edge) => { - console.log(edge, nodeNameMap[edge.source], nodeNameMap[edge.target]); return { ...edge, sources: [edge.source], diff --git a/telemetry/ui/src/components/routes/app/StepList.tsx b/telemetry/ui/src/components/routes/app/StepList.tsx index 6ade798f1..cf2b72853 100644 --- a/telemetry/ui/src/components/routes/app/StepList.tsx +++ b/telemetry/ui/src/components/routes/app/StepList.tsx @@ -205,7 +205,6 @@ const TraceSubTable = (props: { props.currentSelectedIndex !== undefined && sequenceID <= props.currentSelectedIndex && sequenceID >= props.currentSelectedIndex - props.numPriorIndices; - console.log(depth, Array(depth)); const lightText = 'text-gray-300'; const normalText = shouldBeHighlighted ? 'text-gray-100' : 'text-gray-400'; return (