@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.js CHANGED
@@ -14881,9 +14881,9 @@ var newSpanBackgroundColor = {
14881
14881
  };
14882
14882
  var LABEL_BEGINNING_OF_STREAM = "This is the beginning of the stream";
14883
14883
  var LABEL_END_OF_STREAM = "This is the end of the stream";
14884
- var LABEL_NO_SPANS = "There are no spans";
14885
- var LABEL_LOAD_OLDER = "Load older spans";
14886
- var LABEL_LOAD_NEWER = "Load newer spans";
14884
+ var LABEL_NO_SPANS = "There are no operations";
14885
+ var LABEL_LOAD_OLDER = "Load older operations";
14886
+ var LABEL_LOAD_NEWER = "Load newer operations";
14887
14887
  var StreamBoundaryRow = ({ colSpan, label }) => /* @__PURE__ */ jsx127(TableRow, { children: /* @__PURE__ */ jsx127(TableCell, { colSpan, sx: { fontStyle: "italic", textAlign: "center" }, children: /* @__PURE__ */ jsx127("span", { children: label }) }) });
14888
14888
  var LoadSpansRow = ({ colSpan, fetching, label, onFetch }) => /* @__PURE__ */ jsx127(TableRow, { children: /* @__PURE__ */ jsxs121(TableCell, { colSpan, sx: { textAlign: "center" }, children: [
14889
14889
  !fetching && /* @__PURE__ */ jsx127(Button2, { onClick: onFetch, sx: { my: 1 }, children: label }),
@@ -15088,7 +15088,7 @@ var SpansDataGrid = ({
15088
15088
  "data-testid": CLEAR_SPANS_TEST_ID,
15089
15089
  onClick: onClearSpans,
15090
15090
  startIcon: /* @__PURE__ */ jsx127(DeleteForeverOutlined, {}),
15091
- children: "Clear Events"
15091
+ children: "Clear Operations"
15092
15092
  }
15093
15093
  ),
15094
15094
  disabled: clearingSpans,
@@ -15371,34 +15371,20 @@ var StatusMessage = ({
15371
15371
  severity: "warning",
15372
15372
  sx: { maxWidth: 600, width: "100%" },
15373
15373
  children: [
15374
- /* @__PURE__ */ jsx129(AlertTitle, { sx: { fontWeight: "bold" }, children: "App Inspector is Disabled" }),
15375
- /* @__PURE__ */ jsx129(Typography4, { sx: { mb: 2 }, variant: "body2", children: "App Inspector is not enabled in LocalStack. Enable it now or via configuration on startup." }),
15376
- /* @__PURE__ */ jsx129(Typography4, { sx: { mb: 1 }, variant: "body2", children: /* @__PURE__ */ jsx129("strong", { children: "App Inspector configuration:" }) }),
15377
- /* @__PURE__ */ jsx129(
15378
- Box6,
15379
- {
15380
- component: "pre",
15381
- sx: {
15382
- backgroundColor: "rgba(0, 0, 0, 0.05)",
15383
- borderRadius: 1,
15384
- fontSize: "0.875rem",
15385
- p: 1
15386
- },
15387
- children: "LOCALSTACK_APP_INSPECTOR=1 localstack start"
15388
- }
15389
- ),
15390
- /* @__PURE__ */ jsxs123(Box6, { sx: { display: "flex", gap: 1, mt: 2 }, children: [
15374
+ /* @__PURE__ */ jsx129(AlertTitle, { sx: { fontWeight: "bold" }, children: "App Inspector Is Not Enabled" }),
15375
+ /* @__PURE__ */ jsx129(Typography4, { sx: { mb: 2 }, variant: "body2", children: "App Inspector is not currently enabled in LocalStack. You can enable it now, or at startup." }),
15376
+ /* @__PURE__ */ jsxs123(Box6, { sx: { display: "flex", gap: 1, mb: 2 }, children: [
15391
15377
  onEnable && /* @__PURE__ */ jsx129(
15392
15378
  Button4,
15393
15379
  {
15394
- "aria-label": "Enable App Inspector",
15380
+ "aria-label": "Enable App Inspector Now",
15395
15381
  disabled: enabling,
15396
15382
  onClick: () => {
15397
15383
  void handleEnable();
15398
15384
  },
15399
15385
  startIcon: enabling ? /* @__PURE__ */ jsx129(CircularProgress2, { size: 16 }) : void 0,
15400
15386
  variant: "contained",
15401
- children: "Enable App Inspector"
15387
+ children: "Enable App Inspector Now"
15402
15388
  }
15403
15389
  ),
15404
15390
  onRetry && /* @__PURE__ */ jsx129(
@@ -15412,6 +15398,20 @@ var StatusMessage = ({
15412
15398
  }
15413
15399
  )
15414
15400
  ] }),
15401
+ /* @__PURE__ */ jsx129(Typography4, { sx: { mb: 1 }, variant: "body2", children: "If you'd prefer to automatically enable App Inspector at start up, use:" }),
15402
+ /* @__PURE__ */ jsx129(
15403
+ Box6,
15404
+ {
15405
+ component: "pre",
15406
+ sx: {
15407
+ backgroundColor: "rgba(0, 0, 0, 0.05)",
15408
+ borderRadius: 1,
15409
+ fontSize: "0.875rem",
15410
+ p: 1
15411
+ },
15412
+ children: "LOCALSTACK_APP_INSPECTOR=1 localstack start"
15413
+ }
15414
+ ),
15415
15415
  Boolean(enableError) && /* @__PURE__ */ jsx129(Typography4, { color: "error", sx: { mt: 1 }, variant: "body2", children: enableError })
15416
15416
  ]
15417
15417
  }