@localstack/appinspector-ui 1.0.100 → 1.0.102

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 CHANGED
@@ -14868,9 +14868,9 @@ var newSpanBackgroundColor = {
14868
14868
  };
14869
14869
  var LABEL_BEGINNING_OF_STREAM = "This is the beginning of the stream";
14870
14870
  var LABEL_END_OF_STREAM = "This is the end of the stream";
14871
- var LABEL_NO_SPANS = "There are no spans";
14872
- var LABEL_LOAD_OLDER = "Load older spans";
14873
- var LABEL_LOAD_NEWER = "Load newer spans";
14871
+ var LABEL_NO_SPANS = "There are no operations";
14872
+ var LABEL_LOAD_OLDER = "Load older operations";
14873
+ var LABEL_LOAD_NEWER = "Load newer operations";
14874
14874
  var StreamBoundaryRow = ({ colSpan, label }) => /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material6.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material6.TableCell, { colSpan, sx: { fontStyle: "italic", textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("span", { children: label }) }) });
14875
14875
  var LoadSpansRow = ({ colSpan, fetching, label, onFetch }) => /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material6.TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_material6.TableCell, { colSpan, sx: { textAlign: "center" }, children: [
14876
14876
  !fetching && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_material6.Button, { onClick: onFetch, sx: { my: 1 }, children: label }),
@@ -15075,7 +15075,7 @@ var SpansDataGrid = ({
15075
15075
  "data-testid": CLEAR_SPANS_TEST_ID,
15076
15076
  onClick: onClearSpans,
15077
15077
  startIcon: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(import_icons_material2.DeleteForeverOutlined, {}),
15078
- children: "Clear Events"
15078
+ children: "Clear Operations"
15079
15079
  }
15080
15080
  ),
15081
15081
  disabled: clearingSpans,
@@ -15358,34 +15358,20 @@ var StatusMessage = ({
15358
15358
  severity: "warning",
15359
15359
  sx: { maxWidth: 600, width: "100%" },
15360
15360
  children: [
15361
- /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material8.AlertTitle, { sx: { fontWeight: "bold" }, children: "App Inspector is Disabled" }),
15362
- /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material8.Typography, { sx: { mb: 2 }, variant: "body2", children: "App Inspector is not enabled in LocalStack. Enable it now or via configuration on startup." }),
15363
- /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material8.Typography, { sx: { mb: 1 }, variant: "body2", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("strong", { children: "App Inspector configuration:" }) }),
15364
- /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
15365
- import_material8.Box,
15366
- {
15367
- component: "pre",
15368
- sx: {
15369
- backgroundColor: "rgba(0, 0, 0, 0.05)",
15370
- borderRadius: 1,
15371
- fontSize: "0.875rem",
15372
- p: 1
15373
- },
15374
- children: "LOCALSTACK_APP_INSPECTOR=1 localstack start"
15375
- }
15376
- ),
15377
- /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(import_material8.Box, { sx: { display: "flex", gap: 1, mt: 2 }, children: [
15361
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material8.AlertTitle, { sx: { fontWeight: "bold" }, children: "App Inspector Is Not Enabled" }),
15362
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material8.Typography, { sx: { mb: 2 }, variant: "body2", children: "App Inspector is not currently enabled in LocalStack. You can enable it now, or at startup." }),
15363
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(import_material8.Box, { sx: { display: "flex", gap: 1, mb: 2 }, children: [
15378
15364
  onEnable && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
15379
15365
  import_material8.Button,
15380
15366
  {
15381
- "aria-label": "Enable App Inspector",
15367
+ "aria-label": "Enable App Inspector Now",
15382
15368
  disabled: enabling,
15383
15369
  onClick: () => {
15384
15370
  void handleEnable();
15385
15371
  },
15386
15372
  startIcon: enabling ? /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material8.CircularProgress, { size: 16 }) : void 0,
15387
15373
  variant: "contained",
15388
- children: "Enable App Inspector"
15374
+ children: "Enable App Inspector Now"
15389
15375
  }
15390
15376
  ),
15391
15377
  onRetry && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
@@ -15399,6 +15385,20 @@ var StatusMessage = ({
15399
15385
  }
15400
15386
  )
15401
15387
  ] }),
15388
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material8.Typography, { sx: { mb: 1 }, variant: "body2", children: "If you'd prefer to automatically enable App Inspector at start up, use:" }),
15389
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
15390
+ import_material8.Box,
15391
+ {
15392
+ component: "pre",
15393
+ sx: {
15394
+ backgroundColor: "rgba(0, 0, 0, 0.05)",
15395
+ borderRadius: 1,
15396
+ fontSize: "0.875rem",
15397
+ p: 1
15398
+ },
15399
+ children: "LOCALSTACK_APP_INSPECTOR=1 localstack start"
15400
+ }
15401
+ ),
15402
15402
  Boolean(enableError) && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material8.Typography, { color: "error", sx: { mt: 1 }, variant: "body2", children: enableError })
15403
15403
  ]
15404
15404
  }