@camunda/ccma-saas-frontend 0.5.0 → 0.7.0
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/lib/esm/components/c4-charts-dashboard/elements/bar-chart.js +2 -2
- package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.js +1 -1
- package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.js +1 -1
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.d.ts +1 -1
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +24 -1
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.types.d.ts +14 -1
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.d.ts +1 -1
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +24 -9
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +6 -0
- package/lib/esm/components/c4-cluster-overview/cluster-details.d.ts +2 -0
- package/lib/esm/components/c4-cluster-overview/cluster-details.js +10 -1
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.d.ts +1 -1
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.js +4 -2
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.mocks.js +1 -1
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.types.d.ts +4 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.js +15 -5
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.d.ts +12 -1
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.js +9 -3
- package/lib/esm/components/c4-cluster-settings/elements/session-settings.d.ts +13 -0
- package/lib/esm/components/c4-cluster-settings/elements/session-settings.js +69 -0
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.js +19 -1
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.mocks.js +2 -1
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.types.d.ts +1 -0
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.js +12 -0
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.js +7 -2
- package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.d.ts +1 -1
- package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.js +3 -3
- package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.types.d.ts +7 -0
- package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js +15 -8
- package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.types.d.ts +1 -0
- package/lib/esm/components/c4-navigation/c4-navigation.js +17 -9
- package/lib/esm/components/c4-structured-list/c4-structured-list.js +15 -1
- package/lib/esm/components/c4-usage-history/elements/usage-history-charts.d.ts +7 -1
- package/lib/esm/components/c4-usage-history/elements/usage-history-charts.js +2 -2
- package/lib/esm/components/shared-charts/ds-line-chart.js +2 -2
- package/lib/esm/components/shared-charts/recharts-tokens.d.ts +24 -9
- package/lib/esm/components/shared-charts/recharts-tokens.js +40 -13
- package/lib/esm/i18n/en/entities/orgroles.json +26 -0
- package/lib/esm/i18n/en/modals/apiclients.json +4 -1
- package/lib/esm/i18n/en/modals/backups.json +2 -0
- package/lib/esm/i18n/en/pages/clusterdetails.json +3 -2
- package/lib/esm/i18n/en/pages/clusters.json +4 -1
- package/lib/esm/i18n/en/pages/orgmanagement.json +9 -1
- package/lib/esm/runtime/nav/use-webapp-nav-data.d.ts +18 -0
- package/lib/esm/runtime/nav/use-webapp-nav-data.js +39 -15
- package/lib/esm/utils/http-error-message.d.ts +14 -0
- package/lib/esm/utils/http-error-message.js +35 -0
- package/lib/esm/utils/role-labels.d.ts +25 -7
- package/lib/esm/utils/role-labels.js +94 -13
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.d.ts +3 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +159 -34
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +3 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +18 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +5 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.d.ts +2 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.js +16 -3
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.d.ts +19 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +108 -58
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.d.ts +1 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +15 -3
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +3 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +109 -26
- package/lib/esm/widgets/clusters/c4-clusters-page.js +18 -1
- package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +4 -0
- package/lib/esm/widgets/management/c4-management-app.d.ts +1 -1
- package/lib/esm/widgets/management/c4-management-app.js +404 -98
- package/lib/esm/widgets/management/c4-management-app.types.d.ts +2 -0
- package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +21 -0
- package/lib/esm/widgets/management/tabs/c4-management-usage-tab.d.ts +30 -1
- package/lib/esm/widgets/management/tabs/c4-management-usage-tab.js +34 -14
- package/lib/esm/widgets/management/tabs/c4-management-users-tab.d.ts +2 -1
- package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +46 -17
- package/lib/esm/widgets/user-details/c4-user-details-page.d.ts +1 -1
- package/lib/esm/widgets/user-details/c4-user-details-page.js +22 -8
- package/lib/esm/widgets/user-details/c4-user-details-page.types.d.ts +2 -0
- package/package.json +11 -11
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type JSX } from 'react';
|
|
2
2
|
import type { C4DeleteOrganizationModalProps } from './c4-delete-organization-modal.types.js';
|
|
3
|
-
export declare const C4DeleteOrganizationModal: ({ t, open, loading, error, organizationName, onRequestClose, onRequestSubmit, preventCloseOnClickOutside, }: C4DeleteOrganizationModalProps) => JSX.Element;
|
|
3
|
+
export declare const C4DeleteOrganizationModal: ({ t, open, loading, error, errorMessage, organizationName, onRequestClose, onRequestSubmit, preventCloseOnClickOutside, }: C4DeleteOrganizationModalProps) => JSX.Element;
|
|
@@ -25,7 +25,7 @@ function safeTranslate(t, key, fallback, options) {
|
|
|
25
25
|
return fallback;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
export const C4DeleteOrganizationModal = ({ t, open, loading, error, organizationName, onRequestClose, onRequestSubmit, preventCloseOnClickOutside, }) => {
|
|
28
|
+
export const C4DeleteOrganizationModal = ({ t, open, loading, error, errorMessage, organizationName, onRequestClose, onRequestSubmit, preventCloseOnClickOutside, }) => {
|
|
29
29
|
const [confirmText, setConfirmText] = useState('');
|
|
30
30
|
useEffect(() => {
|
|
31
31
|
if (!open) {
|
|
@@ -37,6 +37,6 @@ export const C4DeleteOrganizationModal = ({ t, open, loading, error, organizatio
|
|
|
37
37
|
const secondaryButtonText = safeTranslate(t, 'common:cancel', 'Cancel');
|
|
38
38
|
const message = safeTranslate(t, 'orgmanagement:tabs.settings.orgmanagement.deleteConfirmation', `Are you sure you want to delete "${organizationName}"? The organization and its clusters, Web Modeler files, and other assets will be deleted. This action cannot be undone.`, { organizationName });
|
|
39
39
|
const confirmLabel = safeTranslate(t, 'orgmanagement:tabs.settings.orgmanagement.deleteConfirmLabel', 'Type the word DELETE to confirm');
|
|
40
|
-
const
|
|
41
|
-
return (_jsx(Modal, { modalHeading: modalHeading, open: open, onRequestClose: onRequestClose, onRequestSubmit: onRequestSubmit, primaryButtonText: primaryButtonText, primaryButtonDisabled: loading || confirmText.trim() !== 'DELETE', secondaryButtonText: secondaryButtonText, size: 'sm', danger: true, id: 'delete-organization-modal', preventCloseOnClickOutside: preventCloseOnClickOutside ?? true, children: _jsxs(Stack, { gap: 6, children: [error && (_jsx(C4InlineNotification, { kind: 'error', title: errorMessage, hideCloseButton: true })), _jsx("p", { children: message }), _jsx(TextInput, { id: 'c4-delete-organization-confirmation', labelText: confirmLabel, value: confirmText, onChange: (e) => setConfirmText(e.target.value), disabled: loading })] }) }));
|
|
40
|
+
const genericErrorMessage = safeTranslate(t, 'orgmanagement:tabs.settings.orgmanagement.deleteError', 'Failed to delete organization. Please try again.');
|
|
41
|
+
return (_jsx(Modal, { modalHeading: modalHeading, open: open, onRequestClose: onRequestClose, onRequestSubmit: onRequestSubmit, primaryButtonText: primaryButtonText, primaryButtonDisabled: loading || confirmText.trim() !== 'DELETE', secondaryButtonText: secondaryButtonText, size: 'sm', danger: true, id: 'delete-organization-modal', preventCloseOnClickOutside: preventCloseOnClickOutside ?? true, children: _jsxs(Stack, { gap: 6, children: [error && (_jsx(C4InlineNotification, { kind: 'error', title: errorMessage ?? genericErrorMessage, hideCloseButton: true })), _jsx("p", { children: message }), _jsx(TextInput, { id: 'c4-delete-organization-confirmation', labelText: confirmLabel, value: confirmText, onChange: (e) => setConfirmText(e.target.value), disabled: loading })] }) }));
|
|
42
42
|
};
|
package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.types.d.ts
CHANGED
|
@@ -3,6 +3,13 @@ export interface C4DeleteOrganizationModalProps {
|
|
|
3
3
|
open: boolean;
|
|
4
4
|
loading: boolean;
|
|
5
5
|
error?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Reason the deletion failed, shown instead of the generic retry copy.
|
|
8
|
+
* The backend rejects a delete for preconditions the user can act on (org
|
|
9
|
+
* is the user's only org, an SSO connection still names it as its default
|
|
10
|
+
* org), and "please try again" is wrong advice for all of them.
|
|
11
|
+
*/
|
|
12
|
+
errorMessage?: string;
|
|
6
13
|
organizationName: string;
|
|
7
14
|
onRequestClose: () => void;
|
|
8
15
|
onRequestSubmit: () => void | Promise<void>;
|
|
@@ -7,7 +7,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
7
7
|
import { OrganizationRole } from '@camunda/ccma-shared-types';
|
|
8
8
|
import { forwardRef, useCallback, useImperativeHandle, useMemo, useState, } from 'react';
|
|
9
9
|
import { Checkbox, Link, Modal, Stack, TextInput } from '../../ui/index.js';
|
|
10
|
-
import {
|
|
10
|
+
import { legacySectionRoles, orderPrimaryRoles, roleLabelDescription, } from '../../utils/role-labels.js';
|
|
11
11
|
import { C4InlineNotification } from '../c4-inline-notification/c4-inline-notification.js';
|
|
12
12
|
function safeTranslate(t, key, defaultValue, options) {
|
|
13
13
|
if (!t)
|
|
@@ -24,7 +24,7 @@ function isValidEmail(email) {
|
|
|
24
24
|
// Intentionally simple: enough for UI validation without being overly strict.
|
|
25
25
|
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/u.test(email);
|
|
26
26
|
}
|
|
27
|
-
export const C4InviteUserToOrganizationModal = forwardRef(({ t, onInviteUser, showAdminRole = true, showLegacyClusterRoles = false, learnMoreUrl = 'https://docs.camunda.io/', telemetry, }, ref) => {
|
|
27
|
+
export const C4InviteUserToOrganizationModal = forwardRef(({ t, onInviteUser, showAdminRole = true, showLegacyClusterRoles = false, permissionsReworkEnabled = false, learnMoreUrl = 'https://docs.camunda.io/', telemetry, }, ref) => {
|
|
28
28
|
const [isOpen, setIsOpen] = useState(false);
|
|
29
29
|
const [orgId, setOrgId] = useState('');
|
|
30
30
|
const [inviteEmail, setInviteEmail] = useState('');
|
|
@@ -121,19 +121,24 @@ export const C4InviteUserToOrganizationModal = forwardRef(({ t, onInviteUser, sh
|
|
|
121
121
|
if (showAdminRole) {
|
|
122
122
|
roles.push(OrganizationRole.ADMIN);
|
|
123
123
|
}
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
if (permissionsReworkEnabled) {
|
|
125
|
+
roles.push(OrganizationRole.OPERATIONS_ENGINEER);
|
|
126
|
+
}
|
|
127
|
+
return orderPrimaryRoles(roles, permissionsReworkEnabled);
|
|
128
|
+
}, [showAdminRole, permissionsReworkEnabled]);
|
|
126
129
|
const legacyClusterRoles = useMemo(() => {
|
|
127
130
|
if (!showLegacyClusterRoles) {
|
|
128
131
|
return [];
|
|
129
132
|
}
|
|
130
|
-
return
|
|
131
|
-
}, [showLegacyClusterRoles]);
|
|
133
|
+
return legacySectionRoles(permissionsReworkEnabled);
|
|
134
|
+
}, [showLegacyClusterRoles, permissionsReworkEnabled]);
|
|
132
135
|
return (_jsx(Modal, { open: isOpen, modalHeading: modalHeading, primaryButtonText: safeTranslate(t, 'invitations:invite.buttons.primary', 'Send invite'), secondaryButtonText: safeTranslate(t, 'orgmanagement:common.cancel', 'Cancel'), primaryButtonDisabled: inviteSaving, onRequestClose: close, onRequestSubmit: onSubmit, children: _jsxs(Stack, { gap: 5, children: [_jsx(TextInput, { id: 'c4-invite-email', labelText: safeTranslate(t, 'invitations:invite.form.email', 'Email address'), value: inviteEmail, onChange: (e) => {
|
|
133
136
|
setInviteError(undefined);
|
|
134
137
|
setInviteEmail(e.currentTarget.value);
|
|
135
138
|
}, disabled: inviteSaving, invalid: Boolean(inviteError), invalidText: inviteError }), rolesError && (_jsx(C4InlineNotification, { lowContrast: true, kind: 'error', title: '', subtitle: rolesError })), _jsxs("fieldset", { className: 'cds--fieldset', children: [_jsx("legend", { className: 'cds--label', children: safeTranslate(t, 'invitations:invite.form.roles', 'Select role(s) to the platform') }), primaryRoles.map((role) => {
|
|
136
|
-
const enriched = roleLabelDescription(t, role
|
|
139
|
+
const enriched = roleLabelDescription(t, role, {
|
|
140
|
+
permissionsReworkEnabled,
|
|
141
|
+
});
|
|
137
142
|
return (_jsxs("span", { children: [_jsx(Checkbox, { labelText: enriched.label, id: `c4-invite-role-${role}`, checked: inviteRoles.has(role), disabled: inviteSaving, onChange: (_, data) => {
|
|
138
143
|
setRolesError(undefined);
|
|
139
144
|
setInviteRoles((current) => {
|
|
@@ -153,7 +158,9 @@ export const C4InviteUserToOrganizationModal = forwardRef(({ t, onInviteUser, sh
|
|
|
153
158
|
fontSize: 'var(--cds-label-01-font-size, 0.75rem)',
|
|
154
159
|
marginBlockEnd: '0.5rem',
|
|
155
160
|
}, children: safeTranslate(t, 'invitations:invite.form.moreRoles', 'Select additional role(s) to clusters on version 8.7 or older') }), legacyClusterRoles.map((role) => {
|
|
156
|
-
const enriched = roleLabelDescription(t, role
|
|
161
|
+
const enriched = roleLabelDescription(t, role, {
|
|
162
|
+
permissionsReworkEnabled,
|
|
163
|
+
});
|
|
157
164
|
return (_jsxs("span", { children: [_jsx(Checkbox, { labelText: enriched.label, id: `c4-invite-role-${role}`, checked: inviteRoles.has(role), disabled: inviteSaving, onChange: (_, data) => {
|
|
158
165
|
setRolesError(undefined);
|
|
159
166
|
setInviteRoles((current) => {
|
|
@@ -13,6 +13,7 @@ export interface C4InviteUserToOrganizationModalProps {
|
|
|
13
13
|
t?: (key: string, options?: Record<string, unknown>) => string;
|
|
14
14
|
showAdminRole?: boolean;
|
|
15
15
|
showLegacyClusterRoles?: boolean;
|
|
16
|
+
permissionsReworkEnabled?: boolean;
|
|
16
17
|
learnMoreUrl?: string;
|
|
17
18
|
telemetry?: {
|
|
18
19
|
track?: (eventName: string, data?: Record<string, unknown>) => void;
|
|
@@ -5,7 +5,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
5
5
|
* You may not use this file except in compliance with the commercial license.
|
|
6
6
|
*/
|
|
7
7
|
import { C3Navigation, useC3HelpCenter, useC3Profile, } from '@camunda/camunda-composite-components';
|
|
8
|
-
import { AppHeader, AppSidebar, Badge, Button, DropdownMenuItem, NavBreadcrumb, NavBreadcrumbItem, SidebarProvider, TooltipProvider, UserMenu, } from '@camunda/design-system';
|
|
8
|
+
import { AppHeader, AppSidebar, Badge, Button, CamundaLogo, DropdownMenuItem, NavBreadcrumb, NavBreadcrumbItem, SidebarProvider, TooltipProvider, UserMenu, } from '@camunda/design-system';
|
|
9
9
|
import { Activity, BarChart3, HelpCircle, LayoutDashboard, ListChecks, Moon, Sun, Workflow, } from 'lucide-react';
|
|
10
10
|
import { useEffect, useRef, useState } from 'react';
|
|
11
11
|
import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
|
|
@@ -19,9 +19,10 @@ import { C4HelpCenter, FEEDBACK_TAB_ID, } from '../c4-help-center/c4-help-center
|
|
|
19
19
|
*
|
|
20
20
|
* ds shell: AppSidebar (Camunda apps; cluster-scoped apps grouped with one
|
|
21
21
|
* child per cluster linking to that cluster's app endpoint) + AppHeader (a
|
|
22
|
-
* clickable
|
|
23
|
-
* switcher, and a UserMenu). Notifications and Help
|
|
24
|
-
* widgets are produced inside c3, not exposed in
|
|
22
|
+
* clickable Camunda logomark → dashboard next to the app name, a NavBreadcrumb
|
|
23
|
+
* Organization/Cluster context switcher, and a UserMenu). Notifications and Help
|
|
24
|
+
* are deferred (their data / widgets are produced inside c3, not exposed in
|
|
25
|
+
* these props).
|
|
25
26
|
*/
|
|
26
27
|
// C3 routeProps is opaque (`any`); navigate via the embedded mobx-router.
|
|
27
28
|
const navigate = (routeProps) => {
|
|
@@ -133,15 +134,22 @@ export const C4Navigation = (props) => {
|
|
|
133
134
|
const manageOrg = props.orgSideBar?.manageOrg;
|
|
134
135
|
const clustersElement = props.navbar?.elements?.find((e) => e.key === 'clusters');
|
|
135
136
|
const onConsoleClick = () => navigate(props.app?.routeProps);
|
|
136
|
-
|
|
137
|
+
// DS >= 0.46 centers `logo` in a `sidebarCollapsedWidth`-wide box (3.5rem) so
|
|
138
|
+
// the mark lines up with the collapsed rail's icons, and the header no longer
|
|
139
|
+
// pads its left edge. Only the logomark fits there — the app name used to be
|
|
140
|
+
// the `logo` itself and overflowed the box, clipping off the left of the
|
|
141
|
+
// viewport. It now rides beside the box as `appName`, and the mark keeps the
|
|
142
|
+
// click-to-dashboard affordance.
|
|
143
|
+
const appName = props.app?.name ?? 'Console';
|
|
144
|
+
const logoButton = (_jsx("button", { type: 'button', onClick: onConsoleClick, "aria-label": props.app?.ariaLabel ?? appName, style: {
|
|
137
145
|
background: 'none',
|
|
138
146
|
border: 0,
|
|
139
147
|
padding: 0,
|
|
140
148
|
cursor: 'pointer',
|
|
141
|
-
|
|
142
|
-
|
|
149
|
+
display: 'flex',
|
|
150
|
+
alignItems: 'center',
|
|
143
151
|
color: 'inherit',
|
|
144
|
-
}, children:
|
|
152
|
+
}, children: _jsx(CamundaLogo, { className: 'size-6' }) }));
|
|
145
153
|
const breadcrumb = (_jsxs(NavBreadcrumb, { "aria-label": 'Navigation', children: [_jsx(NavBreadcrumbItem, { label: activeOrg?.name ?? 'Organization', switchLabel: 'Switch organization', onClick: activeOrg && manageOrg ? () => manageOrg(activeOrg.uuid) : undefined, children: orgs && orgs.length > 0 && switchToOrg
|
|
146
154
|
? orgs.map((org) => (_jsx(DropdownMenuItem, { onClick: () => switchToOrg(org.uuid), children: org.name }, org.uuid)))
|
|
147
155
|
: undefined }), _jsx(NavBreadcrumbItem, { label: 'Clusters', switchLabel: 'Switch cluster', onClick: clustersElement
|
|
@@ -168,7 +176,7 @@ export const C4Navigation = (props) => {
|
|
|
168
176
|
const isDark = resolvedTheme === 'dark';
|
|
169
177
|
const themeToggle = (_jsx(Button, { variant: 'ghost', size: 'icon', type: 'button', "aria-label": isDark ? 'Switch to light theme' : 'Switch to dark theme', onClick: () => onThemeChange(isDark ? 'light' : 'dark'), children: isDark ? (_jsx(Sun, { "aria-hidden": true, className: 'size-4' })) : (_jsx(Moon, { "aria-hidden": true, className: 'size-4' })) }));
|
|
170
178
|
const trailing = (_jsxs(_Fragment, { children: [themeToggle, helpControl, renderUserMenu(props)] }));
|
|
171
|
-
return (_jsx(TooltipProvider, { delayDuration: 0, children: _jsx(SidebarProvider, { children: _jsxs("div", { className: 'min-h-screen bg-background text-neutral-foreground-strong', children: [_jsx(AppHeader, { skipToContentTargetId: 'main-content', logo:
|
|
179
|
+
return (_jsx(TooltipProvider, { delayDuration: 0, children: _jsx(SidebarProvider, { children: _jsxs("div", { className: 'min-h-screen bg-background text-neutral-foreground-strong', children: [_jsx(AppHeader, { skipToContentTargetId: 'main-content', logo: logoButton, appName: appName, breadcrumb: breadcrumb, trailing: trailing, children: tagBadges }), _jsx(AppSidebar, { ariaLabel: 'Camunda apps', items: appItems }), _jsx("main", { id: 'main-content', tabIndex: -1, style: { marginLeft: 'var(--app-sidebar-width, 16rem)' }, children: children }), _jsx(C4HelpCenter, { open: isHelpCenterOpen, onOpenChange: (open) => {
|
|
172
180
|
if (!open)
|
|
173
181
|
setIsHelpCenterOpen(false);
|
|
174
182
|
}, data: helpCenterData, isLoading: helpCenterLoading, helpLinks: helpLinks, onSubmitFeedback: props.onSubmitFeedback, feedbackEnterprise: props.feedbackEnterprise, initialTabId: showTabId === 'feedback' ? FEEDBACK_TAB_ID : undefined })] }) }) }));
|
|
@@ -61,7 +61,21 @@ export function C4StructuredListCell(props) {
|
|
|
61
61
|
// (only `bottom`/`baseline` would drop it out). Call sites that need
|
|
62
62
|
// top-alignment (e.g. the multi-line description editor) pass `verticalAlign`
|
|
63
63
|
// via `style`, which wins over this default.
|
|
64
|
-
|
|
64
|
+
//
|
|
65
|
+
// Carbon's `noWrap` prop was silently dropped here, so a label cell that
|
|
66
|
+
// asked for it (e.g. the client-credentials "Cluster URL"/"Client Id" rows)
|
|
67
|
+
// fell back to the app-wide DS table-cell rule in `c4-ui.css`
|
|
68
|
+
// (`white-space: normal; overflow-wrap: anywhere`, added for DataTable long
|
|
69
|
+
// content). With no minimum content width to hold it up, the browser's table
|
|
70
|
+
// layout shrank the label column far below its `width` hint whenever the
|
|
71
|
+
// sibling value cell wanted more space, and the label text hard-wrapped one
|
|
72
|
+
// character per line. Re-assert `nowrap` inline (it beats that attribute
|
|
73
|
+
// selector on specificity) to match Carbon's rendering.
|
|
74
|
+
const style = {
|
|
75
|
+
verticalAlign: 'middle',
|
|
76
|
+
...(props.noWrap && { whiteSpace: 'nowrap', overflowWrap: 'normal' }),
|
|
77
|
+
...props.style,
|
|
78
|
+
};
|
|
65
79
|
// A `head` cell is the row label (Carbon's bold left column) → row-scoped th.
|
|
66
80
|
return props.head ? (_jsx(TableHead, { scope: 'row', style: style, children: props.children })) : (_jsx(TableCell, { style: style, children: props.children }));
|
|
67
81
|
}
|
|
@@ -30,6 +30,12 @@ export interface UsageHistoryChartsProps {
|
|
|
30
30
|
pi: LineChartConfig;
|
|
31
31
|
di?: LineChartConfig;
|
|
32
32
|
tu?: LineChartConfig;
|
|
33
|
+
/**
|
|
34
|
+
* Daily active tenants for the org. Set only when the host has enabled the
|
|
35
|
+
* tenants value metric (a staged feature flag) *and* the org is on the 2025
|
|
36
|
+
* licensing model — so treat it as optional even for a 2025 org.
|
|
37
|
+
*/
|
|
38
|
+
tenants?: LineChartConfig;
|
|
33
39
|
}
|
|
34
|
-
export declare const UsageHistoryCharts: ({ pi, di, tu, }: UsageHistoryChartsProps) => JSX.Element;
|
|
40
|
+
export declare const UsageHistoryCharts: ({ pi, di, tu, tenants, }: UsageHistoryChartsProps) => JSX.Element;
|
|
35
41
|
export declare const ValueMetricsLineChart: import("react").MemoExoticComponent<({ axes, dataPoints, title, theme, thresholds, toolbar, zoomBar, height, }: LineChartConfig) => JSX.Element>;
|
|
@@ -9,8 +9,8 @@ import { memo } from 'react';
|
|
|
9
9
|
import { useC4DesignSystem } from '../../../runtime/c4-console-runtime-context.js';
|
|
10
10
|
import { Stack } from '../../../ui/index.js';
|
|
11
11
|
import { DsLineChart } from '../../shared-charts/ds-line-chart.js';
|
|
12
|
-
export const UsageHistoryCharts = ({ pi, di, tu, }) => {
|
|
13
|
-
const component = (_jsxs(Stack, { gap: 4, children: [_jsx(ValueMetricsLineChart, { ...pi }), di && _jsx(ValueMetricsLineChart, { ...di }), tu && _jsx(ValueMetricsLineChart, { ...tu })] }));
|
|
12
|
+
export const UsageHistoryCharts = ({ pi, di, tu, tenants, }) => {
|
|
13
|
+
const component = (_jsxs(Stack, { gap: 4, children: [_jsx(ValueMetricsLineChart, { ...pi }), tenants && _jsx(ValueMetricsLineChart, { ...tenants }), di && _jsx(ValueMetricsLineChart, { ...di }), tu && _jsx(ValueMetricsLineChart, { ...tu })] }));
|
|
14
14
|
return component;
|
|
15
15
|
};
|
|
16
16
|
// Memoized: the Carbon LineChart re-initializes its underlying D3 chart whenever
|
|
@@ -6,7 +6,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
6
6
|
*/
|
|
7
7
|
import { LineChart } from '@camunda/design-system';
|
|
8
8
|
import { useMemo } from 'react';
|
|
9
|
-
import {
|
|
9
|
+
import { getDsSeriesToken } from './recharts-tokens.js';
|
|
10
10
|
function formatDate(value) {
|
|
11
11
|
const date = new Date(String(value));
|
|
12
12
|
return Number.isNaN(date.getTime())
|
|
@@ -40,7 +40,7 @@ export function DsLineChart({ title, dataPoints, thresholds, height = 400, }) {
|
|
|
40
40
|
const { rows, groups } = useMemo(() => pivotByDate(dataPoints), [dataPoints]);
|
|
41
41
|
const config = useMemo(() => Object.fromEntries(groups.map((group, index) => [
|
|
42
42
|
group,
|
|
43
|
-
{ label: group, color:
|
|
43
|
+
{ label: group, color: getDsSeriesToken(index) },
|
|
44
44
|
])), [groups]);
|
|
45
45
|
const referenceLines = thresholds?.map((threshold) => ({
|
|
46
46
|
value: threshold.value,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ChartSeriesColor } from '@camunda/design-system';
|
|
1
2
|
import type { TooltipProps } from 'recharts';
|
|
2
3
|
/**
|
|
3
4
|
* Design-system chart tokens for recharts (ds mode only).
|
|
@@ -12,17 +13,31 @@ import type { TooltipProps } from 'recharts';
|
|
|
12
13
|
* Categorical series palette.
|
|
13
14
|
*
|
|
14
15
|
* The first five entries reference `@camunda/design-system`'s theme-aware
|
|
15
|
-
* `--chart-*` CSS custom properties
|
|
16
|
-
* `
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
16
|
+
* `--chart-*` CSS custom properties. DS 0.40 renamed these from numbered
|
|
17
|
+
* (`--chart-1..5`) to named hues and now ships ten of them; these five are the
|
|
18
|
+
* first of the DS's own categorical order. Charts can render more than five
|
|
19
|
+
* series at once — the Usage tab caps at a top-12 clusters + "Other" — so the
|
|
20
|
+
* palette is extended with plain colour literals for indices beyond five. These
|
|
21
|
+
* are safe to add here (unlike Tailwind-looking classNames, plain colour values
|
|
22
|
+
* need no matching entry in the shipped design-system stylesheet) and are
|
|
23
|
+
* mid-tone hues chosen to read on both light and dark chart surfaces. Keep the
|
|
24
|
+
* total at or above the chart cap so `getDsSeriesColor` only wraps for
|
|
25
|
+
* pathological group counts.
|
|
23
26
|
*/
|
|
24
|
-
export declare const DS_CHART_CATEGORICAL_COLORS: readonly ["var(--chart-
|
|
27
|
+
export declare const DS_CHART_CATEGORICAL_COLORS: readonly ["var(--chart-sky)", "var(--chart-teal)", "var(--chart-orange)", "var(--chart-purple)", "var(--chart-pink)", "#8b5cf6", "#ec4899", "#22c55e", "#3b82f6", "#ef4444", "#06b6d4", "#6366f1", "#84cc16", "#a16207"];
|
|
25
28
|
export declare function getDsSeriesColor(index: number): string;
|
|
29
|
+
/**
|
|
30
|
+
* The same palette as design-system chart token *names*, for the DS chart
|
|
31
|
+
* components (`ChartConfig.color`) rather than raw recharts props.
|
|
32
|
+
*
|
|
33
|
+
* DS 0.40 narrowed `ChartConfig.color` from an arbitrary CSS string to this
|
|
34
|
+
* token union, which DS expands to `var(--<name>)` itself — so the colour
|
|
35
|
+
* literals above are not usable there. This is the DS's full categorical order
|
|
36
|
+
* (ten hues, the first five shared with `DS_CHART_CATEGORICAL_COLORS`), so DS
|
|
37
|
+
* charts and raw-recharts charts agree for the common ≤5-series case.
|
|
38
|
+
*/
|
|
39
|
+
export declare const DS_CHART_SERIES_TOKENS: readonly ["chart-sky", "chart-teal", "chart-orange", "chart-purple", "chart-pink", "chart-blue", "chart-cyan", "chart-fuchsia", "chart-lime", "chart-indigo"];
|
|
40
|
+
export declare function getDsSeriesToken(index: number): ChartSeriesColor;
|
|
26
41
|
export declare const DS_CHART_GRID_COLOR = "var(--neutral-border-subtle)";
|
|
27
42
|
export declare const DS_CHART_AXIS_COLOR = "var(--neutral-foreground-subtle)";
|
|
28
43
|
/** Semantic status colors, for range/threshold-driven charts (meters, gauges). */
|
|
@@ -16,21 +16,23 @@
|
|
|
16
16
|
* Categorical series palette.
|
|
17
17
|
*
|
|
18
18
|
* The first five entries reference `@camunda/design-system`'s theme-aware
|
|
19
|
-
* `--chart-*` CSS custom properties
|
|
20
|
-
* `
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
19
|
+
* `--chart-*` CSS custom properties. DS 0.40 renamed these from numbered
|
|
20
|
+
* (`--chart-1..5`) to named hues and now ships ten of them; these five are the
|
|
21
|
+
* first of the DS's own categorical order. Charts can render more than five
|
|
22
|
+
* series at once — the Usage tab caps at a top-12 clusters + "Other" — so the
|
|
23
|
+
* palette is extended with plain colour literals for indices beyond five. These
|
|
24
|
+
* are safe to add here (unlike Tailwind-looking classNames, plain colour values
|
|
25
|
+
* need no matching entry in the shipped design-system stylesheet) and are
|
|
26
|
+
* mid-tone hues chosen to read on both light and dark chart surfaces. Keep the
|
|
27
|
+
* total at or above the chart cap so `getDsSeriesColor` only wraps for
|
|
28
|
+
* pathological group counts.
|
|
27
29
|
*/
|
|
28
30
|
export const DS_CHART_CATEGORICAL_COLORS = [
|
|
29
|
-
'var(--chart-
|
|
30
|
-
'var(--chart-
|
|
31
|
-
'var(--chart-
|
|
32
|
-
'var(--chart-
|
|
33
|
-
'var(--chart-
|
|
31
|
+
'var(--chart-sky)',
|
|
32
|
+
'var(--chart-teal)',
|
|
33
|
+
'var(--chart-orange)',
|
|
34
|
+
'var(--chart-purple)',
|
|
35
|
+
'var(--chart-pink)',
|
|
34
36
|
'#8b5cf6', // violet
|
|
35
37
|
'#ec4899', // pink
|
|
36
38
|
'#22c55e', // green
|
|
@@ -44,6 +46,31 @@ export const DS_CHART_CATEGORICAL_COLORS = [
|
|
|
44
46
|
export function getDsSeriesColor(index) {
|
|
45
47
|
return DS_CHART_CATEGORICAL_COLORS[index % DS_CHART_CATEGORICAL_COLORS.length];
|
|
46
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* The same palette as design-system chart token *names*, for the DS chart
|
|
51
|
+
* components (`ChartConfig.color`) rather than raw recharts props.
|
|
52
|
+
*
|
|
53
|
+
* DS 0.40 narrowed `ChartConfig.color` from an arbitrary CSS string to this
|
|
54
|
+
* token union, which DS expands to `var(--<name>)` itself — so the colour
|
|
55
|
+
* literals above are not usable there. This is the DS's full categorical order
|
|
56
|
+
* (ten hues, the first five shared with `DS_CHART_CATEGORICAL_COLORS`), so DS
|
|
57
|
+
* charts and raw-recharts charts agree for the common ≤5-series case.
|
|
58
|
+
*/
|
|
59
|
+
export const DS_CHART_SERIES_TOKENS = [
|
|
60
|
+
'chart-sky',
|
|
61
|
+
'chart-teal',
|
|
62
|
+
'chart-orange',
|
|
63
|
+
'chart-purple',
|
|
64
|
+
'chart-pink',
|
|
65
|
+
'chart-blue',
|
|
66
|
+
'chart-cyan',
|
|
67
|
+
'chart-fuchsia',
|
|
68
|
+
'chart-lime',
|
|
69
|
+
'chart-indigo',
|
|
70
|
+
];
|
|
71
|
+
export function getDsSeriesToken(index) {
|
|
72
|
+
return DS_CHART_SERIES_TOKENS[index % DS_CHART_SERIES_TOKENS.length];
|
|
73
|
+
}
|
|
47
74
|
export const DS_CHART_GRID_COLOR = 'var(--neutral-border-subtle)';
|
|
48
75
|
export const DS_CHART_AXIS_COLOR = 'var(--neutral-foreground-subtle)';
|
|
49
76
|
/** Semantic status colors, for range/threshold-driven charts (meters, gauges). */
|
|
@@ -41,6 +41,32 @@
|
|
|
41
41
|
"label": "Analyst",
|
|
42
42
|
"description": "Includes Modeler permissions and has full access to Optimize to build process dashboards and reports."
|
|
43
43
|
},
|
|
44
|
+
"aligned": {
|
|
45
|
+
"owner": {
|
|
46
|
+
"label": "Org Owner",
|
|
47
|
+
"description": "All rights in the organization, including settings, billing, and ownership transfer. Formerly the Owner role."
|
|
48
|
+
},
|
|
49
|
+
"admin": {
|
|
50
|
+
"label": "Org Admin",
|
|
51
|
+
"description": "Manages the organization, its members, and workspaces, and acts as the super-user. Formerly the Admin role."
|
|
52
|
+
},
|
|
53
|
+
"member": {
|
|
54
|
+
"label": "Console Member",
|
|
55
|
+
"description": "Full access to clusters. A legacy role from before 8.8, kept only for the users who already hold it. Formerly the Member role, renamed to distinguish it from the current Member role."
|
|
56
|
+
},
|
|
57
|
+
"modeler": {
|
|
58
|
+
"label": "Member",
|
|
59
|
+
"description": "Full modeling access, the ability to create workspaces and projects, and organization view access. Formerly the Modeler role."
|
|
60
|
+
},
|
|
61
|
+
"operationsengineer": {
|
|
62
|
+
"label": "DevOps",
|
|
63
|
+
"description": "Infrastructure management (clusters, cluster clients, connector secrets, and connectivity) plus Member-level modeling. No member, billing, or organization settings management. Formerly the Operations Engineer role."
|
|
64
|
+
},
|
|
65
|
+
"analyst": {
|
|
66
|
+
"label": "Analyst",
|
|
67
|
+
"description": "Includes Member permissions and adds full access to Optimize to build process dashboards and reports. Optimize access is granted by the Analyst role; access to specific dashboards and reports is governed separately by Optimize collection roles."
|
|
68
|
+
}
|
|
69
|
+
},
|
|
44
70
|
"oldDescriptions": {
|
|
45
71
|
"owner": {
|
|
46
72
|
"label": "Owner",
|
|
@@ -73,7 +73,10 @@
|
|
|
73
73
|
"create": "Create",
|
|
74
74
|
"delete": "Delete",
|
|
75
75
|
"get": "Get",
|
|
76
|
-
"update": "Update"
|
|
76
|
+
"update": "Update",
|
|
77
|
+
"getSchedule": "Get schedule",
|
|
78
|
+
"updateSchedule": "Create + update schedule",
|
|
79
|
+
"deleteSchedule": "Delete schedule"
|
|
77
80
|
},
|
|
78
81
|
"activity": {
|
|
79
82
|
"label": "Activity Logs",
|
|
@@ -46,6 +46,8 @@
|
|
|
46
46
|
"label": "Enter a start time."
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
+
"15min": "Create a backup every 15 minutes",
|
|
50
|
+
"30min": "Create a backup every 30 minutes",
|
|
49
51
|
"hourly": "Create a backup every hour starting at",
|
|
50
52
|
"daily": "Create a backup every day at",
|
|
51
53
|
"weekly": "Create a backup on specified days at"
|
|
@@ -354,6 +354,7 @@
|
|
|
354
354
|
"status": {
|
|
355
355
|
"label": "Status",
|
|
356
356
|
"wakeLabel": "Resume cluster",
|
|
357
|
+
"wakeDisabledFailoverSource": "This cluster was failed over and can no longer be resumed.",
|
|
357
358
|
"sleepLabel": "Suspend cluster (internal)",
|
|
358
359
|
"waitingForInputTooltip": "Waiting for external encryption to be configured",
|
|
359
360
|
"wakeError": {
|
|
@@ -584,7 +585,7 @@
|
|
|
584
585
|
"lowLatency": {
|
|
585
586
|
"title": "Low latency updates",
|
|
586
587
|
"warning": "This setting is not recommended for production environments, as it might reduce individual process instance latency but can slow down general throughput.",
|
|
587
|
-
"description": "When enabled, updates and changes in Modeler
|
|
588
|
+
"description": "When enabled, updates and changes in Modeler Test mode, Operate and Tasklist are applied quicker, which is ideal for testing purposes.",
|
|
588
589
|
"action": {
|
|
589
590
|
"enabled": "Disable low latency for this cluster",
|
|
590
591
|
"disabled": "Enable low latency for this cluster"
|
|
@@ -649,7 +650,7 @@
|
|
|
649
650
|
}
|
|
650
651
|
},
|
|
651
652
|
"appIntegrations": {
|
|
652
|
-
"title": "Enable
|
|
653
|
+
"title": "Enable app integrations extensions",
|
|
653
654
|
"description": "When enabled, this cluster exchanges events with App Integrations such as",
|
|
654
655
|
"msTeamsLinkText": "Microsoft Teams",
|
|
655
656
|
"descriptionDisabled": "When disabled, you can still use App Integrations, but they work with reduced functionality."
|
|
@@ -33,7 +33,10 @@
|
|
|
33
33
|
"rename": "Rename",
|
|
34
34
|
"delete": "Delete",
|
|
35
35
|
"resume": "Resume",
|
|
36
|
-
"
|
|
36
|
+
"resumeUnavailableFailoverSource": "Resume (unavailable — this cluster was failed over)",
|
|
37
|
+
"failover": "Failover",
|
|
38
|
+
"failoverSyncPending": "Failover (unavailable until backup data is synced to the secondary region)",
|
|
39
|
+
"failoverAlreadyFailedOver": "Failover (unavailable — this cluster was already failed over)"
|
|
37
40
|
}
|
|
38
41
|
},
|
|
39
42
|
"details": {
|
|
@@ -312,12 +312,17 @@
|
|
|
312
312
|
"processInstances": "Process instances",
|
|
313
313
|
"decisionInstances": "Decision instances",
|
|
314
314
|
"taskUsers": "Task users",
|
|
315
|
+
"tenants": "Tenants",
|
|
315
316
|
"generalUsers": "General users",
|
|
316
317
|
"deployedModels": "Deployed models",
|
|
317
318
|
"actions": {
|
|
318
319
|
"editReservations": "Edit",
|
|
319
320
|
"editGeneralUsers": "Edit"
|
|
320
321
|
},
|
|
322
|
+
"errors": {
|
|
323
|
+
"forbidden": "You do not have permission to view usage data for this organization. An organization owner or admin can see it.",
|
|
324
|
+
"default": "Usage data could not be loaded. Try again in a moment."
|
|
325
|
+
},
|
|
321
326
|
"table": {
|
|
322
327
|
"type": "Type",
|
|
323
328
|
"currentUsage": "Current usage",
|
|
@@ -432,7 +437,10 @@
|
|
|
432
437
|
"updateEncryption": "Update encryption",
|
|
433
438
|
"rotate": "Rotate Password",
|
|
434
439
|
"activate": "Activate",
|
|
435
|
-
"deactivate": "Deactivate"
|
|
440
|
+
"deactivate": "Deactivate",
|
|
441
|
+
"getSchedule": "Get schedule",
|
|
442
|
+
"updateSchedule": "Create + update schedule",
|
|
443
|
+
"deleteSchedule": "Delete schedule"
|
|
436
444
|
},
|
|
437
445
|
"description": "Client credentials can be used to request an OAuth access token. See the <0>Administration API Reference (REST)</0> documentation for details on how to retrieve an access token.",
|
|
438
446
|
"noClients": {
|
|
@@ -25,6 +25,14 @@ export interface UseC4ClusterNavEntriesOptions {
|
|
|
25
25
|
appTeaserHrefs?: Partial<Record<CamundaWebApp, string>>;
|
|
26
26
|
/** Consumer label overrides, keyed by resolved alias. */
|
|
27
27
|
appLabels?: Partial<Record<CamundaWebApp, string>>;
|
|
28
|
+
/**
|
|
29
|
+
* When `false`, the hook is fully idle: it fetches nothing, reads (and so
|
|
30
|
+
* subscribes to) nothing in the data store, and returns an empty array. Use
|
|
31
|
+
* this to prevent unauthenticated requests when mounting above the auth
|
|
32
|
+
* boundary — a truthy `orgId` is not the same precondition as having a
|
|
33
|
+
* session. Defaults to `true`.
|
|
34
|
+
*/
|
|
35
|
+
enabled?: boolean;
|
|
28
36
|
}
|
|
29
37
|
/**
|
|
30
38
|
* Headless equivalent of c3's `useClusterSidebarEntries`. Reads the org's
|
|
@@ -33,6 +41,8 @@ export interface UseC4ClusterNavEntriesOptions {
|
|
|
33
41
|
* presentational navigation library maps `app` to its own icon and renders the
|
|
34
42
|
* rows. Returns `[]` while data is loading or nothing is renderable.
|
|
35
43
|
*
|
|
44
|
+
* Pass `enabled: false` to keep it idle when mounted above authentication.
|
|
45
|
+
*
|
|
36
46
|
* Requires `C4ConsoleRuntimeProvider` + `C4ConsoleDataProvider`.
|
|
37
47
|
*/
|
|
38
48
|
export declare function useC4ClusterNavEntries(orgId: string, options?: UseC4ClusterNavEntriesOptions): C4ClusterNavEntry[];
|
|
@@ -62,6 +72,14 @@ export interface UseC4WebappBreadcrumbDataOptions {
|
|
|
62
72
|
* (`webappLinks.modeler`). Falls back to `runtime.publicUrls.modelerBaseUrl`.
|
|
63
73
|
*/
|
|
64
74
|
webappLinks?: Partial<Record<CamundaWebApp, string>>;
|
|
75
|
+
/**
|
|
76
|
+
* When `false`, the hook is fully idle: it fetches nothing, reads (and so
|
|
77
|
+
* subscribes to) nothing in the data store, and returns an empty array. Use
|
|
78
|
+
* this to prevent unauthenticated requests when mounting above the auth
|
|
79
|
+
* boundary — e.g. `enabled={isAuthenticated && Boolean(orgId)}`. Defaults to
|
|
80
|
+
* `true`.
|
|
81
|
+
*/
|
|
82
|
+
enabled?: boolean;
|
|
65
83
|
}
|
|
66
84
|
/**
|
|
67
85
|
* Headless equivalent of c3's `useClusterWebappBreadcrumbs`. Builds the
|