@localstack/appinspector-ui 1.0.117 → 1.0.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2413,7 +2413,7 @@ var init_event_streams = __esm({
2413
2413
  });
2414
2414
 
2415
2415
  // src/pages/spans-list-page.tsx
2416
- import { Box as Box21 } from "@mui/material";
2416
+ import { Box as Box20 } from "@mui/material";
2417
2417
  import { useCallback as useCallback12, useState as useState17 } from "react";
2418
2418
 
2419
2419
  // src/api/errors.ts
@@ -15349,7 +15349,7 @@ var SpansDataGrid = ({
15349
15349
  size: "small",
15350
15350
  sx: { px: 1 },
15351
15351
  variant: "text",
15352
- children: "View Details"
15352
+ children: "View Graph"
15353
15353
  }
15354
15354
  )
15355
15355
  ] });
@@ -18611,7 +18611,7 @@ var useSpans = () => {
18611
18611
 
18612
18612
  // src/pages/trace-graph-page.tsx
18613
18613
  import { ArrowBack } from "@mui/icons-material";
18614
- import { Box as Box20, Button as Button6, Drawer, Paper as Paper3 } from "@mui/material";
18614
+ import { Box as Box19, Button as Button6, Drawer, Paper as Paper3 } from "@mui/material";
18615
18615
  import { styled } from "@mui/material/styles";
18616
18616
  import { ReactFlowProvider } from "@xyflow/react";
18617
18617
  import { useCallback as useCallback11, useEffect as useEffect21, useRef as useRef17, useState as useState16 } from "react";
@@ -30700,7 +30700,7 @@ var EventDetails = ({ onClose, selectedEvent }) => {
30700
30700
  );
30701
30701
  const [parseNestedJson, setParseNestedJson] = useState15(true);
30702
30702
  if (!selectedEvent) {
30703
- return /* @__PURE__ */ jsx141(Box16, { sx: { p: 3, textAlign: "center" }, children: /* @__PURE__ */ jsx141(Typography11, { color: "text.secondary", variant: "body2", children: "Select an event to view details" }) });
30703
+ return /* @__PURE__ */ jsx141(Box16, { sx: { p: 3, textAlign: "center" }, children: /* @__PURE__ */ jsx141(Typography11, { color: "text.secondary", variant: "body2", children: "Select an operation to view graph" }) });
30704
30704
  }
30705
30705
  const isLambdaInvoke = checkIsLambdaInvoke(selectedEvent);
30706
30706
  const isSqsSendMessage = checkIsSqsSendMessage(selectedEvent);
@@ -30885,64 +30885,12 @@ import { Background, MarkerType, Position as Position2, ReactFlow, useEdgesState
30885
30885
  import { useEffect as useEffect20 } from "react";
30886
30886
 
30887
30887
  // src/components/trace-graph/service-node.tsx
30888
- import { Box as Box18, Divider as Divider5, Stack as Stack4, Typography as Typography12, useTheme as useTheme4 } from "@mui/material";
30888
+ import { Cancel as Cancel3, GppBad as GppBad2 } from "@mui/icons-material";
30889
+ import { Box as Box17, Divider as Divider5, Stack as Stack4, Tooltip as Tooltip5, Typography as Typography12, useTheme as useTheme4 } from "@mui/material";
30889
30890
  import "@xyflow/react/dist/style.css";
30890
30891
  import { Handle, Position } from "@xyflow/react";
30891
- import { memo as memo11 } from "react";
30892
-
30893
- // src/components/trace-graph/problem-indicator.tsx
30894
- import { Error as ErrorIcon2, Info as Info2, Warning as Warning2 } from "@mui/icons-material";
30895
- import { Box as Box17, Tooltip as Tooltip5 } from "@mui/material";
30896
- import { useMemo as useMemo13 } from "react";
30897
- import { jsx as jsx142 } from "react/jsx-runtime";
30898
- var ProblemIndicator = ({ error }) => {
30899
- const icon = useMemo13(() => {
30900
- switch (error.level) {
30901
- case "error": {
30902
- return /* @__PURE__ */ jsx142(ErrorIcon2, { sx: { color: "#d32f2f", fontSize: "14px" } });
30903
- }
30904
- case "warning": {
30905
- return /* @__PURE__ */ jsx142(Warning2, { sx: { color: "#ff9800", fontSize: "14px" } });
30906
- }
30907
- default: {
30908
- return /* @__PURE__ */ jsx142(Info2, { sx: { color: "#2196f3", fontSize: "14px" } });
30909
- }
30910
- }
30911
- }, [error.level]);
30912
- const color2 = useMemo13(() => {
30913
- switch (error.level) {
30914
- case "error": {
30915
- return "#d32f2f";
30916
- }
30917
- case "warning": {
30918
- return "#ff9800";
30919
- }
30920
- default: {
30921
- return "#2196f3";
30922
- }
30923
- }
30924
- }, [error.level]);
30925
- return /* @__PURE__ */ jsx142(Tooltip5, { arrow: true, title: error.message ?? "Issue detected", children: /* @__PURE__ */ jsx142(
30926
- Box17,
30927
- {
30928
- sx: {
30929
- alignItems: "center",
30930
- backgroundColor: `${color2}15`,
30931
- border: `1px solid ${color2}`,
30932
- borderRadius: "50%",
30933
- cursor: "pointer",
30934
- display: "inline-flex",
30935
- height: "18px",
30936
- justifyContent: "center",
30937
- width: "18px"
30938
- },
30939
- children: icon
30940
- }
30941
- ) });
30942
- };
30943
-
30944
- // src/components/trace-graph/service-node.tsx
30945
- import { jsx as jsx143, jsxs as jsxs132 } from "react/jsx-runtime";
30892
+ import { memo as memo11, useMemo as useMemo13 } from "react";
30893
+ import { jsx as jsx142, jsxs as jsxs132 } from "react/jsx-runtime";
30946
30894
  var handleStyle = {
30947
30895
  backgroundColor: "white",
30948
30896
  borderColor: "lightgray",
@@ -30950,9 +30898,17 @@ var handleStyle = {
30950
30898
  };
30951
30899
  var ServiceNode = memo11(({ data, selected }) => {
30952
30900
  const theme = useTheme4();
30953
- const hasErrors = (data.event.errors && data.event.errors.length > 0) ?? false;
30901
+ const isError = data.event.status_code === 2;
30902
+ const hasPermissionEvents = useMemo13(
30903
+ () => data.event.events.some(
30904
+ (event) => event.event_type === "iam.policy_evaluation" && event.name === "iam.policy.denied"
30905
+ ),
30906
+ [data.event.events]
30907
+ );
30908
+ const isWarning = !isError && data.event.status_code === 1 && hasPermissionEvents;
30909
+ const outlineColor = isError ? theme.palette.error.main : isWarning ? theme.palette.warning.main : void 0;
30954
30910
  return /* @__PURE__ */ jsxs132(
30955
- Box18,
30911
+ Box17,
30956
30912
  {
30957
30913
  "data-testid": SERVICE_NODE_TEST_ID,
30958
30914
  role: "button",
@@ -30961,21 +30917,21 @@ var ServiceNode = memo11(({ data, selected }) => {
30961
30917
  boxShadow: theme.palette.mode === "dark" ? "0 4px 12px rgba(0,0,0,0.6)" : "0 4px 12px rgba(0,0,0,0.22)"
30962
30918
  },
30963
30919
  "backgroundColor": theme.palette.background.paper,
30964
- "borderLeft": `3px solid ${hasErrors ? theme.palette.error.main : "transparent"}`,
30920
+ "borderLeft": `3px solid ${outlineColor ?? "transparent"}`,
30965
30921
  "borderRadius": 1,
30966
30922
  "boxShadow": theme.palette.mode === "dark" ? "0 1px 4px rgba(0,0,0,0.5)" : "0 1px 4px rgba(0,0,0,0.13)",
30967
30923
  "cursor": "pointer",
30968
30924
  "maxWidth": 220,
30969
30925
  "minWidth": 140,
30970
- "outline": selected ? `2px solid ${hasErrors ? theme.palette.error.main : theme.palette.primary.main}` : hasErrors ? `1px solid ${theme.palette.error.main}` : `1px solid ${theme.palette.divider}`,
30926
+ "outline": selected ? `2px solid ${theme.palette.primary.main}` : `1px solid ${theme.palette.divider}`,
30971
30927
  "overflow": "hidden",
30972
30928
  "position": "relative",
30973
30929
  "transition": "all 0.3s ease"
30974
30930
  },
30975
30931
  tabIndex: 0,
30976
30932
  children: [
30977
- /* @__PURE__ */ jsx143(Handle, { position: Position.Left, style: handleStyle, type: "target" }),
30978
- /* @__PURE__ */ jsx143(Handle, { position: Position.Right, style: handleStyle, type: "source" }),
30933
+ /* @__PURE__ */ jsx142(Handle, { position: Position.Left, style: handleStyle, type: "target" }),
30934
+ /* @__PURE__ */ jsx142(Handle, { position: Position.Right, style: handleStyle, type: "source" }),
30979
30935
  /* @__PURE__ */ jsxs132(
30980
30936
  Stack4,
30981
30937
  {
@@ -30983,9 +30939,9 @@ var ServiceNode = memo11(({ data, selected }) => {
30983
30939
  direction: "row",
30984
30940
  sx: { gap: "8px", pb: "2px", pt: "6px", px: "8px" },
30985
30941
  children: [
30986
- /* @__PURE__ */ jsx143(Box18, { sx: { borderRadius: "4px", flexShrink: 0, lineHeight: 0, overflow: "hidden" }, children: /* @__PURE__ */ jsx143(AwsServiceIcon, { hideTooltip: true, service: data.event.service_name, size: "medium" }) }),
30942
+ /* @__PURE__ */ jsx142(Box17, { sx: { borderRadius: "4px", flexShrink: 0, lineHeight: 0, overflow: "hidden" }, children: /* @__PURE__ */ jsx142(AwsServiceIcon, { hideTooltip: true, service: data.event.service_name, size: "medium" }) }),
30987
30943
  /* @__PURE__ */ jsxs132(Stack4, { sx: { minWidth: 0 }, children: [
30988
- /* @__PURE__ */ jsx143(
30944
+ /* @__PURE__ */ jsx142(
30989
30945
  Typography12,
30990
30946
  {
30991
30947
  noWrap: true,
@@ -30994,7 +30950,7 @@ var ServiceNode = memo11(({ data, selected }) => {
30994
30950
  children: getServiceDisplayName(data.event.service_name)
30995
30951
  }
30996
30952
  ),
30997
- data.event.resource_name != "" && /* @__PURE__ */ jsx143(
30953
+ data.event.resource_name != "" && /* @__PURE__ */ jsx142(
30998
30954
  Typography12,
30999
30955
  {
31000
30956
  color: "text.secondary",
@@ -31008,7 +30964,7 @@ var ServiceNode = memo11(({ data, selected }) => {
31008
30964
  ]
31009
30965
  }
31010
30966
  ),
31011
- /* @__PURE__ */ jsx143(Divider5, { sx: { ml: "38px", mr: "8px", my: "5px" } }),
30967
+ /* @__PURE__ */ jsx142(Divider5, { sx: { ml: "38px", mr: "8px", my: "5px" } }),
31012
30968
  /* @__PURE__ */ jsxs132(
31013
30969
  Stack4,
31014
30970
  {
@@ -31016,8 +30972,8 @@ var ServiceNode = memo11(({ data, selected }) => {
31016
30972
  direction: "row",
31017
30973
  sx: { minWidth: 0, pb: "5px", pr: "8px", pt: "1px" },
31018
30974
  children: [
31019
- /* @__PURE__ */ jsx143(
31020
- Box18,
30975
+ /* @__PURE__ */ jsxs132(
30976
+ Box17,
31021
30977
  {
31022
30978
  sx: {
31023
30979
  alignItems: "center",
@@ -31026,10 +30982,13 @@ var ServiceNode = memo11(({ data, selected }) => {
31026
30982
  justifyContent: "center",
31027
30983
  width: "38px"
31028
30984
  },
31029
- children: hasErrors && data.event.errors?.map((error) => /* @__PURE__ */ jsx143(ProblemIndicator, { error }, error.span_id))
30985
+ children: [
30986
+ (isError || isWarning) && hasPermissionEvents && /* @__PURE__ */ jsx142(Tooltip5, { arrow: true, title: "Permission denied", children: /* @__PURE__ */ jsx142(GppBad2, { sx: { color: isError ? theme.palette.error.main : theme.palette.warning.main, fontSize: "16px" } }) }),
30987
+ isError && !hasPermissionEvents && /* @__PURE__ */ jsx142(Tooltip5, { arrow: true, title: "Error", children: /* @__PURE__ */ jsx142(Cancel3, { sx: { color: theme.palette.error.main, fontSize: "16px" } }) })
30988
+ ]
31030
30989
  }
31031
30990
  ),
31032
- /* @__PURE__ */ jsx143(
30991
+ /* @__PURE__ */ jsx142(
31033
30992
  Typography12,
31034
30993
  {
31035
30994
  "data-testid": SERVICE_NODE_OPERATION_NAME_TEST_ID,
@@ -31103,11 +31062,11 @@ var getLayoutedNodesAndEdges = (inputNodes, inputEdges) => {
31103
31062
 
31104
31063
  // src/components/trace-graph/xyflow/controls.tsx
31105
31064
  import { Add, FitScreen, Remove } from "@mui/icons-material";
31106
- import { Box as Box19, IconButton as IconButton4 } from "@mui/material";
31065
+ import { Box as Box18, IconButton as IconButton4 } from "@mui/material";
31107
31066
  import { useReactFlow, useStore as useStore2 } from "@xyflow/react";
31108
31067
  import { memo as memo12 } from "react";
31109
31068
  import { shallow } from "zustand/shallow";
31110
- import { jsx as jsx144, jsxs as jsxs133 } from "react/jsx-runtime";
31069
+ import { jsx as jsx143, jsxs as jsxs133 } from "react/jsx-runtime";
31111
31070
  var selector = (s2) => ({
31112
31071
  isInteractive: s2.nodesDraggable || s2.nodesConnectable || s2.elementsSelectable,
31113
31072
  maxZoomReached: s2.transform[2] >= s2.maxZoom,
@@ -31126,7 +31085,7 @@ var Controls = memo12(() => {
31126
31085
  void fitView();
31127
31086
  };
31128
31087
  return /* @__PURE__ */ jsxs133(
31129
- Box19,
31088
+ Box18,
31130
31089
  {
31131
31090
  sx: {
31132
31091
  bottom: 0,
@@ -31139,33 +31098,33 @@ var Controls = memo12(() => {
31139
31098
  zIndex: 5
31140
31099
  },
31141
31100
  children: [
31142
- /* @__PURE__ */ jsx144(
31101
+ /* @__PURE__ */ jsx143(
31143
31102
  IconButton4,
31144
31103
  {
31145
31104
  className: "react-flow__controls-zoomin",
31146
31105
  disabled: maxZoomReached,
31147
31106
  onClick: onZoomInHandler,
31148
31107
  size: "small",
31149
- children: /* @__PURE__ */ jsx144(Add, {})
31108
+ children: /* @__PURE__ */ jsx143(Add, {})
31150
31109
  }
31151
31110
  ),
31152
- /* @__PURE__ */ jsx144(
31111
+ /* @__PURE__ */ jsx143(
31153
31112
  IconButton4,
31154
31113
  {
31155
31114
  className: "react-flow__controls-zoomout",
31156
31115
  disabled: minZoomReached,
31157
31116
  onClick: onZoomOutHandler,
31158
31117
  size: "small",
31159
- children: /* @__PURE__ */ jsx144(Remove, {})
31118
+ children: /* @__PURE__ */ jsx143(Remove, {})
31160
31119
  }
31161
31120
  ),
31162
- /* @__PURE__ */ jsx144(
31121
+ /* @__PURE__ */ jsx143(
31163
31122
  IconButton4,
31164
31123
  {
31165
31124
  className: "react-flow__controls-fitview",
31166
31125
  onClick: onFitViewHandler,
31167
31126
  size: "small",
31168
- children: /* @__PURE__ */ jsx144(FitScreen, {})
31127
+ children: /* @__PURE__ */ jsx143(FitScreen, {})
31169
31128
  }
31170
31129
  )
31171
31130
  ]
@@ -31174,7 +31133,7 @@ var Controls = memo12(() => {
31174
31133
  });
31175
31134
 
31176
31135
  // src/components/trace-graph/trace-graph.tsx
31177
- import { Fragment as Fragment12, jsx as jsx145, jsxs as jsxs134 } from "react/jsx-runtime";
31136
+ import { Fragment as Fragment12, jsx as jsx144, jsxs as jsxs134 } from "react/jsx-runtime";
31178
31137
  var nodeTypes = {
31179
31138
  service: ServiceNode
31180
31139
  };
@@ -31241,7 +31200,7 @@ var TraceGraph = ({
31241
31200
  spans.error && /* @__PURE__ */ jsxs134(
31242
31201
  Alert5,
31243
31202
  {
31244
- action: /* @__PURE__ */ jsx145(Button5, { onClick: () => {
31203
+ action: /* @__PURE__ */ jsx144(Button5, { onClick: () => {
31245
31204
  onRefresh();
31246
31205
  }, children: "Retry" }),
31247
31206
  severity: "error",
@@ -31270,8 +31229,8 @@ var TraceGraph = ({
31270
31229
  onNodesChange,
31271
31230
  selectNodesOnDrag: false,
31272
31231
  children: [
31273
- /* @__PURE__ */ jsx145(Controls, {}),
31274
- /* @__PURE__ */ jsx145(
31232
+ /* @__PURE__ */ jsx144(Controls, {}),
31233
+ /* @__PURE__ */ jsx144(
31275
31234
  Background,
31276
31235
  {
31277
31236
  bgColor: theme.palette.background.default,
@@ -31285,7 +31244,7 @@ var TraceGraph = ({
31285
31244
  };
31286
31245
 
31287
31246
  // src/pages/trace-graph-page.tsx
31288
- import { Fragment as Fragment13, jsx as jsx146, jsxs as jsxs135 } from "react/jsx-runtime";
31247
+ import { Fragment as Fragment13, jsx as jsx145, jsxs as jsxs135 } from "react/jsx-runtime";
31289
31248
  var HEADER_HEIGHT = 56;
31290
31249
  var DRAWER_WIDTH = "35%";
31291
31250
  var Main = styled("main", { shouldForwardProp: (property) => property !== "open" })(({ open, theme }) => ({
@@ -31335,7 +31294,7 @@ var TraceGraphView = ({
31335
31294
  }) => {
31336
31295
  const shouldShowStatusMessage = Boolean(statusError) || status?.status === "DISABLED";
31337
31296
  return /* @__PURE__ */ jsxs135(
31338
- Box20,
31297
+ Box19,
31339
31298
  {
31340
31299
  "data-testid": TRACE_GRAPH_PAGE_TEST_ID,
31341
31300
  sx: {
@@ -31347,13 +31306,13 @@ var TraceGraphView = ({
31347
31306
  overflow: "hidden"
31348
31307
  },
31349
31308
  children: [
31350
- /* @__PURE__ */ jsxs135(Box20, { sx: { display: "flex", width: "100%" }, children: [
31351
- /* @__PURE__ */ jsx146(Button6, { onClick: () => {
31309
+ /* @__PURE__ */ jsxs135(Box19, { sx: { display: "flex", width: "100%" }, children: [
31310
+ /* @__PURE__ */ jsx145(Button6, { onClick: () => {
31352
31311
  navigateToSpansList();
31353
- }, startIcon: /* @__PURE__ */ jsx146(ArrowBack, {}), children: "Go back" }),
31354
- /* @__PURE__ */ jsx146(Box20, { sx: { flexGrow: 1 } })
31312
+ }, startIcon: /* @__PURE__ */ jsx145(ArrowBack, {}), children: "Go back" }),
31313
+ /* @__PURE__ */ jsx145(Box19, { sx: { flexGrow: 1 } })
31355
31314
  ] }),
31356
- /* @__PURE__ */ jsx146(
31315
+ /* @__PURE__ */ jsx145(
31357
31316
  Paper3,
31358
31317
  {
31359
31318
  sx: {
@@ -31363,7 +31322,7 @@ var TraceGraphView = ({
31363
31322
  position: "relative",
31364
31323
  width: "100%"
31365
31324
  },
31366
- children: shouldShowStatusMessage ? /* @__PURE__ */ jsx146(
31325
+ children: shouldShowStatusMessage ? /* @__PURE__ */ jsx145(
31367
31326
  StatusMessage,
31368
31327
  {
31369
31328
  error: statusError,
@@ -31372,14 +31331,14 @@ var TraceGraphView = ({
31372
31331
  status
31373
31332
  }
31374
31333
  ) : /* @__PURE__ */ jsxs135(Fragment13, { children: [
31375
- /* @__PURE__ */ jsx146(Main, { open, children: /* @__PURE__ */ jsx146(
31376
- Box20,
31334
+ /* @__PURE__ */ jsx145(Main, { open, children: /* @__PURE__ */ jsx145(
31335
+ Box19,
31377
31336
  {
31378
31337
  sx: {
31379
31338
  height: "100%",
31380
31339
  overflow: "auto"
31381
31340
  },
31382
- children: traceId !== void 0 && /* @__PURE__ */ jsx146(ReactFlowProvider, { children: /* @__PURE__ */ jsx146(
31341
+ children: traceId !== void 0 && /* @__PURE__ */ jsx145(ReactFlowProvider, { children: /* @__PURE__ */ jsx145(
31383
31342
  TraceGraph,
31384
31343
  {
31385
31344
  initialFocusEventId: spanId,
@@ -31396,7 +31355,7 @@ var TraceGraphView = ({
31396
31355
  ) })
31397
31356
  }
31398
31357
  ) }),
31399
- /* @__PURE__ */ jsx146(StyledDrawer, { anchor: "right", open, variant: "persistent", children: /* @__PURE__ */ jsx146(EventDetails, { onClose: handleClose, selectedEvent }) })
31358
+ /* @__PURE__ */ jsx145(StyledDrawer, { anchor: "right", open, variant: "persistent", children: /* @__PURE__ */ jsx145(EventDetails, { onClose: handleClose, selectedEvent }) })
31400
31359
  ] })
31401
31360
  }
31402
31361
  )
@@ -31489,7 +31448,7 @@ var TraceGraphPage = ({ onClose, spanId, traceId }) => {
31489
31448
  const navigateToSpansList = useCallback11(() => {
31490
31449
  onClose?.();
31491
31450
  }, [onClose]);
31492
- return /* @__PURE__ */ jsx146(
31451
+ return /* @__PURE__ */ jsx145(
31493
31452
  TraceGraphView,
31494
31453
  {
31495
31454
  fetchError,
@@ -31514,7 +31473,7 @@ var TraceGraphPage = ({ onClose, spanId, traceId }) => {
31514
31473
  };
31515
31474
 
31516
31475
  // src/pages/spans-list-page.tsx
31517
- import { Fragment as Fragment14, jsx as jsx147, jsxs as jsxs136 } from "react/jsx-runtime";
31476
+ import { Fragment as Fragment14, jsx as jsx146, jsxs as jsxs136 } from "react/jsx-runtime";
31518
31477
  var SpansListPage = () => {
31519
31478
  const api = useAppInspectorApi();
31520
31479
  const {
@@ -31563,7 +31522,7 @@ var SpansListPage = () => {
31563
31522
  const shouldShowStatusMessage = Boolean(statusError) || status?.status === "DISABLED";
31564
31523
  return /* @__PURE__ */ jsxs136(Fragment14, { children: [
31565
31524
  /* @__PURE__ */ jsxs136(
31566
- Box21,
31525
+ Box20,
31567
31526
  {
31568
31527
  "data-testid": SPANS_LIST_PAGE_TEST_ID,
31569
31528
  sx: {
@@ -31578,7 +31537,7 @@ var SpansListPage = () => {
31578
31537
  width: "100%"
31579
31538
  },
31580
31539
  children: [
31581
- !checking && !shouldShowStatusMessage && /* @__PURE__ */ jsx147(
31540
+ !checking && !shouldShowStatusMessage && /* @__PURE__ */ jsx146(
31582
31541
  EmulatorVersionBanner,
31583
31542
  {
31584
31543
  compatibility: bannerDismissed && versionCompatibility === "warning" ? "ok" : versionCompatibility,
@@ -31588,7 +31547,7 @@ var SpansListPage = () => {
31588
31547
  } : void 0
31589
31548
  }
31590
31549
  ),
31591
- shouldShowStatusMessage ? /* @__PURE__ */ jsx147(
31550
+ shouldShowStatusMessage ? /* @__PURE__ */ jsx146(
31592
31551
  StatusMessage,
31593
31552
  {
31594
31553
  error: statusError,
@@ -31597,7 +31556,7 @@ var SpansListPage = () => {
31597
31556
  onRetry: handleRetry,
31598
31557
  status
31599
31558
  }
31600
- ) : /* @__PURE__ */ jsx147(
31559
+ ) : /* @__PURE__ */ jsx146(
31601
31560
  SpansList,
31602
31561
  {
31603
31562
  clearingSpans,
@@ -31625,7 +31584,7 @@ var SpansListPage = () => {
31625
31584
  ]
31626
31585
  }
31627
31586
  ),
31628
- selectedTraceId !== void 0 && /* @__PURE__ */ jsx147(TraceGraphPage, { onClose: () => {
31587
+ selectedTraceId !== void 0 && /* @__PURE__ */ jsx146(TraceGraphPage, { onClose: () => {
31629
31588
  setSelectedTraceId(void 0);
31630
31589
  }, spanId: selectedSpanId, traceId: selectedTraceId })
31631
31590
  ] });