@burdenoff/fluidgrids-fe-sdk 2026.1112.9 → 2026.1112.10
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/{AiStudioPage-DfoV1Olc.js → AiStudioPage-Q3455WO6.js} +4 -4
- package/dist/{DataSinkDashboardPage-Dt3xTBb8.js → DataSinkDashboardPage-B5bqPnUn.js} +28 -11
- package/dist/{ExecutionDetailPage-CcUxFexZ.js → ExecutionDetailPage-UyXErYuS.js} +5 -5
- package/dist/{ExecutionsListPage-JpByw6nA.js → ExecutionsListPage-CUJQA0Vk.js} +4 -4
- package/dist/{FluidGridsProvider-TQ-aDPtn.js → FluidGridsProvider-CGi9a1So.js} +35 -3
- package/dist/{HistoryPage-s9pl5gyl.js → HistoryPage-DLqmeQ12.js} +1 -1
- package/dist/{InsightsPage-CtjJCky-.js → InsightsPage-CqtPCpj7.js} +301 -207
- package/dist/{MissingNodesInstallModal-olEc52p2.js → MissingNodesInstallModal-Df4fEAnr.js} +1 -1
- package/dist/{NodesPage-BSNpOUMX.js → NodesPage-YQ-hP60x.js} +210 -254
- package/dist/{OpenTemplateAsCodeButton-Dh3ee2OR.js → OpenTemplateAsCodeButton-BmuHhDRr.js} +1 -1
- package/dist/{PaidTemplateConfirm-DjmVi_m-.js → PaidTemplateConfirm-BTrK35af.js} +1 -1
- package/dist/{SettingsPage-ywyjIAL8.js → SettingsPage-CVvaQ_g9.js} +2 -2
- package/dist/{TemplateCard--WYJZlA_.js → TemplateCard-DFbYdC2c.js} +3 -3
- package/dist/{TemplateConfigurationModal-cd0-QVMZ.js → TemplateConfigurationModal-Dw2UgWYF.js} +2 -2
- package/dist/{TemplateDetailPanel-C-2JuXg6.js → TemplateDetailPanel-DDySr7_1.js} +1 -1
- package/dist/{TemplatePreview-BCnGjMuN.js → TemplatePreview-D8zWdTGv.js} +6 -6
- package/dist/{TemplatesPage-u7bXJYfv.js → TemplatesPage-XCwxJjN6.js} +5 -5
- package/dist/VariablesPage-DpiLh99E.js +1006 -0
- package/dist/{WorkflowBuilder-BWxBmBoP.js → WorkflowBuilder-BaNAX7Nk.js} +3 -3
- package/dist/{WorkflowBuilder-DxAAPHsn.js → WorkflowBuilder-CXqwzR7a.js} +7 -7
- package/dist/{WorkflowSearchRedirect-BGKduhfZ.js → WorkflowSearchRedirect-DsQ71VcC.js} +1 -1
- package/dist/{WorkflowsList-Bocag4TX.js → WorkflowsList-DQW-WLl5.js} +8 -284
- package/dist/{agentTools-JHtYGgd7.js → agentTools-edsllozS.js} +3 -3
- package/dist/{canvasNoteTools-B2ouyIbj.js → canvasNoteTools-DzNTcQGo.js} +2 -2
- package/dist/{code-editor-field-CWGZyNGM.js → code-editor-field-B2l-B8in.js} +1 -1
- package/dist/executions.js +2 -2
- package/dist/{flow-builder-DzKPrW2r.js → flow-builder-B2JGvYeK.js} +12 -12
- package/dist/history.js +1 -1
- package/dist/{index-CGCAcRKo.d.ts → index-ChYBGz_a.d.ts} +44 -16
- package/dist/index.d.ts +1 -1
- package/dist/index.js +243 -29
- package/dist/{node-detail-view-DNilUGcx.js → node-detail-view-BDXhEGVD.js} +5 -5
- package/dist/{node-editor-tab-body-XBedxkpN.js → node-editor-tab-body-DBnsqYUK.js} +2 -2
- package/dist/nodes.js +1 -1
- package/dist/observability.d.ts +1 -1
- package/dist/observability.js +2 -2
- package/dist/{operations-HU-xb78H.js → operations-D7o-gUzy.js} +56 -17
- package/dist/{popover-BC4r84K0.js → popover-Cl7_tXph.js} +1 -1
- package/dist/{quick-config-panel-BPmrhIOb.js → quick-config-panel-C_Z0RXEG.js} +3 -3
- package/dist/{schedule-panel-DJN1TDQH.js → schedule-panel-CFAKmrBH.js} +4 -4
- package/dist/settings.js +1 -1
- package/dist/{sidebar-node-editor-DKdfcd2r.js → sidebar-node-editor-DZZlDElK.js} +3 -3
- package/dist/templates.js +2 -2
- package/dist/{useDurableParity-B3h8jqP0.js → useDurableParity-jtqJF547.js} +1 -1
- package/dist/{useExecutions-BbkBSYpS.js → useExecutions-D2iKpt1Z.js} +2 -2
- package/dist/{useObservability-BASo2sA3.js → useObservability-DIhzs9F-.js} +40 -10
- package/dist/{useRunHistory-C3Pv_SJW.js → useRunHistory-BhVY82Pg.js} +1 -1
- package/dist/{useVariables-cI8uLwye.js → useVariables-2ddyJX4a.js} +6 -4
- package/dist/{useWorkflowCodeExport-k5Emm4ZS.js → useWorkflowCodeExport-BXy4NPsE.js} +1 -1
- package/dist/useWorkflowOrganization-C4y6BOnN.js +282 -0
- package/dist/{useWorkflows-CRUlQBd3.js → useWorkflows-Clsu0o8t.js} +1 -1
- package/dist/{utils-uaL5UVxb.js → utils-C0dtnN4R.js} +31 -1
- package/dist/workflow-builder.js +4 -4
- package/dist/{workflow-code-transfer-Cshsgf2H.js → workflow-code-transfer-DemcCpOv.js} +1 -1
- package/dist/workflow-pages.d.ts +1 -1
- package/dist/workflow-pages.js +15 -15
- package/dist/workflows-list.js +1 -1
- package/package.json +1 -1
- package/dist/VariablesPage-CPL34WBc.js +0 -593
- package/dist/node-endpoint-configs-BI7zc8eM.js +0 -37
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
3
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
|
|
5
|
+
import { t as TechnicalDetails } from "./TechnicalDetails-D4xGy201.js";
|
|
6
|
+
import { o as useRunReplayActions, r as useInsightsData } from "./useObservability-DIhzs9F-.js";
|
|
7
|
+
import { a as getTopFailingNodes, i as getFailureBreakdown, l as rankedFailingWorkflows, n as formatDuration, o as getTopFailingWorkflows, s as percentage, u as summarySuccessRate } from "./utils-C0dtnN4R.js";
|
|
6
8
|
import { n as FailureTriagePanel } from "./FailureTriagePanel-BjatYyAa.js";
|
|
7
9
|
import { c as useContinuousOptimisationEnabled } from "./feature-flags-B_b8PJ6Z.js";
|
|
8
10
|
import { i as SdkPermissionButton, s as useFluidGridsPermission, t as FLUIDGRIDS_PERMISSIONS } from "./constants-dcxg6zG6.js";
|
|
@@ -21,6 +23,34 @@ import { Button, Dialog, DialogContent, DialogDescription, DialogFooter, DialogH
|
|
|
21
23
|
import { Button as Button$1 } from "@burdenoff/fe-libs/button";
|
|
22
24
|
import { BadgeDollarSign, DatabaseZap, Lightbulb, RotateCcw, Scissors, ShieldCheck, Timer } from "lucide-react";
|
|
23
25
|
|
|
26
|
+
// src/modules/observability/hooks/useInsightsRetry.ts
|
|
27
|
+
/**
|
|
28
|
+
* Retrying failed runs from Insights (BOFF-11851): a Recent failures row and
|
|
29
|
+
* the failure triage. A retry that starts nothing says so (the triage's used
|
|
30
|
+
* to fail silently); one that starts a run opens it.
|
|
31
|
+
*/
|
|
32
|
+
function useInsightsRetry() {
|
|
33
|
+
const tr = useTr();
|
|
34
|
+
const navigate = useNavigate();
|
|
35
|
+
const { retryMany, loading } = useRunReplayActions();
|
|
36
|
+
const retryRuns = async (runIds, announce) => {
|
|
37
|
+
const [first] = await retryMany(runIds);
|
|
38
|
+
if (!first) {
|
|
39
|
+
toast.error(tr("fluidgrids.insights.retryFailed", "Could not retry the failed run"));
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
if (announce) toast.success(tr("fluidgrids.insights.retryStarted", "A new run was started"));
|
|
43
|
+
navigate(`../runs/${first.runId}`);
|
|
44
|
+
};
|
|
45
|
+
return {
|
|
46
|
+
/** A Recent failures row: says a new run started, then opens it. */
|
|
47
|
+
retryRun: (run) => retryRuns([run.id], true),
|
|
48
|
+
/** The failure triage's Retry: opens the new run. */
|
|
49
|
+
retryFromTriage: (runIds) => void retryRuns(runIds, false),
|
|
50
|
+
retryLoading: loading
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
24
54
|
// src/modules/observability/hooks/useContinuousOptimisation.ts
|
|
25
55
|
/**
|
|
26
56
|
* Continuous optimisation (BOFF-9969): the workspace opt-in, its open
|
|
@@ -1275,12 +1305,6 @@ var InsightsPage_exports = /* @__PURE__ */ __exportAll({
|
|
|
1275
1305
|
ErrorAnalyticsPage: () => ErrorAnalyticsPage,
|
|
1276
1306
|
InsightsPage: () => InsightsPage
|
|
1277
1307
|
});
|
|
1278
|
-
function normalizedRate(summary) {
|
|
1279
|
-
const supplied = summary.workflowSuccessRate;
|
|
1280
|
-
if (supplied !== null && supplied !== void 0) return supplied <= 1 ? supplied * 100 : supplied;
|
|
1281
|
-
const finished = summary.runsCompletedCount + summary.runsFailedCount;
|
|
1282
|
-
return percentage(summary.runsCompletedCount, finished);
|
|
1283
|
-
}
|
|
1284
1308
|
function MetricCard({ icon, label, value, detail, tone = "text-text-primary" }) {
|
|
1285
1309
|
return /* @__PURE__ */ jsxs("div", {
|
|
1286
1310
|
className: "rounded-xl border border-border-secondary bg-background-secondary p-4",
|
|
@@ -1317,25 +1341,18 @@ function LoadingState() {
|
|
|
1317
1341
|
}
|
|
1318
1342
|
function InsightsPage({ showErrors = false }) {
|
|
1319
1343
|
const tr = useTr();
|
|
1344
|
+
const v2 = useNavigationV2();
|
|
1320
1345
|
const navigate = useNavigate();
|
|
1321
1346
|
const { summary, failedRuns, loading, error, refetch } = useInsightsData();
|
|
1322
|
-
const {
|
|
1347
|
+
const { retryRun, retryFromTriage, retryLoading } = useInsightsRetry();
|
|
1323
1348
|
const { allowed: canManageTriage } = useFluidGridsPermission(FLUIDGRIDS_PERMISSIONS.WORKFLOW_PUBLISH);
|
|
1324
1349
|
const { allowed: canRetryRuns } = useFluidGridsPermission(FLUIDGRIDS_PERMISSIONS.WORKFLOW_RUN_EXECUTE);
|
|
1325
1350
|
const [activeTab, setActiveTab] = useState(showErrors ? "errors" : "overview");
|
|
1326
1351
|
const errorAnalytics = useErrorAnalytics(activeTab === "errors");
|
|
1327
1352
|
const failureBreakdown = useMemo(() => getFailureBreakdown(failedRuns), [failedRuns]);
|
|
1328
|
-
const
|
|
1353
|
+
const serverRanking = v2 ? summary?.topFailingWorkflows : null;
|
|
1354
|
+
const topWorkflows = useMemo(() => (serverRanking ? rankedFailingWorkflows(serverRanking) : getTopFailingWorkflows(failedRuns)).slice(0, 8), [serverRanking, failedRuns]);
|
|
1329
1355
|
const topNodes = useMemo(() => getTopFailingNodes(summary?.nodeUsageStats ?? []).slice(0, 8), [summary?.nodeUsageStats]);
|
|
1330
|
-
const retry = async (run) => {
|
|
1331
|
-
const retried = await retryMany([run.id]);
|
|
1332
|
-
if (retried.length === 0) {
|
|
1333
|
-
toast.error(tr("fluidgrids.insights.retryFailed", "Could not retry the failed run"));
|
|
1334
|
-
return;
|
|
1335
|
-
}
|
|
1336
|
-
toast.success(tr("fluidgrids.insights.retryStarted", "A new run was started"));
|
|
1337
|
-
navigate(`../runs/${retried[0].runId}`);
|
|
1338
|
-
};
|
|
1339
1356
|
if (error) return /* @__PURE__ */ jsx("div", {
|
|
1340
1357
|
className: "min-h-screen bg-background-primary p-4 sm:p-6",
|
|
1341
1358
|
children: /* @__PURE__ */ jsxs("div", {
|
|
@@ -1360,75 +1377,28 @@ function InsightsPage({ showErrors = false }) {
|
|
|
1360
1377
|
]
|
|
1361
1378
|
})
|
|
1362
1379
|
});
|
|
1363
|
-
const successRate = summary ? normalizedRate(summary) : 0;
|
|
1364
|
-
const failureRate = summary ? percentage(summary.runsFailedCount, summary.runsCountTotal) : 0;
|
|
1365
1380
|
const commonError = failureBreakdown[0];
|
|
1366
1381
|
return /* @__PURE__ */ jsxs("div", {
|
|
1367
1382
|
className: "min-h-screen bg-background-primary p-4 sm:p-6",
|
|
1368
1383
|
children: [
|
|
1369
|
-
/* @__PURE__ */
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
}),
|
|
1377
|
-
/* @__PURE__ */ jsx("h1", {
|
|
1378
|
-
className: "mt-1 text-2xl font-semibold text-text-primary sm:text-3xl",
|
|
1379
|
-
children: tr("fluidgrids.insights.title", "Workflow insights")
|
|
1380
|
-
}),
|
|
1381
|
-
/* @__PURE__ */ jsx("p", {
|
|
1382
|
-
className: "mt-1 text-sm text-text-secondary",
|
|
1383
|
-
children: tr("fluidgrids.insights.subtitle", "Understand workflow health, failures, and the nodes that need attention.")
|
|
1384
|
-
})
|
|
1385
|
-
] }), /* @__PURE__ */ jsxs(Button$1, {
|
|
1386
|
-
variant: "outline",
|
|
1387
|
-
onClick: () => {
|
|
1388
|
-
refetch();
|
|
1389
|
-
if (activeTab === "errors") errorAnalytics.refetch();
|
|
1390
|
-
},
|
|
1391
|
-
disabled: loading,
|
|
1392
|
-
children: [/* @__PURE__ */ jsx(Icon, {
|
|
1393
|
-
icon: "mdi:refresh",
|
|
1394
|
-
className: "mr-1",
|
|
1395
|
-
width: 16
|
|
1396
|
-
}), tr("fluidgrids.insights.refresh", "Refresh")]
|
|
1397
|
-
})]
|
|
1384
|
+
/* @__PURE__ */ jsx(InsightsHeader, {
|
|
1385
|
+
v2,
|
|
1386
|
+
loading,
|
|
1387
|
+
onRefresh: () => {
|
|
1388
|
+
refetch();
|
|
1389
|
+
if (activeTab === "errors") errorAnalytics.refetch();
|
|
1390
|
+
}
|
|
1398
1391
|
}),
|
|
1399
|
-
/* @__PURE__ */
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
children: [/* @__PURE__ */ jsx("button", {
|
|
1404
|
-
role: "tab",
|
|
1405
|
-
"aria-selected": activeTab === "overview",
|
|
1406
|
-
onClick: () => {
|
|
1407
|
-
setActiveTab("overview");
|
|
1408
|
-
if (showErrors) navigate("../insights");
|
|
1409
|
-
},
|
|
1410
|
-
className: `border-b-2 px-3 py-2 text-sm ${activeTab === "overview" ? "border-action-primary-bg text-text-primary" : "border-transparent text-text-secondary"}`,
|
|
1411
|
-
children: tr("fluidgrids.insights.overviewTab", "Overview")
|
|
1412
|
-
}), /* @__PURE__ */ jsx("button", {
|
|
1413
|
-
role: "tab",
|
|
1414
|
-
"aria-selected": activeTab === "errors",
|
|
1415
|
-
onClick: () => {
|
|
1416
|
-
setActiveTab("errors");
|
|
1417
|
-
if (!showErrors) navigate("../insights/errors");
|
|
1418
|
-
},
|
|
1419
|
-
className: `border-b-2 px-3 py-2 text-sm ${activeTab === "errors" ? "border-action-primary-bg text-text-primary" : "border-transparent text-text-secondary"}`,
|
|
1420
|
-
children: tr("fluidgrids.insights.errorsTab", "Error analytics")
|
|
1421
|
-
})]
|
|
1392
|
+
/* @__PURE__ */ jsx(InsightsTabs, {
|
|
1393
|
+
activeTab,
|
|
1394
|
+
showErrors,
|
|
1395
|
+
onSelect: setActiveTab
|
|
1422
1396
|
}),
|
|
1423
1397
|
activeTab === "overview" && /* @__PURE__ */ jsx(FailureTriagePanel, {
|
|
1424
1398
|
canManage: canManageTriage,
|
|
1425
1399
|
canRetry: canRetryRuns,
|
|
1426
1400
|
onOpenRun: (runId) => navigate(`../runs/${runId}`),
|
|
1427
|
-
onRetry:
|
|
1428
|
-
retryMany(runIds).then((retried) => {
|
|
1429
|
-
if (retried[0]) navigate(`../runs/${retried[0].runId}`);
|
|
1430
|
-
});
|
|
1431
|
-
}
|
|
1401
|
+
onRetry: retryFromTriage
|
|
1432
1402
|
}),
|
|
1433
1403
|
activeTab === "overview" && /* @__PURE__ */ jsx(OptimisationSuggestionsPanel, {
|
|
1434
1404
|
onOpenRun: (runId) => navigate(`../runs/${runId}`),
|
|
@@ -1440,17 +1410,17 @@ function InsightsPage({ showErrors = false }) {
|
|
|
1440
1410
|
}),
|
|
1441
1411
|
loading && !summary ? /* @__PURE__ */ jsx(LoadingState, {}) : activeTab === "overview" && summary ? /* @__PURE__ */ jsx(OverviewContent, {
|
|
1442
1412
|
summary,
|
|
1443
|
-
successRate,
|
|
1444
|
-
failureRate,
|
|
1445
1413
|
topWorkflows,
|
|
1446
1414
|
topNodes,
|
|
1415
|
+
v2,
|
|
1447
1416
|
tr
|
|
1448
1417
|
}) : /* @__PURE__ */ jsx(ErrorContent, {
|
|
1449
1418
|
summary,
|
|
1450
1419
|
failedRuns,
|
|
1451
1420
|
commonError,
|
|
1452
|
-
retry,
|
|
1421
|
+
retry: retryRun,
|
|
1453
1422
|
retryLoading,
|
|
1423
|
+
v2,
|
|
1454
1424
|
errorPanel: /* @__PURE__ */ jsx(ErrorAnalyticsPanel, {
|
|
1455
1425
|
analytics: errorAnalytics.analytics,
|
|
1456
1426
|
period: errorAnalytics.period,
|
|
@@ -1463,105 +1433,202 @@ function InsightsPage({ showErrors = false }) {
|
|
|
1463
1433
|
]
|
|
1464
1434
|
});
|
|
1465
1435
|
}
|
|
1466
|
-
|
|
1436
|
+
/** Period, title, subtitle and Refresh. */
|
|
1437
|
+
function InsightsHeader({ v2, loading, onRefresh }) {
|
|
1438
|
+
const tr = useTr();
|
|
1439
|
+
return /* @__PURE__ */ jsxs("header", {
|
|
1440
|
+
className: "mb-6 flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
|
|
1441
|
+
"data-tour": "fluidgrids-insights-header",
|
|
1442
|
+
children: [/* @__PURE__ */ jsxs("div", { children: [
|
|
1443
|
+
/* @__PURE__ */ jsx("p", {
|
|
1444
|
+
className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
|
|
1445
|
+
"data-testid": "insights-period",
|
|
1446
|
+
children: v2 ? tr("fluidgrids.insights.periodAllTime", "All time") : tr("fluidgrids.insights.period", "Last 30 days")
|
|
1447
|
+
}),
|
|
1448
|
+
/* @__PURE__ */ jsx("h1", {
|
|
1449
|
+
className: "mt-1 text-2xl font-semibold text-text-primary sm:text-3xl",
|
|
1450
|
+
children: tr("fluidgrids.insights.title", "Workflow insights")
|
|
1451
|
+
}),
|
|
1452
|
+
/* @__PURE__ */ jsx("p", {
|
|
1453
|
+
className: "mt-1 text-sm text-text-secondary",
|
|
1454
|
+
children: tr("fluidgrids.insights.subtitle", "Understand workflow health, failures, and the nodes that need attention.")
|
|
1455
|
+
})
|
|
1456
|
+
] }), /* @__PURE__ */ jsxs(Button$1, {
|
|
1457
|
+
variant: "outline",
|
|
1458
|
+
onClick: onRefresh,
|
|
1459
|
+
disabled: loading,
|
|
1460
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
1461
|
+
icon: "mdi:refresh",
|
|
1462
|
+
className: "mr-1",
|
|
1463
|
+
width: 16
|
|
1464
|
+
}), tr("fluidgrids.insights.refresh", "Refresh")]
|
|
1465
|
+
})]
|
|
1466
|
+
});
|
|
1467
|
+
}
|
|
1468
|
+
/** The Overview / Error analytics tab bar. */
|
|
1469
|
+
function InsightsTabs({ activeTab, showErrors, onSelect }) {
|
|
1470
|
+
const tr = useTr();
|
|
1471
|
+
const navigate = useNavigate();
|
|
1472
|
+
const select = (tab) => {
|
|
1473
|
+
onSelect(tab);
|
|
1474
|
+
const onErrorsUrl = tab === "errors";
|
|
1475
|
+
if (onErrorsUrl !== showErrors) navigate(onErrorsUrl ? "../insights/errors" : "../insights");
|
|
1476
|
+
};
|
|
1477
|
+
const tabClass = (tab) => `border-b-2 px-3 py-2 text-sm ${activeTab === tab ? "border-action-primary-bg text-text-primary" : "border-transparent text-text-secondary"}`;
|
|
1478
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1479
|
+
className: "mb-6 flex gap-1 border-b border-border-secondary",
|
|
1480
|
+
role: "tablist",
|
|
1481
|
+
"data-tour": "fluidgrids-insights-tabs",
|
|
1482
|
+
children: [/* @__PURE__ */ jsx("button", {
|
|
1483
|
+
type: "button",
|
|
1484
|
+
role: "tab",
|
|
1485
|
+
"aria-selected": activeTab === "overview",
|
|
1486
|
+
onClick: () => select("overview"),
|
|
1487
|
+
className: tabClass("overview"),
|
|
1488
|
+
children: tr("fluidgrids.insights.overviewTab", "Overview")
|
|
1489
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
1490
|
+
type: "button",
|
|
1491
|
+
role: "tab",
|
|
1492
|
+
"aria-selected": activeTab === "errors",
|
|
1493
|
+
onClick: () => select("errors"),
|
|
1494
|
+
className: tabClass("errors"),
|
|
1495
|
+
children: tr("fluidgrids.insights.errorsTab", "Error analytics")
|
|
1496
|
+
})]
|
|
1497
|
+
});
|
|
1498
|
+
}
|
|
1499
|
+
function OverviewContent({ summary, topWorkflows, topNodes, v2, tr }) {
|
|
1500
|
+
const successRate = summarySuccessRate(summary);
|
|
1501
|
+
const failureRate = percentage(summary.runsFailedCount, summary.runsCountTotal);
|
|
1467
1502
|
const totalDuration = summary.runsCompletedCount * (summary.avgWorkflowExecutionTimeSeconds ?? 0);
|
|
1503
|
+
const successCard = /* @__PURE__ */ jsx(MetricCard, {
|
|
1504
|
+
icon: "mdi:chart-line",
|
|
1505
|
+
label: tr("fluidgrids.insights.successRate", "Success rate"),
|
|
1506
|
+
value: `${successRate.toFixed(1)}%`,
|
|
1507
|
+
detail: tr("fluidgrids.insights.completedRunsDetail", "{{count}} completed runs", { count: summary.runsCompletedCount.toLocaleString() }),
|
|
1508
|
+
tone: "text-status-success-text"
|
|
1509
|
+
});
|
|
1510
|
+
const avgDurationCard = /* @__PURE__ */ jsx(MetricCard, {
|
|
1511
|
+
icon: "mdi:clock-outline",
|
|
1512
|
+
label: tr("fluidgrids.insights.avgDuration", "Average duration"),
|
|
1513
|
+
value: formatDuration(summary.avgWorkflowExecutionTimeSeconds),
|
|
1514
|
+
detail: tr("fluidgrids.insights.totalRunsDetail", "{{count}} total runs", { count: summary.runsCountTotal.toLocaleString() })
|
|
1515
|
+
});
|
|
1516
|
+
const failedCard = /* @__PURE__ */ jsx(MetricCard, {
|
|
1517
|
+
icon: "mdi:alert-circle-outline",
|
|
1518
|
+
label: tr("fluidgrids.insights.failedRuns", "Failed runs"),
|
|
1519
|
+
value: summary.runsFailedCount.toLocaleString(),
|
|
1520
|
+
detail: tr("fluidgrids.insights.failedShareDetail", "{{percent}}% of all runs", { percent: failureRate.toFixed(1) }),
|
|
1521
|
+
tone: "text-status-error-text"
|
|
1522
|
+
});
|
|
1523
|
+
const timeProcessedCard = /* @__PURE__ */ jsx(MetricCard, {
|
|
1524
|
+
icon: "mdi:timer-play-outline",
|
|
1525
|
+
label: tr("fluidgrids.insights.timeProcessed", "Execution time processed"),
|
|
1526
|
+
value: formatDuration(totalDuration),
|
|
1527
|
+
detail: tr("fluidgrids.insights.timeProcessedDetail", "Total time spent running completed workflows.")
|
|
1528
|
+
});
|
|
1529
|
+
const timeSavedCard = /* @__PURE__ */ jsx(MetricCard, {
|
|
1530
|
+
icon: "mdi:piggy-bank-outline",
|
|
1531
|
+
label: tr("fluidgrids.insights.timeSaved", "Time saved"),
|
|
1532
|
+
value: summary.timeSavedEstimateHours != null ? tr("fluidgrids.insights.timeSavedHours", "{{hours}}h", { hours: summary.timeSavedEstimateHours.toFixed(1) }) : tr("fluidgrids.insights.timeSavedUnavailable", "—"),
|
|
1533
|
+
detail: summary.timeSavedEstimateHours != null ? tr("fluidgrids.insights.timeSavedDetail", "Rough estimate vs. doing this manually.") : tr("fluidgrids.insights.timeSavedNoData", "Not enough completed runs yet to estimate."),
|
|
1534
|
+
tone: "text-status-success-text"
|
|
1535
|
+
});
|
|
1536
|
+
const workflowsList = /* @__PURE__ */ jsx(InsightList, {
|
|
1537
|
+
title: tr("fluidgrids.insights.topFailingWorkflows", "Top failing workflows"),
|
|
1538
|
+
empty: tr("fluidgrids.insights.noFailedWorkflows", "No failed workflows in this period."),
|
|
1539
|
+
testId: "insights-top-workflows",
|
|
1540
|
+
children: topWorkflows.map((workflow) => /* @__PURE__ */ jsx(RankedBar, {
|
|
1541
|
+
label: workflow.label,
|
|
1542
|
+
count: workflow.count,
|
|
1543
|
+
largest: topWorkflows[0]?.count ?? 1,
|
|
1544
|
+
barClassName: "bg-status-error-bg"
|
|
1545
|
+
}, workflow.workflowKey))
|
|
1546
|
+
});
|
|
1547
|
+
const nodesList = /* @__PURE__ */ jsx(InsightList, {
|
|
1548
|
+
title: tr("fluidgrids.insights.topFailingNodes", "Top failing nodes"),
|
|
1549
|
+
empty: tr("fluidgrids.insights.noFailedNodes", "No node failures in this period."),
|
|
1550
|
+
testId: "insights-top-nodes",
|
|
1551
|
+
children: topNodes.map((node) => /* @__PURE__ */ jsx(RankedBar, {
|
|
1552
|
+
label: node.nodeType,
|
|
1553
|
+
count: node.failureCount,
|
|
1554
|
+
largest: topNodes[0]?.failureCount ?? 1,
|
|
1555
|
+
barClassName: "bg-status-warning-bg"
|
|
1556
|
+
}, node.nodeType))
|
|
1557
|
+
});
|
|
1558
|
+
const healthLabel = tr("fluidgrids.insights.healthLabel", "Workflow health");
|
|
1559
|
+
if (v2) return /* @__PURE__ */ jsxs("div", {
|
|
1560
|
+
className: "space-y-6",
|
|
1561
|
+
"data-tour": "fluidgrids-insights-overview",
|
|
1562
|
+
children: [
|
|
1563
|
+
/* @__PURE__ */ jsxs("section", {
|
|
1564
|
+
className: "grid gap-4 sm:grid-cols-3",
|
|
1565
|
+
"aria-label": healthLabel,
|
|
1566
|
+
children: [
|
|
1567
|
+
successCard,
|
|
1568
|
+
failedCard,
|
|
1569
|
+
timeSavedCard
|
|
1570
|
+
]
|
|
1571
|
+
}),
|
|
1572
|
+
workflowsList,
|
|
1573
|
+
/* @__PURE__ */ jsx(TechnicalDetails, {
|
|
1574
|
+
"data-testid": "insights-technical-details",
|
|
1575
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
1576
|
+
className: "space-y-6",
|
|
1577
|
+
children: [/* @__PURE__ */ jsxs("section", {
|
|
1578
|
+
className: "grid gap-4 sm:grid-cols-2",
|
|
1579
|
+
children: [avgDurationCard, timeProcessedCard]
|
|
1580
|
+
}), nodesList]
|
|
1581
|
+
})
|
|
1582
|
+
})
|
|
1583
|
+
]
|
|
1584
|
+
});
|
|
1468
1585
|
return /* @__PURE__ */ jsxs("div", {
|
|
1469
1586
|
className: "space-y-6",
|
|
1470
1587
|
"data-tour": "fluidgrids-insights-overview",
|
|
1471
1588
|
children: [/* @__PURE__ */ jsxs("section", {
|
|
1472
1589
|
className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-5",
|
|
1473
|
-
"aria-label":
|
|
1590
|
+
"aria-label": healthLabel,
|
|
1474
1591
|
children: [
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
tone: "text-status-success-text"
|
|
1481
|
-
}),
|
|
1482
|
-
/* @__PURE__ */ jsx(MetricCard, {
|
|
1483
|
-
icon: "mdi:clock-outline",
|
|
1484
|
-
label: tr("fluidgrids.insights.avgDuration", "Average duration"),
|
|
1485
|
-
value: formatDuration(summary.avgWorkflowExecutionTimeSeconds),
|
|
1486
|
-
detail: `${summary.runsCountTotal.toLocaleString()} total runs`
|
|
1487
|
-
}),
|
|
1488
|
-
/* @__PURE__ */ jsx(MetricCard, {
|
|
1489
|
-
icon: "mdi:alert-circle-outline",
|
|
1490
|
-
label: tr("fluidgrids.insights.failedRuns", "Failed runs"),
|
|
1491
|
-
value: summary.runsFailedCount.toLocaleString(),
|
|
1492
|
-
detail: `${failureRate.toFixed(1)}% of all runs`,
|
|
1493
|
-
tone: "text-status-error-text"
|
|
1494
|
-
}),
|
|
1495
|
-
/* @__PURE__ */ jsx(MetricCard, {
|
|
1496
|
-
icon: "mdi:timer-play-outline",
|
|
1497
|
-
label: tr("fluidgrids.insights.timeProcessed", "Execution time processed"),
|
|
1498
|
-
value: formatDuration(totalDuration),
|
|
1499
|
-
detail: tr("fluidgrids.insights.timeProcessedDetail", "Total time spent running completed workflows.")
|
|
1500
|
-
}),
|
|
1501
|
-
/* @__PURE__ */ jsx(MetricCard, {
|
|
1502
|
-
icon: "mdi:piggy-bank-outline",
|
|
1503
|
-
label: tr("fluidgrids.insights.timeSaved", "Time saved"),
|
|
1504
|
-
value: summary.timeSavedEstimateHours != null ? tr("fluidgrids.insights.timeSavedHours", "{{hours}}h", { hours: summary.timeSavedEstimateHours.toFixed(1) }) : tr("fluidgrids.insights.timeSavedUnavailable", "—"),
|
|
1505
|
-
detail: summary.timeSavedEstimateHours != null ? tr("fluidgrids.insights.timeSavedDetail", "Rough estimate vs. doing this manually.") : tr("fluidgrids.insights.timeSavedNoData", "Not enough completed runs yet to estimate."),
|
|
1506
|
-
tone: "text-status-success-text"
|
|
1507
|
-
})
|
|
1592
|
+
successCard,
|
|
1593
|
+
avgDurationCard,
|
|
1594
|
+
failedCard,
|
|
1595
|
+
timeProcessedCard,
|
|
1596
|
+
timeSavedCard
|
|
1508
1597
|
]
|
|
1509
1598
|
}), /* @__PURE__ */ jsxs("section", {
|
|
1510
1599
|
className: "grid gap-6 lg:grid-cols-2",
|
|
1511
|
-
children: [
|
|
1512
|
-
title: tr("fluidgrids.insights.topFailingWorkflows", "Top failing workflows"),
|
|
1513
|
-
empty: tr("fluidgrids.insights.noFailedWorkflows", "No failed workflows in this period."),
|
|
1514
|
-
children: topWorkflows.map((workflow) => /* @__PURE__ */ jsxs("div", {
|
|
1515
|
-
className: "flex items-center gap-3",
|
|
1516
|
-
children: [
|
|
1517
|
-
/* @__PURE__ */ jsx("span", {
|
|
1518
|
-
className: "min-w-0 flex-1 truncate text-sm text-text-primary",
|
|
1519
|
-
children: workflow.label
|
|
1520
|
-
}),
|
|
1521
|
-
/* @__PURE__ */ jsx("div", {
|
|
1522
|
-
className: "h-2 w-28 overflow-hidden rounded-full bg-background-tertiary",
|
|
1523
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
1524
|
-
className: "h-full rounded-full bg-status-error-bg",
|
|
1525
|
-
style: { width: `${Math.max(8, percentage(workflow.count, topWorkflows[0]?.count ?? 1))}%` }
|
|
1526
|
-
})
|
|
1527
|
-
}),
|
|
1528
|
-
/* @__PURE__ */ jsx("span", {
|
|
1529
|
-
className: "w-8 text-right text-sm font-medium text-text-secondary",
|
|
1530
|
-
children: workflow.count
|
|
1531
|
-
})
|
|
1532
|
-
]
|
|
1533
|
-
}, workflow.workflowKey))
|
|
1534
|
-
}), /* @__PURE__ */ jsx(InsightList, {
|
|
1535
|
-
title: tr("fluidgrids.insights.topFailingNodes", "Top failing nodes"),
|
|
1536
|
-
empty: tr("fluidgrids.insights.noFailedNodes", "No node failures in this period."),
|
|
1537
|
-
children: topNodes.map((node) => /* @__PURE__ */ jsxs("div", {
|
|
1538
|
-
className: "flex items-center gap-3",
|
|
1539
|
-
children: [
|
|
1540
|
-
/* @__PURE__ */ jsx("span", {
|
|
1541
|
-
className: "min-w-0 flex-1 truncate text-sm text-text-primary",
|
|
1542
|
-
children: node.nodeType
|
|
1543
|
-
}),
|
|
1544
|
-
/* @__PURE__ */ jsx("div", {
|
|
1545
|
-
className: "h-2 w-28 overflow-hidden rounded-full bg-background-tertiary",
|
|
1546
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
1547
|
-
className: "h-full rounded-full bg-status-warning-bg",
|
|
1548
|
-
style: { width: `${Math.max(8, percentage(node.failureCount, topNodes[0]?.failureCount ?? 1))}%` }
|
|
1549
|
-
})
|
|
1550
|
-
}),
|
|
1551
|
-
/* @__PURE__ */ jsx("span", {
|
|
1552
|
-
className: "w-8 text-right text-sm font-medium text-text-secondary",
|
|
1553
|
-
children: node.failureCount
|
|
1554
|
-
})
|
|
1555
|
-
]
|
|
1556
|
-
}, node.nodeType))
|
|
1557
|
-
})]
|
|
1600
|
+
children: [workflowsList, nodesList]
|
|
1558
1601
|
})]
|
|
1559
1602
|
});
|
|
1560
1603
|
}
|
|
1561
|
-
|
|
1604
|
+
/** One row of a ranked list: the name, a bar against the largest, the count. */
|
|
1605
|
+
function RankedBar({ label, count, largest, barClassName }) {
|
|
1606
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1607
|
+
className: "flex items-center gap-3",
|
|
1608
|
+
children: [
|
|
1609
|
+
/* @__PURE__ */ jsx("span", {
|
|
1610
|
+
className: "min-w-0 flex-1 truncate text-sm text-text-primary",
|
|
1611
|
+
children: label
|
|
1612
|
+
}),
|
|
1613
|
+
/* @__PURE__ */ jsx("div", {
|
|
1614
|
+
className: "h-2 w-28 overflow-hidden rounded-full bg-background-tertiary",
|
|
1615
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
1616
|
+
className: `h-full rounded-full ${barClassName}`,
|
|
1617
|
+
style: { width: `${Math.max(8, percentage(count, largest))}%` }
|
|
1618
|
+
})
|
|
1619
|
+
}),
|
|
1620
|
+
/* @__PURE__ */ jsx("span", {
|
|
1621
|
+
className: "w-8 text-right text-sm font-medium text-text-secondary",
|
|
1622
|
+
children: count
|
|
1623
|
+
})
|
|
1624
|
+
]
|
|
1625
|
+
});
|
|
1626
|
+
}
|
|
1627
|
+
function InsightList({ title, empty, children, testId }) {
|
|
1562
1628
|
const hasChildren = Array.isArray(children) ? children.length > 0 : Boolean(children);
|
|
1563
1629
|
return /* @__PURE__ */ jsxs("section", {
|
|
1564
1630
|
className: "rounded-xl border border-border-secondary bg-background-secondary p-5",
|
|
1631
|
+
"data-testid": testId,
|
|
1565
1632
|
children: [/* @__PURE__ */ jsx("h2", {
|
|
1566
1633
|
className: "mb-4 text-base font-semibold text-text-primary",
|
|
1567
1634
|
children: title
|
|
@@ -1574,31 +1641,53 @@ function InsightList({ title, empty, children }) {
|
|
|
1574
1641
|
})]
|
|
1575
1642
|
});
|
|
1576
1643
|
}
|
|
1577
|
-
function ErrorContent({ summary, failedRuns, commonError, retry, retryLoading, errorPanel, tr }) {
|
|
1644
|
+
function ErrorContent({ summary, failedRuns, commonError, retry, retryLoading, errorPanel, v2, tr }) {
|
|
1645
|
+
const failureRateCard = /* @__PURE__ */ jsx(MetricCard, {
|
|
1646
|
+
icon: "mdi:alert-outline",
|
|
1647
|
+
label: tr("fluidgrids.insights.failureRate", "Failure rate"),
|
|
1648
|
+
value: `${summary ? percentage(summary.runsFailedCount, summary.runsCountTotal).toFixed(1) : "0.0"}%`,
|
|
1649
|
+
tone: "text-status-error-text"
|
|
1650
|
+
});
|
|
1578
1651
|
return /* @__PURE__ */ jsxs("div", {
|
|
1579
1652
|
className: "space-y-6",
|
|
1580
1653
|
"data-tour": "fluidgrids-insights-errors",
|
|
1581
1654
|
children: [
|
|
1582
|
-
/* @__PURE__ */ jsxs("section", {
|
|
1583
|
-
className: "grid gap-4 sm:grid-cols-
|
|
1655
|
+
v2 ? /* @__PURE__ */ jsxs("section", {
|
|
1656
|
+
className: "grid gap-4 sm:grid-cols-3",
|
|
1657
|
+
"data-testid": "insights-error-cards",
|
|
1584
1658
|
children: [
|
|
1659
|
+
failureRateCard,
|
|
1585
1660
|
/* @__PURE__ */ jsx(MetricCard, {
|
|
1586
|
-
icon: "mdi:
|
|
1587
|
-
label: tr("fluidgrids.insights.
|
|
1588
|
-
value:
|
|
1589
|
-
tone: "text-status-error-text"
|
|
1661
|
+
icon: "mdi:counter",
|
|
1662
|
+
label: tr("fluidgrids.insights.failureCount", "Failures captured"),
|
|
1663
|
+
value: (summary ? summary.runsFailedCount : failedRuns.length).toLocaleString()
|
|
1590
1664
|
}),
|
|
1665
|
+
/* @__PURE__ */ jsx(MetricCard, {
|
|
1666
|
+
icon: "mdi:alert-decagram-outline",
|
|
1667
|
+
label: tr("fluidgrids.insights.commonError", "Most common error"),
|
|
1668
|
+
value: commonError?.key ?? "—",
|
|
1669
|
+
detail: commonError ? tr("fluidgrids.insights.commonErrorSampleDetail", "{{count}} of the latest {{sample}} failures", {
|
|
1670
|
+
count: commonError.count.toLocaleString(),
|
|
1671
|
+
sample: failedRuns.length.toLocaleString()
|
|
1672
|
+
}) : void 0
|
|
1673
|
+
})
|
|
1674
|
+
]
|
|
1675
|
+
}) : /* @__PURE__ */ jsxs("section", {
|
|
1676
|
+
className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-4",
|
|
1677
|
+
"data-testid": "insights-error-cards",
|
|
1678
|
+
children: [
|
|
1679
|
+
failureRateCard,
|
|
1591
1680
|
/* @__PURE__ */ jsx(MetricCard, {
|
|
1592
1681
|
icon: "mdi:counter",
|
|
1593
1682
|
label: tr("fluidgrids.insights.failureCount", "Failures captured"),
|
|
1594
1683
|
value: failedRuns.length.toLocaleString(),
|
|
1595
|
-
detail: summary ?
|
|
1684
|
+
detail: summary ? tr("fluidgrids.insights.totalRecordedDetail", "{{count}} total recorded", { count: summary.runsFailedCount.toLocaleString() }) : void 0
|
|
1596
1685
|
}),
|
|
1597
1686
|
/* @__PURE__ */ jsx(MetricCard, {
|
|
1598
1687
|
icon: "mdi:alert-decagram-outline",
|
|
1599
1688
|
label: tr("fluidgrids.insights.commonError", "Most common error"),
|
|
1600
1689
|
value: commonError?.key ?? "—",
|
|
1601
|
-
detail: commonError ?
|
|
1690
|
+
detail: commonError ? tr("fluidgrids.insights.occurrencesDetail", "{{count}} occurrences", { count: commonError.count }) : void 0
|
|
1602
1691
|
}),
|
|
1603
1692
|
/* @__PURE__ */ jsx(MetricCard, {
|
|
1604
1693
|
icon: "mdi:repeat",
|
|
@@ -1626,40 +1715,45 @@ function ErrorContent({ summary, failedRuns, commonError, retry, retryLoading, e
|
|
|
1626
1715
|
children: [failedRuns.length === 0 && /* @__PURE__ */ jsx("p", {
|
|
1627
1716
|
className: "py-3 text-sm text-text-secondary",
|
|
1628
1717
|
children: tr("fluidgrids.insights.noRecentFailures", "No recent failures.")
|
|
1629
|
-
}), failedRuns.slice(0, 12).map((run) =>
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
"
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1718
|
+
}), failedRuns.slice(0, 12).map((run) => {
|
|
1719
|
+
const workflowName = run.workflow?.name || run.workflowKey;
|
|
1720
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1721
|
+
className: "flex flex-col gap-2 py-3 sm:flex-row sm:items-center sm:gap-4",
|
|
1722
|
+
"data-testid": "insights-recent-failure",
|
|
1723
|
+
children: [
|
|
1724
|
+
/* @__PURE__ */ jsxs("div", {
|
|
1725
|
+
className: "min-w-0 flex-1",
|
|
1726
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
1727
|
+
className: "truncate text-sm font-medium text-text-primary",
|
|
1728
|
+
children: run.errorMessage || run.errorType || tr("fluidgrids.insights.workflowFailed", "Workflow failed")
|
|
1729
|
+
}), /* @__PURE__ */ jsxs("p", {
|
|
1730
|
+
className: "mt-0.5 truncate text-xs text-text-secondary",
|
|
1731
|
+
children: [
|
|
1732
|
+
workflowName,
|
|
1733
|
+
" · ",
|
|
1734
|
+
run.id.slice(0, 10),
|
|
1735
|
+
" ·",
|
|
1736
|
+
" ",
|
|
1737
|
+
formatDuration(run.duration)
|
|
1738
|
+
]
|
|
1739
|
+
})]
|
|
1740
|
+
}),
|
|
1741
|
+
/* @__PURE__ */ jsx("span", {
|
|
1742
|
+
className: "rounded-full bg-status-error-bg-subtle px-2 py-1 text-xs text-status-error-text",
|
|
1743
|
+
children: run.errorType || "UNKNOWN"
|
|
1744
|
+
}),
|
|
1745
|
+
/* @__PURE__ */ jsx(Button$1, {
|
|
1746
|
+
"data-agent": "confirm",
|
|
1747
|
+
variant: "outline",
|
|
1748
|
+
size: "sm",
|
|
1749
|
+
onClick: () => void retry(run),
|
|
1750
|
+
disabled: retryLoading,
|
|
1751
|
+
"aria-label": tr("fluidgrids.insights.retryRunLabel", "Retry the failed run of {{workflow}}", { workflow: workflowName }),
|
|
1752
|
+
children: tr("fluidgrids.insights.retry", "Retry")
|
|
1753
|
+
})
|
|
1754
|
+
]
|
|
1755
|
+
}, run.id);
|
|
1756
|
+
})]
|
|
1663
1757
|
})]
|
|
1664
1758
|
}) })
|
|
1665
1759
|
]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as DialogFooter, i as DialogDescription, l as DialogTitle, o as DialogHeader, r as DialogContent, t as Dialog } from "./dialog-Cjb4lB4D.js";
|
|
3
3
|
import { t as Button } from "./button-DG7y_FVJ.js";
|
|
4
|
-
import { a as Badge } from "./TemplateCard
|
|
4
|
+
import { a as Badge } from "./TemplateCard-DFbYdC2c.js";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { AlertTriangle, CheckCircle2, Download, ExternalLink, Loader2, Puzzle, ShoppingCart } from "lucide-react";
|
|
7
7
|
|