@localstack/appinspector-ui 1.0.20 → 1.0.21
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.cjs +18 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import { Alert, Box as Box5, Button as Button2 } from "@mui/material";
|
|
|
23
23
|
|
|
24
24
|
// src/components/spans-list/spans-data-grid.tsx
|
|
25
25
|
import { Cached, DeleteForeverOutlined, Search } from "@mui/icons-material";
|
|
26
|
-
import { Box as Box4, Button, FormControlLabel, Grid, Paper, Switch, TextField, Typography as Typography2 } from "@mui/material";
|
|
26
|
+
import { Box as Box4, Button, FormControlLabel, Grid, Paper, Switch, TextField, Tooltip as Tooltip3, Typography as Typography2 } from "@mui/material";
|
|
27
27
|
import { DataGrid } from "@mui/x-data-grid";
|
|
28
28
|
import { useCallback, useMemo as useMemo2, useState as useState2 } from "react";
|
|
29
29
|
|
|
@@ -2690,16 +2690,28 @@ var columns = [
|
|
|
2690
2690
|
field: "trace_id",
|
|
2691
2691
|
headerName: "Trace",
|
|
2692
2692
|
renderCell: (parameters) => {
|
|
2693
|
-
return /* @__PURE__ */ jsx125(
|
|
2693
|
+
return /* @__PURE__ */ jsx125(Tooltip3, { arrow: true, title: String(parameters.value), children: /* @__PURE__ */ jsx125(
|
|
2694
|
+
"span",
|
|
2695
|
+
{
|
|
2696
|
+
style: {
|
|
2697
|
+
maxWidth: "100%",
|
|
2698
|
+
overflow: "hidden",
|
|
2699
|
+
textOverflow: "ellipsis",
|
|
2700
|
+
whiteSpace: "nowrap"
|
|
2701
|
+
},
|
|
2702
|
+
children: parameters.value
|
|
2703
|
+
}
|
|
2704
|
+
) });
|
|
2694
2705
|
},
|
|
2695
|
-
|
|
2706
|
+
type: "string",
|
|
2707
|
+
width: 120
|
|
2696
2708
|
},
|
|
2697
2709
|
{
|
|
2698
2710
|
field: "start_time_unix_nano",
|
|
2699
2711
|
headerName: "Time",
|
|
2700
2712
|
renderCell: (parameters) => /* @__PURE__ */ jsx125(ResponsiveTimestampCell, { value: parameters.value }),
|
|
2701
2713
|
type: "string",
|
|
2702
|
-
width:
|
|
2714
|
+
width: 180
|
|
2703
2715
|
},
|
|
2704
2716
|
{
|
|
2705
2717
|
field: "producer",
|
|
@@ -2712,19 +2724,19 @@ var columns = [
|
|
|
2712
2724
|
},
|
|
2713
2725
|
sortable: true,
|
|
2714
2726
|
sortComparator: resourceNameComparator,
|
|
2715
|
-
width:
|
|
2727
|
+
width: 260
|
|
2716
2728
|
},
|
|
2717
2729
|
{
|
|
2718
2730
|
field: "operation_name",
|
|
2719
2731
|
headerName: "Action",
|
|
2720
2732
|
type: "string",
|
|
2721
|
-
width:
|
|
2733
|
+
width: 130
|
|
2722
2734
|
},
|
|
2723
2735
|
{
|
|
2724
2736
|
field: "consumer",
|
|
2725
2737
|
flex: 1,
|
|
2726
2738
|
headerName: "Consumer",
|
|
2727
|
-
|
|
2739
|
+
maxWidth: 260,
|
|
2728
2740
|
renderCell: (parameters) => {
|
|
2729
2741
|
return /* @__PURE__ */ jsx125(ServiceCell, { resource: parameters.row.resource_name, service: parameters.row.service_name });
|
|
2730
2742
|
},
|
|
@@ -4417,7 +4429,7 @@ import { memo, useCallback as useCallback6 } from "react";
|
|
|
4417
4429
|
|
|
4418
4430
|
// src/components/trace-graph/problem-indicator.tsx
|
|
4419
4431
|
import { Error as ErrorIcon2, Info as Info2, Warning as Warning2 } from "@mui/icons-material";
|
|
4420
|
-
import { Box as Box16, Tooltip as
|
|
4432
|
+
import { Box as Box16, Tooltip as Tooltip4 } from "@mui/material";
|
|
4421
4433
|
import { useMemo as useMemo8 } from "react";
|
|
4422
4434
|
import { jsx as jsx138 } from "react/jsx-runtime";
|
|
4423
4435
|
var ProblemIndicator = ({ error }) => {
|
|
@@ -4447,7 +4459,7 @@ var ProblemIndicator = ({ error }) => {
|
|
|
4447
4459
|
}
|
|
4448
4460
|
}
|
|
4449
4461
|
}, [error.level]);
|
|
4450
|
-
return /* @__PURE__ */ jsx138(
|
|
4462
|
+
return /* @__PURE__ */ jsx138(Tooltip4, { arrow: true, title: error.message ?? "Issue detected", children: /* @__PURE__ */ jsx138(
|
|
4451
4463
|
Box16,
|
|
4452
4464
|
{
|
|
4453
4465
|
sx: {
|