@burdenoff/fluidgrids-fe-sdk 2026.1113.4 → 2026.1113.5
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-DmgLQG62.js → AiStudioPage-DzvEkuoS.js} +6 -6
- package/dist/{ApprovalInboxPage-BsJX4osU.js → ApprovalInboxPage-BIDGY0Qm.js} +8 -8
- package/dist/{DataSinkDashboardPage-iBalc66y.js → DataSinkDashboardPage-DYuBqD2Y.js} +15 -15
- package/dist/{DataTablesPage-BBvABuxE.js → DataTablesPage-CA4CGEcM.js} +15 -15
- package/dist/{ExecutionDetailPage-D1E_Rf3U.js → ExecutionDetailPage-CXiHGMVH.js} +131 -131
- package/dist/{ExecutionsListPage-LsqVMwck.js → ExecutionsListPage-DGHmXNTR.js} +77 -77
- package/dist/{FailureTriagePanel-CM-vmvbA.js → FailureTriagePanel-DA91XKVj.js} +3 -3
- package/dist/{FluidGridsProvider-BgP5c-hH.js → FluidGridsProvider-gB2POEu6.js} +1 -1
- package/dist/{HistoryPage-BTAkQ7O1.js → HistoryPage-8lQ6xf5Q.js} +12 -12
- package/dist/{InsightsPage-CVSoyuat.js → InsightsPage-q5agPRFA.js} +29 -29
- package/dist/{NodesPage-C5Dq-ru-.js → NodesPage-DeBc3zix.js} +10 -10
- package/dist/{PaidTemplateConfirm-DfFrr1pk.js → PaidTemplateConfirm-BadoJJPx.js} +1 -1
- package/dist/{QuotaExhaustedDialog-BHZm4tQy.js → QuotaExhaustedDialog-BBK3aX_0.js} +1 -1
- package/dist/{SettingsPage-DPWog4BR.js → SettingsPage-BfBa-qSk.js} +72 -72
- package/dist/{TaskQueuesPage-BwnNad_J.js → TaskQueuesPage-DsGNGmGN.js} +15 -15
- package/dist/{TemplateCard-trfaDJLe.js → TemplateCard-lKGodHU8.js} +2 -2
- package/dist/{TemplatePreview-BuEMVZiI.js → TemplatePreview-YGddO09g.js} +4 -4
- package/dist/{TemplatesPage-UISz_6vU.js → TemplatesPage-DZQDzv7d.js} +19 -19
- package/dist/{VariablesPage-CgUBKhAe.js → VariablesPage-2Q7gYE2N.js} +7 -7
- package/dist/{WorkflowBuilder-Cmj59UU-.js → WorkflowBuilder-DKqz8W6n.js} +3 -3
- package/dist/{WorkflowBuilder-nnSlI7Fd.js → WorkflowBuilder-DtSOvYST.js} +6 -6
- package/dist/{WorkflowProposalCard-zCdUpCk8.js → WorkflowProposalCard-SmRv_Egf.js} +1 -1
- package/dist/{WorkflowSearchRedirect-pEIU2nvw.js → WorkflowSearchRedirect-mX-YNhkj.js} +1 -1
- package/dist/{WorkflowsList-B6ASopzn.js → WorkflowsList-DBKQLEUU.js} +7 -7
- package/dist/{agentTools-7CFfwySg.js → agentTools-Dle04WMj.js} +1 -1
- package/dist/{api-BqA-f-AD.js → api-CEnNq15C.js} +1 -1
- package/dist/{api-BZVyX5d2.js → api-DKfMt0IX.js} +1 -1
- package/dist/{app-BJUvugPM.js → app-BIsCEL65.js} +5 -5
- package/dist/{canvasNoteTools-BikeF-pN.js → canvasNoteTools-Bror30X8.js} +1 -1
- package/dist/executions.js +2 -2
- package/dist/{flow-builder-CksAvhgV.js → flow-builder-CErj7Fgi.js} +21 -21
- package/dist/history.js +1 -1
- package/dist/index.js +71 -71
- package/dist/{logs-panel-DtG93ocy.js → logs-panel-2L4TLGcG.js} +10 -10
- package/dist/{node-detail-view-BgmxkGJe.js → node-detail-view-BqGpYHEE.js} +6 -6
- package/dist/{node-editor-tab-body-2Y-lqY4_.js → node-editor-tab-body-f2EIl5lh.js} +2 -2
- package/dist/nodes.js +1 -1
- package/dist/observability.js +2 -2
- package/dist/{popover-DL7fSPgH.js → popover-3Vs4f1Uy.js} +2 -2
- package/dist/{quick-config-panel-nmIRDTFB.js → quick-config-panel-Aja-lh3W.js} +3 -3
- package/dist/{schedule-panel-Bk5MJumG.js → schedule-panel-DCzLeJvi.js} +6 -6
- package/dist/settings.js +1 -1
- package/dist/{shared-Ctl9ZHo1.js → shared-C0LCTtyh.js} +3 -3
- package/dist/{sidebar-node-editor-BnUjER8A.js → sidebar-node-editor-CWdejdLi.js} +3 -3
- package/dist/templates.js +2 -2
- package/dist/{useAgentDefinitions-BmyWUoyo.js → useAgentDefinitions-DoMEv0kS.js} +1 -1
- package/dist/{useDurableParity-AowXKgBZ.js → useDurableParity-9mQYNpiP.js} +1 -1
- package/dist/{useExecutions-BemEN_Zb.js → useExecutions-BvldyVgF.js} +1 -1
- package/dist/{useGlobalStoreClient-BmjWfAjc.js → useGlobalStoreClient-CpTRykJx.js} +1 -1
- package/dist/{useObservability-BGrwZS5X.js → useObservability-Cps9Y9a3.js} +1 -1
- package/dist/{useRunHistory-GzyLco45.js → useRunHistory-DoxQsQIm.js} +9 -9
- package/dist/{useWorkflowCodeExport-ej7y3Gi3.js → useWorkflowCodeExport-BLl0hv2J.js} +1 -1
- package/dist/{useWorkflows-DwDzP-AD.js → useWorkflows-Z4M64JlD.js} +1 -1
- package/dist/workflow-builder.js +4 -4
- package/dist/workflow-pages.d.ts +1 -1
- package/dist/workflow-pages.js +18 -18
- package/dist/workflows-list.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
3
|
-
import { d as useRestoreWorkflowVersion, h as useWorkflowDefinitions } from "./useWorkflows-
|
|
3
|
+
import { d as useRestoreWorkflowVersion, h as useWorkflowDefinitions } from "./useWorkflows-Z4M64JlD.js";
|
|
4
4
|
import { t as VersionDiffDialog } from "./VersionDiffDialog-D9W5Fm56.js";
|
|
5
5
|
import { c as versionsOfWorkflow } from "./VersionLifecycleBar-DuphLOT0.js";
|
|
6
6
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
@@ -121,7 +121,7 @@ function EmptyState$1() {
|
|
|
121
121
|
className: "flex flex-col items-center justify-center py-20 text-center",
|
|
122
122
|
children: [
|
|
123
123
|
/* @__PURE__ */ jsx("div", {
|
|
124
|
-
className: "rounded-full bg-
|
|
124
|
+
className: "rounded-full bg-surface p-4 mb-4",
|
|
125
125
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
126
126
|
icon: "mdi:history",
|
|
127
127
|
width: 40,
|
|
@@ -203,7 +203,7 @@ function ErrorState({ message, onRetry, v2 }) {
|
|
|
203
203
|
}
|
|
204
204
|
function StatCard({ label, value, valueClassName }) {
|
|
205
205
|
return /* @__PURE__ */ jsxs("div", {
|
|
206
|
-
className: "p-3 rounded-lg bg-
|
|
206
|
+
className: "p-3 rounded-lg bg-surface border border-border-default",
|
|
207
207
|
children: [/* @__PURE__ */ jsx("p", {
|
|
208
208
|
className: "text-xs text-text-secondary",
|
|
209
209
|
children: label
|
|
@@ -394,7 +394,7 @@ function HistoryPage() {
|
|
|
394
394
|
const countByStatus = (status) => allRows.filter((r) => r.status === status).length;
|
|
395
395
|
const showOlder = () => setWindowOffset(windowOffset + FETCH_LIMIT);
|
|
396
396
|
return /* @__PURE__ */ jsxs("div", {
|
|
397
|
-
className: "p-4 sm:p-6 bg-
|
|
397
|
+
className: "p-4 sm:p-6 bg-surface-canvas min-h-screen",
|
|
398
398
|
children: [
|
|
399
399
|
/* @__PURE__ */ jsxs("div", {
|
|
400
400
|
className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-6",
|
|
@@ -447,13 +447,13 @@ function HistoryPage() {
|
|
|
447
447
|
"aria-label": tr("fluidgrids.history.historyPage.searchLabel", "Search versions"),
|
|
448
448
|
value: search,
|
|
449
449
|
onChange: (e) => handleSearchChange(e.target.value),
|
|
450
|
-
className: "pl-10 bg-
|
|
450
|
+
className: "pl-10 bg-surface border-border-default"
|
|
451
451
|
})]
|
|
452
452
|
}), /* @__PURE__ */ jsxs(Select, {
|
|
453
453
|
value: workflowFilter,
|
|
454
454
|
onValueChange: handleWorkflowFilterChange,
|
|
455
455
|
children: [/* @__PURE__ */ jsx(SelectTrigger, {
|
|
456
|
-
className: "w-[220px] bg-
|
|
456
|
+
className: "w-[220px] bg-surface border-border-default",
|
|
457
457
|
"data-tour": "fluidgrids-history-workflow-filter",
|
|
458
458
|
children: /* @__PURE__ */ jsx(SelectValue, { placeholder: tr("fluidgrids.history.historyPage.workflowFilterPlaceholder", "All Workflows") })
|
|
459
459
|
}), /* @__PURE__ */ jsxs(SelectContent, { children: [/* @__PURE__ */ jsx(SelectItem, {
|
|
@@ -512,11 +512,11 @@ function HistoryPage() {
|
|
|
512
512
|
})
|
|
513
513
|
}),
|
|
514
514
|
loading && !(v2 && allRows.length > 0) ? /* @__PURE__ */ jsx(HistoryTableSkeleton, {}) : filteredRows.length === 0 ? /* @__PURE__ */ jsx(EmptyState$1, {}) : /* @__PURE__ */ jsx("div", {
|
|
515
|
-
className: "overflow-x-auto rounded-lg border border-border-
|
|
515
|
+
className: "overflow-x-auto rounded-lg border border-border-default",
|
|
516
516
|
children: /* @__PURE__ */ jsxs("table", {
|
|
517
517
|
className: "w-full text-sm",
|
|
518
518
|
children: [/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", {
|
|
519
|
-
className: "border-b border-border-
|
|
519
|
+
className: "border-b border-border-default bg-surface",
|
|
520
520
|
children: [
|
|
521
521
|
/* @__PURE__ */ jsx("th", {
|
|
522
522
|
className: "text-left px-4 py-3 font-medium text-text-secondary",
|
|
@@ -546,7 +546,7 @@ function HistoryPage() {
|
|
|
546
546
|
}) }), /* @__PURE__ */ jsx("tbody", { children: paginatedRows.map((row) => {
|
|
547
547
|
const statusStyle = STATUS_STYLES[row.status] ?? STATUS_STYLES.DRAFT;
|
|
548
548
|
return /* @__PURE__ */ jsxs("tr", {
|
|
549
|
-
className: "border-b border-border-
|
|
549
|
+
className: "border-b border-border-default last:border-0 hover:bg-surface-sunken/50 cursor-pointer transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",
|
|
550
550
|
tabIndex: 0,
|
|
551
551
|
"aria-label": tr("fluidgrids.history.historyPage.openVersionLabel", "Open {{name}} {{version}} in the builder", {
|
|
552
552
|
name: row.name,
|
|
@@ -581,7 +581,7 @@ function HistoryPage() {
|
|
|
581
581
|
/* @__PURE__ */ jsx("td", {
|
|
582
582
|
className: "px-4 py-3",
|
|
583
583
|
children: /* @__PURE__ */ jsx("code", {
|
|
584
|
-
className: "text-xs bg-
|
|
584
|
+
className: "text-xs bg-surface px-2 py-0.5 rounded text-text-primary",
|
|
585
585
|
children: row.version
|
|
586
586
|
})
|
|
587
587
|
}),
|
|
@@ -629,7 +629,7 @@ function HistoryPage() {
|
|
|
629
629
|
to: row.version
|
|
630
630
|
});
|
|
631
631
|
},
|
|
632
|
-
className: "p-1.5 rounded hover:bg-
|
|
632
|
+
className: "p-1.5 rounded hover:bg-surface-sunken text-text-secondary hover:text-text-primary transition-colors",
|
|
633
633
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
634
634
|
icon: "mdi:compare-horizontal",
|
|
635
635
|
width: 16
|
|
@@ -644,7 +644,7 @@ function HistoryPage() {
|
|
|
644
644
|
e.stopPropagation();
|
|
645
645
|
handleNavigateToVersion(row.workflowKey, row.version);
|
|
646
646
|
},
|
|
647
|
-
className: "p-1.5 rounded hover:bg-
|
|
647
|
+
className: "p-1.5 rounded hover:bg-surface-sunken text-text-secondary hover:text-text-primary transition-colors",
|
|
648
648
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
649
649
|
icon: "mdi:open-in-new",
|
|
650
650
|
width: 16
|
|
@@ -3,9 +3,9 @@ import { t as __exportAll } from "./rolldown-runtime-hDbaFkMy.js";
|
|
|
3
3
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
4
4
|
import { n as useNavigationV2 } from "./useNavigationV2-C2WeqN7d.js";
|
|
5
5
|
import { t as TechnicalDetails } from "./TechnicalDetails-D4xGy201.js";
|
|
6
|
-
import { o as useRunReplayActions, r as useInsightsData } from "./useObservability-
|
|
6
|
+
import { o as useRunReplayActions, r as useInsightsData } from "./useObservability-Cps9Y9a3.js";
|
|
7
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";
|
|
8
|
-
import { n as FailureTriagePanel } from "./FailureTriagePanel-
|
|
8
|
+
import { n as FailureTriagePanel } from "./FailureTriagePanel-DA91XKVj.js";
|
|
9
9
|
import { c as useContinuousOptimisationEnabled } from "./feature-flags-B_b8PJ6Z.js";
|
|
10
10
|
import { i as SdkPermissionButton, s as useFluidGridsPermission, t as FLUIDGRIDS_PERMISSIONS } from "./constants-dcxg6zG6.js";
|
|
11
11
|
import { Cw as OptimisationSuggestionStatus, Sw as OptimisationKind, xw as OptimisationDismissReason } from "./graphql-types-C5Tr6508.js";
|
|
@@ -3043,7 +3043,7 @@ function OptimisationSuggestionsSection({ onOpenRun, onOpenProposal }) {
|
|
|
3043
3043
|
if (target) onOpenProposal(target);
|
|
3044
3044
|
};
|
|
3045
3045
|
return /* @__PURE__ */ jsxs("section", {
|
|
3046
|
-
className: "mb-6 rounded-xl border border-border-
|
|
3046
|
+
className: "mb-6 rounded-xl border border-border-default bg-surface p-4",
|
|
3047
3047
|
"data-testid": "optimisation-panel",
|
|
3048
3048
|
children: [
|
|
3049
3049
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -3203,7 +3203,7 @@ function OptimisationSuggestionRow({ suggestion, pending, onOpenRun, onApply, on
|
|
|
3203
3203
|
const runs = suggestion.sampleRunIds.slice(0, MAX_RUN_LINKS);
|
|
3204
3204
|
const updateDenied = tr("fluidgrids.optimisation.updateDenied", "You need edit access to workflows to change suggestions");
|
|
3205
3205
|
return /* @__PURE__ */ jsx("li", {
|
|
3206
|
-
className: "rounded-lg border border-border-
|
|
3206
|
+
className: "rounded-lg border border-border-default bg-surface-canvas p-3",
|
|
3207
3207
|
"data-testid": "optimisation-suggestion",
|
|
3208
3208
|
"data-kind": String(kind),
|
|
3209
3209
|
children: /* @__PURE__ */ jsxs("div", {
|
|
@@ -3215,7 +3215,7 @@ function OptimisationSuggestionRow({ suggestion, pending, onOpenRun, onApply, on
|
|
|
3215
3215
|
className: "flex flex-wrap items-center gap-2 text-sm",
|
|
3216
3216
|
children: [
|
|
3217
3217
|
/* @__PURE__ */ jsxs("span", {
|
|
3218
|
-
className: "inline-flex items-center gap-1 rounded-full bg-
|
|
3218
|
+
className: "inline-flex items-center gap-1 rounded-full bg-surface px-2 py-0.5 text-xs text-text-secondary",
|
|
3219
3219
|
children: [/* @__PURE__ */ jsx(KindIcon, { className: "size-3.5" }), kindLabel(tr, kind)]
|
|
3220
3220
|
}),
|
|
3221
3221
|
/* @__PURE__ */ jsx("span", {
|
|
@@ -3465,7 +3465,7 @@ function AiSpendPanel() {
|
|
|
3465
3465
|
const [days, setDays] = useState(7);
|
|
3466
3466
|
const { usage, loading, error, refetch } = useWorkspaceAiUsage(days);
|
|
3467
3467
|
return /* @__PURE__ */ jsxs("section", {
|
|
3468
|
-
className: "rounded-xl border border-border-
|
|
3468
|
+
className: "rounded-xl border border-border-default bg-surface p-4 sm:p-5",
|
|
3469
3469
|
"aria-label": tr("fluidgrids.insights.aiSpend.title", "AI spend"),
|
|
3470
3470
|
"data-testid": "insights-ai-spend",
|
|
3471
3471
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -3492,7 +3492,7 @@ function AiSpendPanel() {
|
|
|
3492
3492
|
}
|
|
3493
3493
|
function RangeSelector({ days, onChange, tr }) {
|
|
3494
3494
|
return /* @__PURE__ */ jsx("div", {
|
|
3495
|
-
className: "flex shrink-0 gap-1 rounded-lg border border-border-
|
|
3495
|
+
className: "flex shrink-0 gap-1 rounded-lg border border-border-default p-1",
|
|
3496
3496
|
role: "group",
|
|
3497
3497
|
"aria-label": tr("fluidgrids.insights.aiSpend.rangeLabel", "Period"),
|
|
3498
3498
|
children: AI_SPEND_RANGE_DAYS.map((option) => /* @__PURE__ */ jsx("button", {
|
|
@@ -3524,7 +3524,7 @@ function AiSpendBody({ usage, loading, error, onRetry, tr }) {
|
|
|
3524
3524
|
1,
|
|
3525
3525
|
2,
|
|
3526
3526
|
3
|
|
3527
|
-
].map((item) => /* @__PURE__ */ jsx("div", { className: "h-20 animate-pulse rounded-lg bg-
|
|
3527
|
+
].map((item) => /* @__PURE__ */ jsx("div", { className: "h-20 animate-pulse rounded-lg bg-surface-sunken" }, item))
|
|
3528
3528
|
}) : null;
|
|
3529
3529
|
return /* @__PURE__ */ jsxs("div", {
|
|
3530
3530
|
className: loading ? "opacity-60" : void 0,
|
|
@@ -3535,7 +3535,7 @@ function AiSpendBody({ usage, loading, error, onRetry, tr }) {
|
|
|
3535
3535
|
tr
|
|
3536
3536
|
}),
|
|
3537
3537
|
usage.lines.length === 0 ? /* @__PURE__ */ jsxs("div", {
|
|
3538
|
-
className: "mt-4 rounded-lg border border-dashed border-border-
|
|
3538
|
+
className: "mt-4 rounded-lg border border-dashed border-border-default p-6 text-center",
|
|
3539
3539
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
3540
3540
|
icon: "mdi:robot-off-outline",
|
|
3541
3541
|
width: 28,
|
|
@@ -3586,7 +3586,7 @@ function SpendTotals({ total, tr }) {
|
|
|
3586
3586
|
}
|
|
3587
3587
|
function Total({ label, children, detail }) {
|
|
3588
3588
|
return /* @__PURE__ */ jsxs("div", {
|
|
3589
|
-
className: "rounded-lg border border-border-
|
|
3589
|
+
className: "rounded-lg border border-border-default bg-surface-canvas p-3",
|
|
3590
3590
|
children: [
|
|
3591
3591
|
/* @__PURE__ */ jsx("p", {
|
|
3592
3592
|
className: "text-xs text-text-secondary",
|
|
@@ -3605,11 +3605,11 @@ function Total({ label, children, detail }) {
|
|
|
3605
3605
|
}
|
|
3606
3606
|
function SpendTable({ lines, tr }) {
|
|
3607
3607
|
return /* @__PURE__ */ jsx("div", {
|
|
3608
|
-
className: "mt-4 overflow-x-auto rounded-lg border border-border-
|
|
3608
|
+
className: "mt-4 overflow-x-auto rounded-lg border border-border-default",
|
|
3609
3609
|
children: /* @__PURE__ */ jsxs("table", {
|
|
3610
3610
|
className: "w-full min-w-[640px] text-sm",
|
|
3611
3611
|
children: [/* @__PURE__ */ jsx("thead", {
|
|
3612
|
-
className: "bg-
|
|
3612
|
+
className: "bg-surface-sunken text-left text-xs text-text-secondary",
|
|
3613
3613
|
children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
3614
3614
|
/* @__PURE__ */ jsx("th", {
|
|
3615
3615
|
className: "px-3 py-2 font-medium",
|
|
@@ -3637,7 +3637,7 @@ function SpendTable({ lines, tr }) {
|
|
|
3637
3637
|
})
|
|
3638
3638
|
] })
|
|
3639
3639
|
}), /* @__PURE__ */ jsx("tbody", { children: lines.map((line) => /* @__PURE__ */ jsxs("tr", {
|
|
3640
|
-
className: "border-t border-border-
|
|
3640
|
+
className: "border-t border-border-default",
|
|
3641
3641
|
children: [
|
|
3642
3642
|
/* @__PURE__ */ jsx("td", {
|
|
3643
3643
|
className: "max-w-[16rem] px-3 py-2",
|
|
@@ -3693,7 +3693,7 @@ function barWidth(value, largest) {
|
|
|
3693
3693
|
}
|
|
3694
3694
|
function Ranking({ title, empty, children, testId }) {
|
|
3695
3695
|
return /* @__PURE__ */ jsxs("div", {
|
|
3696
|
-
className: "rounded-lg border border-border-
|
|
3696
|
+
className: "rounded-lg border border-border-default bg-surface-canvas p-4",
|
|
3697
3697
|
"data-testid": testId,
|
|
3698
3698
|
children: [/* @__PURE__ */ jsx("h3", {
|
|
3699
3699
|
className: "mb-3 text-sm font-semibold text-text-primary",
|
|
@@ -3710,7 +3710,7 @@ function Ranking({ title, empty, children, testId }) {
|
|
|
3710
3710
|
function RankingRow({ to, label, detail, count, largest, tone }) {
|
|
3711
3711
|
return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(Link, {
|
|
3712
3712
|
to,
|
|
3713
|
-
className: "flex items-center gap-3 rounded-md px-2 py-1.5 hover:bg-
|
|
3713
|
+
className: "flex items-center gap-3 rounded-md px-2 py-1.5 hover:bg-surface-sunken",
|
|
3714
3714
|
"data-testid": "error-panel-row",
|
|
3715
3715
|
children: [
|
|
3716
3716
|
/* @__PURE__ */ jsxs("span", {
|
|
@@ -3724,7 +3724,7 @@ function RankingRow({ to, label, detail, count, largest, tone }) {
|
|
|
3724
3724
|
})]
|
|
3725
3725
|
}),
|
|
3726
3726
|
/* @__PURE__ */ jsx("span", {
|
|
3727
|
-
className: "h-2 w-24 shrink-0 overflow-hidden rounded-full bg-
|
|
3727
|
+
className: "h-2 w-24 shrink-0 overflow-hidden rounded-full bg-surface-sunken",
|
|
3728
3728
|
children: /* @__PURE__ */ jsx("span", {
|
|
3729
3729
|
className: `block h-full rounded-full ${tone === "error" ? "bg-status-error-bg" : "bg-status-warning-bg"}`,
|
|
3730
3730
|
style: { width: barWidth(count, largest) }
|
|
@@ -3740,7 +3740,7 @@ function RankingRow({ to, label, detail, count, largest, tone }) {
|
|
|
3740
3740
|
function Trend({ trend, link, tr }) {
|
|
3741
3741
|
const largest = Math.max(0, ...trend.map((point) => point.count));
|
|
3742
3742
|
return /* @__PURE__ */ jsxs("div", {
|
|
3743
|
-
className: "rounded-lg border border-border-
|
|
3743
|
+
className: "rounded-lg border border-border-default bg-surface-canvas p-4",
|
|
3744
3744
|
"data-testid": "error-panel-trend",
|
|
3745
3745
|
children: [
|
|
3746
3746
|
/* @__PURE__ */ jsx("h3", {
|
|
@@ -3769,7 +3769,7 @@ function Trend({ trend, link, tr }) {
|
|
|
3769
3769
|
"aria-label": label,
|
|
3770
3770
|
"data-testid": "error-panel-day"
|
|
3771
3771
|
}) : /* @__PURE__ */ jsx("span", {
|
|
3772
|
-
className: "block w-full rounded-t-sm bg-
|
|
3772
|
+
className: "block w-full rounded-t-sm bg-surface-sunken",
|
|
3773
3773
|
style: { height },
|
|
3774
3774
|
title: label
|
|
3775
3775
|
})
|
|
@@ -3814,7 +3814,7 @@ function ErrorAnalyticsPanel({ analytics, period, loading, error, onRetry }) {
|
|
|
3814
3814
|
]
|
|
3815
3815
|
});
|
|
3816
3816
|
else if (!analytics) body = /* @__PURE__ */ jsx("div", {
|
|
3817
|
-
className: "h-40 animate-pulse rounded-lg bg-
|
|
3817
|
+
className: "h-40 animate-pulse rounded-lg bg-surface-sunken",
|
|
3818
3818
|
"aria-busy": "true"
|
|
3819
3819
|
});
|
|
3820
3820
|
else if (analytics.totalErrors === 0) body = /* @__PURE__ */ jsx("p", {
|
|
@@ -3884,7 +3884,7 @@ function ErrorAnalyticsPanel({ analytics, period, loading, error, onRetry }) {
|
|
|
3884
3884
|
});
|
|
3885
3885
|
}
|
|
3886
3886
|
return /* @__PURE__ */ jsxs("section", {
|
|
3887
|
-
className: "rounded-xl border border-border-
|
|
3887
|
+
className: "rounded-xl border border-border-default bg-surface p-5",
|
|
3888
3888
|
"aria-labelledby": "insights-error-panel-heading",
|
|
3889
3889
|
"aria-busy": loading,
|
|
3890
3890
|
"data-testid": "insights-error-panel",
|
|
@@ -3984,7 +3984,7 @@ var InsightsPage_exports = /* @__PURE__ */ __exportAll({
|
|
|
3984
3984
|
});
|
|
3985
3985
|
function MetricCard({ icon, label, value, detail, tone = "text-text-primary" }) {
|
|
3986
3986
|
return /* @__PURE__ */ jsxs("div", {
|
|
3987
|
-
className: "rounded-xl border border-border-
|
|
3987
|
+
className: "rounded-xl border border-border-default bg-surface p-4",
|
|
3988
3988
|
children: [
|
|
3989
3989
|
/* @__PURE__ */ jsxs("div", {
|
|
3990
3990
|
className: "flex items-center gap-2 text-sm text-text-secondary",
|
|
@@ -4013,7 +4013,7 @@ function LoadingState() {
|
|
|
4013
4013
|
2,
|
|
4014
4014
|
3,
|
|
4015
4015
|
4
|
|
4016
|
-
].map((item) => /* @__PURE__ */ jsx("div", { className: "h-28 animate-pulse rounded-xl border border-border-
|
|
4016
|
+
].map((item) => /* @__PURE__ */ jsx("div", { className: "h-28 animate-pulse rounded-xl border border-border-default bg-surface" }, item))
|
|
4017
4017
|
});
|
|
4018
4018
|
}
|
|
4019
4019
|
function InsightsPage({ showErrors = false }) {
|
|
@@ -4031,7 +4031,7 @@ function InsightsPage({ showErrors = false }) {
|
|
|
4031
4031
|
const topWorkflows = useMemo(() => (serverRanking ? rankedFailingWorkflows(serverRanking) : getTopFailingWorkflows(failedRuns)).slice(0, 8), [serverRanking, failedRuns]);
|
|
4032
4032
|
const topNodes = useMemo(() => getTopFailingNodes(summary?.nodeUsageStats ?? []).slice(0, 8), [summary?.nodeUsageStats]);
|
|
4033
4033
|
if (error) return /* @__PURE__ */ jsx("div", {
|
|
4034
|
-
className: "min-h-screen bg-
|
|
4034
|
+
className: "min-h-screen bg-surface-canvas p-4 sm:p-6",
|
|
4035
4035
|
children: /* @__PURE__ */ jsxs("div", {
|
|
4036
4036
|
className: "rounded-lg border border-status-error-border bg-status-error-bg-subtle p-5 text-status-error-text",
|
|
4037
4037
|
role: "alert",
|
|
@@ -4056,7 +4056,7 @@ function InsightsPage({ showErrors = false }) {
|
|
|
4056
4056
|
});
|
|
4057
4057
|
const commonError = failureBreakdown[0];
|
|
4058
4058
|
return /* @__PURE__ */ jsxs("div", {
|
|
4059
|
-
className: "min-h-screen bg-
|
|
4059
|
+
className: "min-h-screen bg-surface-canvas p-4 sm:p-6",
|
|
4060
4060
|
children: [
|
|
4061
4061
|
/* @__PURE__ */ jsx(InsightsHeader, {
|
|
4062
4062
|
v2,
|
|
@@ -4153,7 +4153,7 @@ function InsightsTabs({ activeTab, showErrors, onSelect }) {
|
|
|
4153
4153
|
};
|
|
4154
4154
|
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"}`;
|
|
4155
4155
|
return /* @__PURE__ */ jsxs("div", {
|
|
4156
|
-
className: "mb-6 flex gap-1 border-b border-border-
|
|
4156
|
+
className: "mb-6 flex gap-1 border-b border-border-default",
|
|
4157
4157
|
role: "tablist",
|
|
4158
4158
|
"data-tour": "fluidgrids-insights-tabs",
|
|
4159
4159
|
children: [/* @__PURE__ */ jsx("button", {
|
|
@@ -4288,7 +4288,7 @@ function RankedBar({ label, count, largest, barClassName }) {
|
|
|
4288
4288
|
children: label
|
|
4289
4289
|
}),
|
|
4290
4290
|
/* @__PURE__ */ jsx("div", {
|
|
4291
|
-
className: "h-2 w-28 overflow-hidden rounded-full bg-
|
|
4291
|
+
className: "h-2 w-28 overflow-hidden rounded-full bg-surface-sunken",
|
|
4292
4292
|
children: /* @__PURE__ */ jsx("div", {
|
|
4293
4293
|
className: `h-full rounded-full ${barClassName}`,
|
|
4294
4294
|
style: { width: `${Math.max(8, percentage(count, largest))}%` }
|
|
@@ -4304,7 +4304,7 @@ function RankedBar({ label, count, largest, barClassName }) {
|
|
|
4304
4304
|
function InsightList({ title, empty, children, testId }) {
|
|
4305
4305
|
const hasChildren = Array.isArray(children) ? children.length > 0 : Boolean(children);
|
|
4306
4306
|
return /* @__PURE__ */ jsxs("section", {
|
|
4307
|
-
className: "rounded-xl border border-border-
|
|
4307
|
+
className: "rounded-xl border border-border-default bg-surface p-5",
|
|
4308
4308
|
"data-testid": testId,
|
|
4309
4309
|
children: [/* @__PURE__ */ jsx("h2", {
|
|
4310
4310
|
className: "mb-4 text-base font-semibold text-text-primary",
|
|
@@ -4377,7 +4377,7 @@ function ErrorContent({ summary, failedRuns, commonError, retry, retryLoading, e
|
|
|
4377
4377
|
}),
|
|
4378
4378
|
errorPanel,
|
|
4379
4379
|
/* @__PURE__ */ jsx("section", { children: /* @__PURE__ */ jsxs("div", {
|
|
4380
|
-
className: "rounded-xl border border-border-
|
|
4380
|
+
className: "rounded-xl border border-border-default bg-surface p-5",
|
|
4381
4381
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
4382
4382
|
className: "mb-4 flex items-center justify-between gap-3",
|
|
4383
4383
|
children: [/* @__PURE__ */ jsx("h2", {
|
|
@@ -4388,7 +4388,7 @@ function ErrorContent({ summary, failedRuns, commonError, retry, retryLoading, e
|
|
|
4388
4388
|
children: tr("fluidgrids.insights.sampleNote", "Showing the latest 100 failures")
|
|
4389
4389
|
})]
|
|
4390
4390
|
}), /* @__PURE__ */ jsxs("div", {
|
|
4391
|
-
className: "divide-y divide-border-
|
|
4391
|
+
className: "divide-y divide-border-default",
|
|
4392
4392
|
children: [failedRuns.length === 0 && /* @__PURE__ */ jsx("p", {
|
|
4393
4393
|
className: "py-3 text-sm text-text-secondary",
|
|
4394
4394
|
children: tr("fluidgrids.insights.noRecentFailures", "No recent failures.")
|
|
@@ -278,7 +278,7 @@ function EmptyState$1({ hasFilters }) {
|
|
|
278
278
|
className: "flex flex-col items-center justify-center py-20 text-center",
|
|
279
279
|
children: [
|
|
280
280
|
/* @__PURE__ */ jsx("div", {
|
|
281
|
-
className: "rounded-full bg-
|
|
281
|
+
className: "rounded-full bg-surface p-4 mb-4",
|
|
282
282
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
283
283
|
icon: "mdi:puzzle-outline",
|
|
284
284
|
width: 40,
|
|
@@ -332,14 +332,14 @@ function NodeCard({ node, category, v2 }) {
|
|
|
332
332
|
const catColor = CATEGORY_COLORS[category] ?? "bg-bg-sunken text-text-muted border-border-strong";
|
|
333
333
|
const catLabel = nodeCategoryLabel(tr, category);
|
|
334
334
|
return /* @__PURE__ */ jsxs(Card, {
|
|
335
|
-
className: "border border-border-
|
|
335
|
+
className: "border border-border-default bg-surface hover:border-border-strong transition-all duration-200 flex flex-col",
|
|
336
336
|
children: [/* @__PURE__ */ jsxs(CardHeader, {
|
|
337
337
|
className: "flex-1 pb-3",
|
|
338
338
|
children: [
|
|
339
339
|
/* @__PURE__ */ jsxs("div", {
|
|
340
340
|
className: "flex items-start justify-between gap-2 mb-3",
|
|
341
341
|
children: [/* @__PURE__ */ jsx("div", {
|
|
342
|
-
className: "rounded-lg bg-
|
|
342
|
+
className: "rounded-lg bg-surface-sunken p-2",
|
|
343
343
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
344
344
|
icon: node.icon ?? node.favicon ?? "mdi:puzzle",
|
|
345
345
|
width: 22,
|
|
@@ -383,7 +383,7 @@ function NodeCard({ node, category, v2 }) {
|
|
|
383
383
|
children: /* @__PURE__ */ jsx("button", {
|
|
384
384
|
type: "button",
|
|
385
385
|
"aria-label": tr("fluidgrids.nodes.nodeCard.configureTooltip", "Configure node"),
|
|
386
|
-
className: "p-1.5 rounded hover:bg-
|
|
386
|
+
className: "p-1.5 rounded hover:bg-surface-sunken text-text-secondary hover:text-text-primary transition-colors",
|
|
387
387
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
388
388
|
icon: "mdi:cog",
|
|
389
389
|
width: 16
|
|
@@ -431,7 +431,7 @@ function NodesPage() {
|
|
|
431
431
|
return counts;
|
|
432
432
|
}, [categorizedNodes]);
|
|
433
433
|
return /* @__PURE__ */ jsxs("div", {
|
|
434
|
-
className: "p-4 sm:p-6 bg-
|
|
434
|
+
className: "p-4 sm:p-6 bg-surface-canvas min-h-screen",
|
|
435
435
|
children: [
|
|
436
436
|
/* @__PURE__ */ jsxs("div", {
|
|
437
437
|
className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-6",
|
|
@@ -472,7 +472,7 @@ function NodesPage() {
|
|
|
472
472
|
"data-tour": "fluidgrids-nodes-stats",
|
|
473
473
|
children: [
|
|
474
474
|
/* @__PURE__ */ jsxs("div", {
|
|
475
|
-
className: "p-3 rounded-lg bg-
|
|
475
|
+
className: "p-3 rounded-lg bg-surface border border-border-default",
|
|
476
476
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
477
477
|
className: "flex items-center gap-2",
|
|
478
478
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
@@ -489,7 +489,7 @@ function NodesPage() {
|
|
|
489
489
|
})]
|
|
490
490
|
}),
|
|
491
491
|
/* @__PURE__ */ jsxs("div", {
|
|
492
|
-
className: "p-3 rounded-lg bg-
|
|
492
|
+
className: "p-3 rounded-lg bg-surface border border-border-default",
|
|
493
493
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
494
494
|
className: "flex items-center gap-2",
|
|
495
495
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
@@ -506,7 +506,7 @@ function NodesPage() {
|
|
|
506
506
|
})]
|
|
507
507
|
}),
|
|
508
508
|
/* @__PURE__ */ jsxs("div", {
|
|
509
|
-
className: "p-3 rounded-lg bg-
|
|
509
|
+
className: "p-3 rounded-lg bg-surface border border-border-default",
|
|
510
510
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
511
511
|
className: "flex items-center gap-2",
|
|
512
512
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
@@ -536,7 +536,7 @@ function NodesPage() {
|
|
|
536
536
|
"aria-label": tr("fluidgrids.nodes.nodesPage.searchPlaceholder", "Search nodes by name, type, or keyword..."),
|
|
537
537
|
value: search,
|
|
538
538
|
onChange: (e) => setSearch(e.target.value),
|
|
539
|
-
className: "pl-10 bg-
|
|
539
|
+
className: "pl-10 bg-surface border-border-default"
|
|
540
540
|
})]
|
|
541
541
|
}),
|
|
542
542
|
/* @__PURE__ */ jsx("div", {
|
|
@@ -549,7 +549,7 @@ function NodesPage() {
|
|
|
549
549
|
type: "button",
|
|
550
550
|
"aria-pressed": isActive,
|
|
551
551
|
onClick: () => setActiveCategory(cat.value),
|
|
552
|
-
className: `inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-sm font-medium transition-colors ${isActive ? "bg-
|
|
552
|
+
className: `inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-sm font-medium transition-colors ${isActive ? "bg-surface-sunken text-text-primary border border-border-strong" : "bg-surface text-text-secondary border border-border-default hover:text-text-primary hover:border-border-strong"}`,
|
|
553
553
|
children: [
|
|
554
554
|
/* @__PURE__ */ jsx(Icon, {
|
|
555
555
|
icon: cat.icon,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
3
|
-
import { n as formatTemplatePrice } from "./TemplateCard-
|
|
3
|
+
import { n as formatTemplatePrice } from "./TemplateCard-lKGodHU8.js";
|
|
4
4
|
import { t as ConfirmActionDialog } from "./ConfirmActionDialog-D9Pir3bc.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as useTr } from "./TranslationBridge-Da-TPgQm.js";
|
|
3
|
-
import { in as useFluidGridsAnalytics } from "./FluidGridsProvider-
|
|
3
|
+
import { in as useFluidGridsAnalytics } from "./FluidGridsProvider-gB2POEu6.js";
|
|
4
4
|
import { c as emitWorkflowLimitHit, o as emitUpgradeClicked } from "./fluidgridsEvents-Dm5CaHtr.js";
|
|
5
5
|
import { i as WORKFLOWS_QUOTA_NAME } from "./quota-Cdt8yz7N.js";
|
|
6
6
|
import { useEffect, useRef } from "react";
|