@localstack/appinspector-ui 1.0.169 → 1.0.170
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 +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2490,6 +2490,8 @@ var SPANS_DATA_GRID_ROW_TEST_ID = "spans-data-grid-row";
|
|
|
2490
2490
|
var SPANS_SEARCH_INPUT_TEST_ID = "spans-search-input";
|
|
2491
2491
|
var SPANS_SEARCH_CLEAR_TEST_ID = "spans-search-clear";
|
|
2492
2492
|
var SPANS_SEARCH_NO_MATCH_TEST_ID = "spans-search-no-match";
|
|
2493
|
+
var SPAN_COUNT_BADGE_TEST_ID = "span-count-badge";
|
|
2494
|
+
var TIMESTAMP_CELL_TEST_ID = "timestamp-cell";
|
|
2493
2495
|
var EVENT_DETAILS_SECTION_BASIC_INFORMATION_TEST_ID = "event-details-section-basic-information";
|
|
2494
2496
|
var EVENT_DETAILS_SERVICE_NAME_TEST_ID = "event-details-service-name";
|
|
2495
2497
|
var EVENT_DETAILS_OPERATION_NAME_TEST_ID = "event-details-operation-name";
|
|
@@ -13077,7 +13079,7 @@ var import_react31 = require("react");
|
|
|
13077
13079
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
13078
13080
|
var ResponsiveTimestampCell = (0, import_react31.memo)(({ date }) => {
|
|
13079
13081
|
const formattedTime = date === void 0 ? "" : (date instanceof Date ? date : new Date(date)).toISOString().slice(0, 23).replace("T", " ");
|
|
13080
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: { display: "inline-block", width: "100%" }, children: formattedTime });
|
|
13082
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { "data-testid": TIMESTAMP_CELL_TEST_ID, style: { display: "inline-block", width: "100%" }, children: formattedTime });
|
|
13081
13083
|
});
|
|
13082
13084
|
|
|
13083
13085
|
// src/utils/service-display-name.ts
|
|
@@ -15410,7 +15412,7 @@ var SpanCountBadge = ({ licenseLimit, systemLimit, totalCount, visibleCount }) =
|
|
|
15410
15412
|
const isOpen = anchorElement !== void 0;
|
|
15411
15413
|
const systemLimitReached = typeof systemLimit === "number" && totalCount !== void 0 && totalCount >= systemLimit;
|
|
15412
15414
|
const licenseLimitReached = typeof licenseLimit === "number" && totalCount !== void 0 && totalCount >= licenseLimit;
|
|
15413
|
-
return /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { sx: { alignItems: "center", display: "flex", gap: 0.25 }, children: [
|
|
15415
|
+
return /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { "data-testid": SPAN_COUNT_BADGE_TEST_ID, sx: { alignItems: "center", display: "flex", gap: 0.25 }, children: [
|
|
15414
15416
|
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Skeleton, { sx: { minWidth: 120 } }) : /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(import_material5.Box, { sx: { alignItems: "baseline", display: "flex", gap: 0.5 }, children: [
|
|
15415
15417
|
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { color: "text.secondary", variant: "caption", children: "Showing" }),
|
|
15416
15418
|
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material5.Typography, { variant: "body2", children: visibleCount === void 0 ? "\u2014" : fmt(visibleCount) }),
|