@localstack/appinspector-ui 1.0.168 → 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.js
CHANGED
|
@@ -2486,6 +2486,8 @@ var SPANS_DATA_GRID_ROW_TEST_ID = "spans-data-grid-row";
|
|
|
2486
2486
|
var SPANS_SEARCH_INPUT_TEST_ID = "spans-search-input";
|
|
2487
2487
|
var SPANS_SEARCH_CLEAR_TEST_ID = "spans-search-clear";
|
|
2488
2488
|
var SPANS_SEARCH_NO_MATCH_TEST_ID = "spans-search-no-match";
|
|
2489
|
+
var SPAN_COUNT_BADGE_TEST_ID = "span-count-badge";
|
|
2490
|
+
var TIMESTAMP_CELL_TEST_ID = "timestamp-cell";
|
|
2489
2491
|
var EVENT_DETAILS_SECTION_BASIC_INFORMATION_TEST_ID = "event-details-section-basic-information";
|
|
2490
2492
|
var EVENT_DETAILS_SERVICE_NAME_TEST_ID = "event-details-service-name";
|
|
2491
2493
|
var EVENT_DETAILS_OPERATION_NAME_TEST_ID = "event-details-operation-name";
|
|
@@ -13091,7 +13093,7 @@ import { memo as memo3 } from "react";
|
|
|
13091
13093
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
13092
13094
|
var ResponsiveTimestampCell = memo3(({ date }) => {
|
|
13093
13095
|
const formattedTime = date === void 0 ? "" : (date instanceof Date ? date : new Date(date)).toISOString().slice(0, 23).replace("T", " ");
|
|
13094
|
-
return /* @__PURE__ */ jsx3("span", { style: { display: "inline-block", width: "100%" }, children: formattedTime });
|
|
13096
|
+
return /* @__PURE__ */ jsx3("span", { "data-testid": TIMESTAMP_CELL_TEST_ID, style: { display: "inline-block", width: "100%" }, children: formattedTime });
|
|
13095
13097
|
});
|
|
13096
13098
|
|
|
13097
13099
|
// src/utils/service-display-name.ts
|
|
@@ -15424,7 +15426,7 @@ var SpanCountBadge = ({ licenseLimit, systemLimit, totalCount, visibleCount }) =
|
|
|
15424
15426
|
const isOpen = anchorElement !== void 0;
|
|
15425
15427
|
const systemLimitReached = typeof systemLimit === "number" && totalCount !== void 0 && totalCount >= systemLimit;
|
|
15426
15428
|
const licenseLimitReached = typeof licenseLimit === "number" && totalCount !== void 0 && totalCount >= licenseLimit;
|
|
15427
|
-
return /* @__PURE__ */ jsxs120(Box3, { sx: { alignItems: "center", display: "flex", gap: 0.25 }, children: [
|
|
15429
|
+
return /* @__PURE__ */ jsxs120(Box3, { "data-testid": SPAN_COUNT_BADGE_TEST_ID, sx: { alignItems: "center", display: "flex", gap: 0.25 }, children: [
|
|
15428
15430
|
isLoading ? /* @__PURE__ */ jsx125(Skeleton, { sx: { minWidth: 120 } }) : /* @__PURE__ */ jsxs120(Box3, { sx: { alignItems: "baseline", display: "flex", gap: 0.5 }, children: [
|
|
15429
15431
|
/* @__PURE__ */ jsx125(Typography3, { color: "text.secondary", variant: "caption", children: "Showing" }),
|
|
15430
15432
|
/* @__PURE__ */ jsx125(Typography3, { variant: "body2", children: visibleCount === void 0 ? "\u2014" : fmt(visibleCount) }),
|