@burdenoff/microfe-bigconsole 2026.1123.6 → 2026.1124.1
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/bigconsole/asof/AsOfControl.js +2 -2
- package/dist/bigconsole/components/dashboard/DashboardCommentsDrawer.js +107 -106
- package/dist/bigconsole/components/dashboard/DashboardGalleryCard.d.ts +34 -0
- package/dist/bigconsole/components/dashboard/DashboardGalleryCard.js +123 -0
- package/dist/bigconsole/components/dashboard/DashboardReviewDialog.js +1 -1
- package/dist/bigconsole/components/dashboard/DashboardStatusPill.js +19 -35
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +119 -116
- package/dist/bigconsole/components/dashboard/LiveCanvasToggle.js +1 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +172 -170
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +210 -208
- package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +97 -97
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -0
- package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +92 -92
- package/dist/bigconsole/components/datasink/AlertRuleEditor.js +149 -149
- package/dist/bigconsole/components/datasink/AnomalyDetectorPanel.js +54 -54
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +30 -37
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +4 -4
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +130 -129
- package/dist/bigconsole/components/datasink/SetupStateBadge.js +24 -33
- package/dist/bigconsole/components/datasink/SinkWorkflowLinkForm.js +38 -38
- package/dist/bigconsole/components/explore/CreateQueryWidget.js +57 -56
- package/dist/bigconsole/components/explore/SqlDraftEditor.js +140 -140
- package/dist/bigconsole/components/explore/VisualBuilder.js +85 -84
- package/dist/bigconsole/components/explore/queryAccess/GrantsPanel.js +168 -167
- package/dist/bigconsole/components/explore/queryAccess/QueryAccessAdmin.js +2 -2
- package/dist/bigconsole/components/explore/queryAccess/RelationEditor.js +118 -117
- package/dist/bigconsole/components/insights/BoardLintPanel.js +2 -2
- package/dist/bigconsole/components/insights/OutlierSpottingDialog.js +123 -123
- package/dist/bigconsole/components/kpi-change/KpiChangePanel.js +2 -2
- package/dist/bigconsole/components/narrative/NarrativePanel.js +1 -1
- package/dist/bigconsole/components/overview/DataHealthCard.js +3 -0
- package/dist/bigconsole/components/overview/RecentDashboardsPanel.js +3 -0
- package/dist/bigconsole/components/parser/ParserStatusBadge.js +25 -28
- package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +23 -22
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +15 -26
- package/dist/bigconsole/components/reconcile/KpiReconcileDialog.js +24 -24
- package/dist/bigconsole/components/settings/WidgetCatalogSection.js +1 -1
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +188 -187
- package/dist/bigconsole/components/widgets/FilterNotAppliedNotice.js +1 -1
- package/dist/bigconsole/components/widgets/UnsupportedDataSourceNotice.js +1 -1
- package/dist/bigconsole/components/widgets/WidgetCompareView.js +3 -1
- package/dist/bigconsole/components/widgets/WidgetHeader.js +1 -1
- package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.js +45 -44
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js +151 -147
- package/dist/bigconsole/components/widgets/chart/ReferenceLinesEditor.js +48 -47
- package/dist/bigconsole/components/widgets/comments/WidgetComments.js +1 -1
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +139 -138
- package/dist/bigconsole/components/widgets/form/FormWidget.js +149 -148
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +80 -77
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +58 -56
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +75 -73
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +86 -85
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +80 -77
- package/dist/bigconsole/components/widgets/retention/RetentionView.js +1 -1
- package/dist/bigconsole/components/widgets/table/TableConfig.js +214 -211
- package/dist/bigconsole/components/widgets/table/TablePagination.js +59 -58
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +140 -138
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +74 -66
- package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +48 -48
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +28 -37
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +69 -69
- package/dist/bigconsole/hooks/useDashboardListQuery.d.ts +22 -0
- package/dist/bigconsole/hooks/useDashboardListQuery.js +39 -0
- package/dist/bigconsole/pages/AdminPage.js +147 -146
- package/dist/bigconsole/pages/DashboardViewPage.js +2 -0
- package/dist/bigconsole/pages/DashboardsPage.js +638 -855
- package/dist/bigconsole/pages/DataParsersPage.js +5 -0
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +4 -1
- package/dist/bigconsole/pages/DataSinkViewPage.js +263 -261
- package/dist/bigconsole/pages/DataSinksPage.js +210 -186
- package/dist/bigconsole/pages/InsightsPage.js +386 -383
- package/dist/bigconsole/pages/ParserBuilderPage.js +413 -413
- package/dist/bigconsole/pages/ParserViewPage.js +2 -0
- package/dist/bigconsole/pages/PipelineBuilderPage.js +279 -276
- package/dist/bigconsole/pages/PipelineViewPage.js +3 -0
- package/dist/bigconsole/pages/PipelinesPage.js +198 -165
- package/dist/bigconsole/pages/SettingsPage.js +160 -160
- package/dist/bigconsole/pages/WidgetDemoPage.js +2 -0
- package/dist/bigconsole/pages/WorkflowViewPage.js +5 -0
- package/dist/bigconsole/pages/WorkflowsPage.js +144 -123
- package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +1 -1
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +123 -122
- package/dist/bigconsole/utils/dashboardGallery.d.ts +84 -0
- package/dist/bigconsole/utils/dashboardGallery.js +93 -0
- package/dist/bigconsole/utils/statusTone.d.ts +17 -0
- package/dist/bigconsole/utils/statusTone.js +44 -0
- package/package.json +4 -4
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { GALLERY_PAGE_SIZE as e, clampPage as t, parsePageParam as n, totalPagesFor as r, withPageParam as i } from "@burdenoff/fe-libs/ui";
|
|
2
|
+
// src/bigconsole/utils/dashboardGallery.ts
|
|
3
|
+
function a(e) {
|
|
4
|
+
return `category:${e}`;
|
|
5
|
+
}
|
|
6
|
+
function o(e) {
|
|
7
|
+
return e.startsWith("category:") ? e.slice(9) : "";
|
|
8
|
+
}
|
|
9
|
+
var s = new Intl.Collator(void 0, {
|
|
10
|
+
sensitivity: "base",
|
|
11
|
+
numeric: !0
|
|
12
|
+
});
|
|
13
|
+
function c(e, t, n) {
|
|
14
|
+
let r = t.toLowerCase();
|
|
15
|
+
return (!n || e.status === n) && (e.name.toLowerCase().includes(r) || (e.description ?? "").toLowerCase().includes(r));
|
|
16
|
+
}
|
|
17
|
+
function l(e, t) {
|
|
18
|
+
let n = /* @__PURE__ */ new Map(), r = 0;
|
|
19
|
+
for (let i of e) c(i, t.search, t.status) && (r += 1, i.category && n.set(i.category, (n.get(i.category) ?? 0) + 1));
|
|
20
|
+
return t.selected && !n.has(t.selected) && n.set(t.selected, 0), {
|
|
21
|
+
facets: [...n].sort(([e, t], [n, r]) => r - t || s.compare(e, n)).map(([e, t]) => ({
|
|
22
|
+
value: a(e),
|
|
23
|
+
count: t
|
|
24
|
+
})),
|
|
25
|
+
total: r
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function u(i, a, o = e) {
|
|
29
|
+
let s = n(i), c = r(a, o);
|
|
30
|
+
return {
|
|
31
|
+
requested: s,
|
|
32
|
+
page: t(s, c),
|
|
33
|
+
totalPages: c
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function d(e, t) {
|
|
37
|
+
return e.get("page") === (t > 1 ? String(t) : null) ? null : i(e, t);
|
|
38
|
+
}
|
|
39
|
+
var f = {
|
|
40
|
+
search: "",
|
|
41
|
+
category: "",
|
|
42
|
+
status: "",
|
|
43
|
+
sort: "default"
|
|
44
|
+
}, p = {
|
|
45
|
+
search: "q",
|
|
46
|
+
category: "category",
|
|
47
|
+
status: "status",
|
|
48
|
+
sort: "sort"
|
|
49
|
+
}, m = [
|
|
50
|
+
"search",
|
|
51
|
+
"category",
|
|
52
|
+
"status",
|
|
53
|
+
"sort"
|
|
54
|
+
], h = ["DRAFT", "PUBLISHED"], g = [
|
|
55
|
+
"default",
|
|
56
|
+
"name-asc",
|
|
57
|
+
"name-desc",
|
|
58
|
+
"updated-desc",
|
|
59
|
+
"updated-asc"
|
|
60
|
+
];
|
|
61
|
+
function _(e) {
|
|
62
|
+
let t = e.get(p.status) ?? "", n = e.get(p.sort);
|
|
63
|
+
return {
|
|
64
|
+
search: e.get(p.search) ?? "",
|
|
65
|
+
category: e.get(p.category) ?? "",
|
|
66
|
+
status: h.includes(t) ? t : "",
|
|
67
|
+
sort: g.find((e) => e === n) ?? "default"
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function v(e, t) {
|
|
71
|
+
let n = i(e, 1);
|
|
72
|
+
for (let e of m) {
|
|
73
|
+
let r = t[e];
|
|
74
|
+
r !== void 0 && (r === f[e] ? n.delete(p[e]) : n.set(p[e], r));
|
|
75
|
+
}
|
|
76
|
+
return y(n);
|
|
77
|
+
}
|
|
78
|
+
function y(e) {
|
|
79
|
+
let t = new URLSearchParams(e), n = _(t);
|
|
80
|
+
return t.has(p.status) && n.status === "" && t.delete(p.status), t.has(p.sort) && n.sort === "default" && t.delete(p.sort), t;
|
|
81
|
+
}
|
|
82
|
+
function b(e) {
|
|
83
|
+
return [
|
|
84
|
+
e.search,
|
|
85
|
+
e.category,
|
|
86
|
+
e.status,
|
|
87
|
+
e.sort
|
|
88
|
+
].join("\0");
|
|
89
|
+
}
|
|
90
|
+
function x(e) {
|
|
91
|
+
return e.previousKey !== e.key || e.requestedPage <= e.totalPages ? null : d(e.params, e.page);
|
|
92
|
+
}
|
|
93
|
+
export { f as DEFAULT_DASHBOARD_LIST_QUERY, l as categoryFacets, o as categoryFromRail, a as categoryRailValue, y as cleanDashboardListParams, d as correctedPageParams, b as dashboardListQueryKey, u as galleryPage, x as pageClampParams, _ as readDashboardListQuery, v as withDashboardListQuery };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DashboardListStatus } from '../hooks/useDashboardOperations';
|
|
2
|
+
import { DataSinkSetupState, DataSinkStatus, FluidGridsWorkflowStatus, ParserStatus, PipelineStatus } from '../types';
|
|
3
|
+
export type StatusTone = 'success' | 'warning' | 'error' | 'info' | 'neutral';
|
|
4
|
+
/** Fill, border and text of each tone. Add `border` (the width) where the element has none. */
|
|
5
|
+
export declare const STATUS_TONE_CLASSES: Record<StatusTone, string>;
|
|
6
|
+
/** Data sinks: ready, stale (out of date: a warning), failing, refreshing now. */
|
|
7
|
+
export declare const DATA_SINK_STATUS_TONE: Record<DataSinkStatus, StatusTone>;
|
|
8
|
+
/** A data sink's setup: a step someone still has to take is a warning; a workflow that runs is news. */
|
|
9
|
+
export declare const SETUP_STATE_TONE: Record<DataSinkSetupState, StatusTone>;
|
|
10
|
+
export declare const DASHBOARD_STATUS_TONE: Record<DashboardListStatus, StatusTone>;
|
|
11
|
+
export declare const PIPELINE_STATUS_TONE: Record<PipelineStatus, StatusTone>;
|
|
12
|
+
export declare const PARSER_STATUS_TONE: Record<ParserStatus, StatusTone>;
|
|
13
|
+
export declare const WORKFLOW_STATUS_TONE: Record<FluidGridsWorkflowStatus, StatusTone>;
|
|
14
|
+
/** The tone of a status, quiet when the status is not one the map knows (a value the server added later). */
|
|
15
|
+
export declare function statusToneOf(tones: Readonly<Record<string, StatusTone>>, status: string): StatusTone;
|
|
16
|
+
/** The classes of a status: its tone's fill, border and text. */
|
|
17
|
+
export declare function statusToneClasses(tones: Readonly<Record<string, StatusTone>>, status: string): string;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// src/bigconsole/utils/statusTone.ts
|
|
2
|
+
var e = {
|
|
3
|
+
success: "border-[var(--color-status-success-border)] bg-[var(--color-status-success-bgSubtle)] text-[var(--color-status-success-text)]",
|
|
4
|
+
warning: "border-[var(--color-status-warning-border)] bg-[var(--color-status-warning-bgSubtle)] text-[var(--color-status-warning-text)]",
|
|
5
|
+
error: "border-[var(--color-status-error-border)] bg-[var(--color-status-error-bgSubtle)] text-[var(--color-status-error-text)]",
|
|
6
|
+
info: "border-[var(--color-status-info-border)] bg-[var(--color-status-info-bgSubtle)] text-[var(--color-status-info-text)]",
|
|
7
|
+
neutral: "border-[var(--color-border-subtle)] bg-bg-sunken text-text-secondary"
|
|
8
|
+
}, t = {
|
|
9
|
+
ready: "success",
|
|
10
|
+
stale: "warning",
|
|
11
|
+
error: "error",
|
|
12
|
+
refreshing: "info"
|
|
13
|
+
}, n = {
|
|
14
|
+
workflow_pending: "warning",
|
|
15
|
+
workflow_running: "info",
|
|
16
|
+
workflow_completed: "warning",
|
|
17
|
+
configuration_pending: "warning",
|
|
18
|
+
completed: "success"
|
|
19
|
+
}, r = {
|
|
20
|
+
PUBLISHED: "success",
|
|
21
|
+
DRAFT: "neutral",
|
|
22
|
+
ARCHIVED: "neutral"
|
|
23
|
+
}, i = {
|
|
24
|
+
active: "success",
|
|
25
|
+
inactive: "neutral",
|
|
26
|
+
error: "error",
|
|
27
|
+
draft: "neutral"
|
|
28
|
+
}, a = {
|
|
29
|
+
active: "success",
|
|
30
|
+
inactive: "neutral"
|
|
31
|
+
}, o = {
|
|
32
|
+
active: "success",
|
|
33
|
+
paused: "neutral",
|
|
34
|
+
error: "error",
|
|
35
|
+
draft: "neutral",
|
|
36
|
+
archived: "neutral"
|
|
37
|
+
};
|
|
38
|
+
function s(e, t) {
|
|
39
|
+
return Object.entries(e).find(([e]) => e === t)?.[1] ?? "neutral";
|
|
40
|
+
}
|
|
41
|
+
function c(t, n) {
|
|
42
|
+
return e[s(t, n)];
|
|
43
|
+
}
|
|
44
|
+
export { r as DASHBOARD_STATUS_TONE, t as DATA_SINK_STATUS_TONE, a as PARSER_STATUS_TONE, i as PIPELINE_STATUS_TONE, n as SETUP_STATE_TONE, e as STATUS_TONE_CLASSES, o as WORKFLOW_STATUS_TONE, c as statusToneClasses, s as statusToneOf };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/microfe-bigconsole",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.1124.1",
|
|
4
4
|
"description": "BigConsole - AI-powered analytics and dashboard platform",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"@apollo/client": "^4.2.0",
|
|
73
|
-
"@burdenoff/fe-libs": "2026.
|
|
73
|
+
"@burdenoff/fe-libs": "2026.1123.5",
|
|
74
74
|
"@burdenoff/fluidgrids-fe-sdk": "2026.1021.2",
|
|
75
75
|
"@iconify/react": "^6.0.2",
|
|
76
76
|
"@monaco-editor/react": "^4.7.0",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"zustand": "^5.0.3"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
|
-
"@burdenoff/fe-libs": "2026.
|
|
108
|
+
"@burdenoff/fe-libs": "2026.1123.5",
|
|
109
109
|
"@burdenoff/fluidgrids-fe-sdk": "2026.1021.2",
|
|
110
110
|
"@burdenoff/toolchain": "2026.1107.14",
|
|
111
111
|
"@graphql-codegen/add": "7.1.1",
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"postcss": "8.5.29",
|
|
172
172
|
"source-map-js": "1.2.2",
|
|
173
173
|
"@eslint/eslintrc": "3.3.7",
|
|
174
|
-
"@burdenoff/fe-libs": "2026.
|
|
174
|
+
"@burdenoff/fe-libs": "2026.1123.5",
|
|
175
175
|
"glob@^10.0.0": "14.0.4",
|
|
176
176
|
"uuid@^8.0.0": "11.1.1",
|
|
177
177
|
"uuid@^9.0.0": "11.1.1",
|