@camunda/ccma-saas-frontend 0.6.0 → 0.7.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/lib/esm/components/c4-billing-page/elements/value-metric.js +2 -4
- package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.js +24 -10
- package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js +6 -2
- 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 +17 -7
- 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 +21 -3
- 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-cluster/c4-create-cluster.js +4 -4
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.js +1 -2
- package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.js +2 -2
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.js +13 -2
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.js +8 -4
- package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.js +1 -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-help-center/c4-help-center.js +3 -1
- package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.js +1 -1
- package/lib/esm/components/c4-management-api/c4-management-api.js +8 -3
- package/lib/esm/components/c4-navigation/c4-navigation.js +17 -9
- package/lib/esm/components/c4-sm-dashboard/health-status.js +1 -1
- package/lib/esm/components/c4-usage-history/elements/usage-history-charts.d.ts +8 -2
- package/lib/esm/components/c4-usage-history/elements/usage-history-charts.js +2 -2
- package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js +3 -1
- package/lib/esm/components/shared-charts/ds-line-chart.js +25 -11
- package/lib/esm/components/shared-charts/recharts-tokens.d.ts +16 -0
- package/lib/esm/components/shared-charts/recharts-tokens.js +31 -0
- package/lib/esm/i18n/en/entities/orgroles.json +2 -2
- package/lib/esm/i18n/en/modals/apiclients.json +4 -1
- package/lib/esm/i18n/en/pages/clusterdetails.json +2 -2
- package/lib/esm/i18n/en/pages/orgmanagement.json +9 -1
- package/lib/esm/runtime/build-cluster-swagger-url.js +2 -2
- package/lib/esm/runtime/nav/camunda-apps.js +2 -2
- package/lib/esm/ui/c4-definition-tooltip.d.ts +15 -0
- package/lib/esm/ui/c4-definition-tooltip.js +43 -0
- package/lib/esm/ui/index.d.ts +6 -0
- package/lib/esm/ui/index.js +20 -3
- 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.js +5 -4
- package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +5 -5
- 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 +153 -37
- 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 +51 -16
- 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-alerts-tab.js +2 -2
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +3 -4
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +2 -2
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.js +1 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +2 -2
- 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 +16 -5
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +16 -16
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +115 -28
- package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +2 -1
- package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +2 -1
- package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.js +2 -1
- package/lib/esm/widgets/connector-management/c4-connector-management-page.js +2 -1
- package/lib/esm/widgets/dashboard/c4-dashboard-app.js +177 -17
- package/lib/esm/widgets/dashboard/c4-dashboard-app.types.d.ts +15 -2
- package/lib/esm/widgets/group-details/c4-group-details-page.js +2 -2
- package/lib/esm/widgets/management/c4-management-app.js +369 -45
- package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +22 -7
- package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +1 -2
- 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 +41 -15
- package/lib/esm/widgets/user-details/c4-user-details-page.js +3 -3
- package/package.json +4 -4
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
4
|
-
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
5
|
-
* You may not use this file except in compliance with the commercial license.
|
|
6
|
-
*/
|
|
7
|
-
import { Form, FormGroup } from '@carbon/react';
|
|
8
2
|
import { useMemo, useState } from 'react';
|
|
9
3
|
import { C4ClusterClientCredentialsModal } from '../../../components/c4-cluster-client-credentials/c4-cluster-client-credentials.js';
|
|
10
4
|
import { C4ManagementApi } from '../../../components/c4-management-api/c4-management-api.js';
|
|
11
5
|
import { C4StructuredListBody, C4StructuredListCell, C4StructuredListRow, C4StructuredListWrapper, } from '../../../components/c4-structured-list/c4-structured-list.js';
|
|
12
|
-
import { Checkbox, Link, Modal, Stack, TextInput } from '../../../ui/index.js';
|
|
6
|
+
import { Checkbox, Form, FormGroup, Link, Modal, Stack, TextInput, } from '../../../ui/index.js';
|
|
13
7
|
// Helper functions
|
|
14
8
|
function isApiClientNameValid(name) {
|
|
15
9
|
if (!name.trim()) {
|
|
@@ -187,6 +181,15 @@ function mapPermissionsToScopeStrings(permissions, t) {
|
|
|
187
181
|
case 'DeleteHotBackup':
|
|
188
182
|
hotBackupScopes.push(safeTranslate(t, 'orgmanagement:tabs.api.scopes.delete', 'Delete'));
|
|
189
183
|
break;
|
|
184
|
+
case 'GetHotBackupSchedule':
|
|
185
|
+
hotBackupScopes.push(safeTranslate(t, 'orgmanagement:tabs.api.scopes.getSchedule', 'Get schedule'));
|
|
186
|
+
break;
|
|
187
|
+
case 'UpdateHotBackupSchedule':
|
|
188
|
+
hotBackupScopes.push(safeTranslate(t, 'orgmanagement:tabs.api.scopes.updateSchedule', 'Create + update schedule'));
|
|
189
|
+
break;
|
|
190
|
+
case 'DeleteHotBackupSchedule':
|
|
191
|
+
hotBackupScopes.push(safeTranslate(t, 'orgmanagement:tabs.api.scopes.deleteSchedule', 'Delete schedule'));
|
|
192
|
+
break;
|
|
190
193
|
case 'DownloadActivity':
|
|
191
194
|
activityScopes.push(safeTranslate(t, 'orgmanagement:tabs.api.scopes.download', 'Download'));
|
|
192
195
|
break;
|
|
@@ -395,6 +398,18 @@ export const C4ManagementApiTab = (props) => {
|
|
|
395
398
|
label: safeTranslate(t, 'apiclients:create.fields.scopes.hotBackups.delete', 'Delete'),
|
|
396
399
|
value: 'DeleteHotBackups',
|
|
397
400
|
},
|
|
401
|
+
{
|
|
402
|
+
label: safeTranslate(t, 'apiclients:create.fields.scopes.hotBackups.getSchedule', 'Get schedule'),
|
|
403
|
+
value: 'GetHotBackupSchedule',
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
label: safeTranslate(t, 'apiclients:create.fields.scopes.hotBackups.updateSchedule', 'Create + update schedule'),
|
|
407
|
+
value: 'UpdateHotBackupSchedule',
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
label: safeTranslate(t, 'apiclients:create.fields.scopes.hotBackups.deleteSchedule', 'Delete schedule'),
|
|
411
|
+
value: 'DeleteHotBackupSchedule',
|
|
412
|
+
},
|
|
398
413
|
],
|
|
399
414
|
},
|
|
400
415
|
{
|
|
@@ -5,10 +5,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
5
5
|
* You may not use this file except in compliance with the commercial license.
|
|
6
6
|
*/
|
|
7
7
|
import { getDisplayedSalesPlan, } from '@camunda/ccma-shared-types';
|
|
8
|
-
import { DefinitionTooltip } from '@carbon/react';
|
|
9
8
|
import { useMemo } from 'react';
|
|
10
9
|
import { C4Pricing } from '../../../components/c4-pricing/c4-pricing.js';
|
|
11
|
-
import { Link } from '../../../ui/index.js';
|
|
10
|
+
import { DefinitionTooltip, Link } from '../../../ui/index.js';
|
|
12
11
|
function safeTranslate(t, key, fallback, options) {
|
|
13
12
|
try {
|
|
14
13
|
return t ? t(key, options) : fallback;
|
|
@@ -5,6 +5,13 @@ export interface UsageHistoryEntryPerCluster {
|
|
|
5
5
|
processInstances: number;
|
|
6
6
|
decisionInstances: number;
|
|
7
7
|
taskUsers: number;
|
|
8
|
+
/**
|
|
9
|
+
* This cluster's peak active tenants in the period, or `undefined` when HDP
|
|
10
|
+
* has no reading for it. The clusters of a period do not add up to the
|
|
11
|
+
* period's org figure: each is its own peak, and two clusters can peak on
|
|
12
|
+
* different days.
|
|
13
|
+
*/
|
|
14
|
+
tenants?: number;
|
|
8
15
|
clusterId: string;
|
|
9
16
|
clusterName: string;
|
|
10
17
|
}
|
|
@@ -13,6 +20,13 @@ export interface UsageHistoryEntry extends RowBaseProps {
|
|
|
13
20
|
decisionInstances: number;
|
|
14
21
|
taskUsers: number;
|
|
15
22
|
generalUsers: number;
|
|
23
|
+
/**
|
|
24
|
+
* Peak active tenants inside the period — a gauge, so a peak rather than the
|
|
25
|
+
* sum the neighbouring metrics are. `undefined` when HDP holds no reading for
|
|
26
|
+
* the period at all (tenant history is capped at ~1 year, so older periods
|
|
27
|
+
* have none); rendered as "-" so an unknown period isn't read as "no tenants".
|
|
28
|
+
*/
|
|
29
|
+
tenants?: number;
|
|
16
30
|
period: string;
|
|
17
31
|
perCluster: UsageHistoryEntryPerCluster[];
|
|
18
32
|
}
|
|
@@ -24,6 +38,7 @@ export interface C4ManagementUsageTabText {
|
|
|
24
38
|
processInstances: string;
|
|
25
39
|
decisionInstances: string;
|
|
26
40
|
taskUsers: string;
|
|
41
|
+
tenants: string;
|
|
27
42
|
};
|
|
28
43
|
groupBy: {
|
|
29
44
|
heading: string;
|
|
@@ -35,6 +50,7 @@ export interface C4ManagementUsageTabText {
|
|
|
35
50
|
processInstances: string;
|
|
36
51
|
decisionInstances: string;
|
|
37
52
|
taskUsers: string;
|
|
53
|
+
tenants: string;
|
|
38
54
|
};
|
|
39
55
|
}
|
|
40
56
|
export interface C4ManagementUsageTabProps {
|
|
@@ -46,5 +62,18 @@ export interface C4ManagementUsageTabProps {
|
|
|
46
62
|
charts?: UsageHistoryChartsProps;
|
|
47
63
|
text: C4ManagementUsageTabText;
|
|
48
64
|
isLicensingModel2025?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Show the tenants column. Tenants is a 2025-licensing value metric sourced
|
|
67
|
+
* from HDP, so the host gates it on the feature flag plus the licensing model
|
|
68
|
+
* — the same gate the billing tab's tenants card uses.
|
|
69
|
+
*/
|
|
70
|
+
showTenants?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Why the tab has no data, when a read failed. Without it an empty table and a
|
|
73
|
+
* column of "-" claim the org used nothing, which is a different statement
|
|
74
|
+
* from "we could not find out" — and the most common cause is a permission
|
|
75
|
+
* the viewer does not have rather than an outage.
|
|
76
|
+
*/
|
|
77
|
+
error?: string;
|
|
49
78
|
}
|
|
50
|
-
export declare const C4ManagementUsageTab: ({ loading, groupBy, onGroupByChange, perClusterAvailable, history, charts, text, isLicensingModel2025, }: C4ManagementUsageTabProps) => JSX.Element;
|
|
79
|
+
export declare const C4ManagementUsageTab: ({ loading, groupBy, onGroupByChange, perClusterAvailable, history, charts, text, isLicensingModel2025, showTenants, error, }: C4ManagementUsageTabProps) => JSX.Element;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { C4DataTable } from '../../../components/c4-data-table/c4-data-table.js';
|
|
3
3
|
import { C4DataTableSkeleton } from '../../../components/c4-data-table/c4-data-table-skeleton.js';
|
|
4
4
|
import { C4StructuredListBody, C4StructuredListCell, C4StructuredListHead, C4StructuredListRow, C4StructuredListWrapper, } from '../../../components/c4-structured-list/c4-structured-list.js';
|
|
5
5
|
import { C4UsageHistory } from '../../../components/c4-usage-history/c4-usage-history.js';
|
|
6
6
|
import { useC4DesignSystem } from '../../../runtime/c4-console-runtime-context.js';
|
|
7
7
|
import { Stack } from '../../../ui/index.js';
|
|
8
|
-
function ExpandedRow({ clusters, text, isLicensingModel2025, }) {
|
|
9
|
-
const headerRow = (_jsxs(C4StructuredListRow, { head: true, children: [_jsx(C4StructuredListCell, { head: true, children: text.perCluster.clusterName }), _jsx(C4StructuredListCell, { head: true, children: text.perCluster.processInstances }), !isLicensingModel2025 && (_jsx(C4StructuredListCell, { head: true, children: text.perCluster.decisionInstances })), !isLicensingModel2025 && (_jsx(C4StructuredListCell, { head: true, children: text.perCluster.taskUsers }))] }));
|
|
10
|
-
return (_jsxs(C4StructuredListWrapper, { children: [_jsx(C4StructuredListHead, { children: headerRow }), _jsx(C4StructuredListBody, { children: clusters.map((cluster) => (_jsxs(C4StructuredListRow, { children: [_jsx(C4StructuredListCell, { noWrap: true, children: cluster.clusterName }), _jsx(C4StructuredListCell, { children: cluster.processInstances }), !isLicensingModel2025 && (_jsx(C4StructuredListCell, { children: cluster.decisionInstances })), !isLicensingModel2025 && (_jsx(C4StructuredListCell, { children: cluster.taskUsers }))] }, cluster.clusterId))) })] }));
|
|
8
|
+
function ExpandedRow({ clusters, text, isLicensingModel2025, showTenants, }) {
|
|
9
|
+
const headerRow = (_jsxs(C4StructuredListRow, { head: true, children: [_jsx(C4StructuredListCell, { head: true, children: text.perCluster.clusterName }), _jsx(C4StructuredListCell, { head: true, children: text.perCluster.processInstances }), showTenants && (_jsx(C4StructuredListCell, { head: true, children: text.perCluster.tenants })), !isLicensingModel2025 && (_jsx(C4StructuredListCell, { head: true, children: text.perCluster.decisionInstances })), !isLicensingModel2025 && (_jsx(C4StructuredListCell, { head: true, children: text.perCluster.taskUsers }))] }));
|
|
10
|
+
return (_jsxs(C4StructuredListWrapper, { children: [_jsx(C4StructuredListHead, { children: headerRow }), _jsx(C4StructuredListBody, { children: clusters.map((cluster) => (_jsxs(C4StructuredListRow, { children: [_jsx(C4StructuredListCell, { noWrap: true, children: cluster.clusterName }), _jsx(C4StructuredListCell, { children: cluster.processInstances }), showTenants && (_jsx(C4StructuredListCell, { children: cluster.tenants ?? '-' })), !isLicensingModel2025 && (_jsx(C4StructuredListCell, { children: cluster.decisionInstances })), !isLicensingModel2025 && (_jsx(C4StructuredListCell, { children: cluster.taskUsers }))] }, cluster.clusterId))) })] }));
|
|
11
11
|
}
|
|
12
|
-
export const C4ManagementUsageTab = ({ loading, groupBy, onGroupByChange, perClusterAvailable, history, charts, text, isLicensingModel2025 = false, }) => {
|
|
12
|
+
export const C4ManagementUsageTab = ({ loading, groupBy, onGroupByChange, perClusterAvailable, history, charts, text, isLicensingModel2025 = false, showTenants = false, error, }) => {
|
|
13
13
|
const designSystem = useC4DesignSystem();
|
|
14
14
|
const headers = [
|
|
15
15
|
{
|
|
@@ -22,6 +22,26 @@ export const C4ManagementUsageTab = ({ loading, groupBy, onGroupByChange, perClu
|
|
|
22
22
|
key: 'processInstances',
|
|
23
23
|
sorting: (a, b) => a.processInstances - b.processInstances,
|
|
24
24
|
},
|
|
25
|
+
// Tenants is org-scoped, so it is a table column but never a per-cluster
|
|
26
|
+
// one (see ExpandedRow). A period HDP has no reading for sorts below 0 so
|
|
27
|
+
// the "-" rows group together instead of mixing in with real zeroes.
|
|
28
|
+
...(showTenants
|
|
29
|
+
? [
|
|
30
|
+
{
|
|
31
|
+
label: text.headers.tenants,
|
|
32
|
+
key: 'tenants',
|
|
33
|
+
sorting: (a, b) => (a.tenants ?? -1) - (b.tenants ?? -1),
|
|
34
|
+
type: {
|
|
35
|
+
type: 'wrapper',
|
|
36
|
+
options: {
|
|
37
|
+
wrapperOptions: {
|
|
38
|
+
wrapper: (row) => (_jsx(_Fragment, { children: row.tenants ?? '-' })),
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
]
|
|
44
|
+
: []),
|
|
25
45
|
...(isLicensingModel2025
|
|
26
46
|
? []
|
|
27
47
|
: [
|
|
@@ -60,18 +80,24 @@ export const C4ManagementUsageTab = ({ loading, groupBy, onGroupByChange, perClu
|
|
|
60
80
|
const hasPerCluster = perClusterAvailable && (item.perCluster?.length ?? 0) > 0;
|
|
61
81
|
return {
|
|
62
82
|
...item,
|
|
63
|
-
expansion: hasPerCluster ? (_jsx(ExpandedRow, { clusters: item.perCluster, text: text, isLicensingModel2025: isLicensingModel2025 })) : null,
|
|
83
|
+
expansion: hasPerCluster ? (_jsx(ExpandedRow, { clusters: item.perCluster, text: text, isLicensingModel2025: isLicensingModel2025, showTenants: showTenants })) : null,
|
|
64
84
|
};
|
|
65
85
|
}), toolbar: toolbar, title: undefined }, `usage-history-${groupBy}`) }));
|
|
66
|
-
return (
|
|
86
|
+
return (
|
|
87
|
+
// Carbon needs overflowX:auto so the wide c3 table scrolls horizontally.
|
|
88
|
+
// The ds DataTable scrolls itself (overflow-x-auto internally), so the
|
|
89
|
+
// wrapper would be redundant — and `overflow-x: auto` promotes `overflow-y`
|
|
90
|
+
// to `auto` (CSS), adding a spurious vertical scrollbar (seen on the chart
|
|
91
|
+
// view). Keep it carbon-only.
|
|
92
|
+
_jsx("div", { style: {
|
|
67
93
|
width: '100%',
|
|
68
94
|
overflowX: designSystem === 'ds' ? 'visible' : 'auto',
|
|
69
|
-
}, children:
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
95
|
+
}, children: _jsxs(Stack, { gap: 8, children: [error ? (_jsx("p", { style: { color: 'var(--cds-text-error)' }, children: error })) : null, _jsx(C4UsageHistory, { title: '', description: '', descriptionTooltip: '', loading: loading, data: {
|
|
96
|
+
titles: {
|
|
97
|
+
table: text.tableTabTitle,
|
|
98
|
+
charts: text.chartsTabTitle,
|
|
99
|
+
},
|
|
100
|
+
component: tableComponent,
|
|
101
|
+
charts,
|
|
102
|
+
} })] }) }));
|
|
77
103
|
};
|
|
@@ -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 { OrganizationMembersService } from '@camunda/ccma-api';
|
|
8
|
-
import { checkVersion, OrganizationRole, VersionCheckOperator, } from '@camunda/ccma-shared-types';
|
|
8
|
+
import { checkVersion, IDENTITY_MANAGEMENT_MIN_VERSION, NEW_CLUSTER_ROLES_MIN_VERSION, OrganizationRole, VersionCheckOperator, } from '@camunda/ccma-shared-types';
|
|
9
9
|
import { observer } from 'mobx-react-lite';
|
|
10
10
|
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
11
11
|
import { C4InlineNotification } from '../../components/c4-inline-notification/c4-inline-notification.js';
|
|
@@ -127,7 +127,7 @@ export const C4UserDetailsPage = observer(({ orgId, userEmail, externalLinks, on
|
|
|
127
127
|
possiblyVersionOrDockerPath: zeebe,
|
|
128
128
|
trueForSnapshot: true,
|
|
129
129
|
operator: VersionCheckOperator.GreaterThanOrEqual,
|
|
130
|
-
versionToCompareTo:
|
|
130
|
+
versionToCompareTo: IDENTITY_MANAGEMENT_MIN_VERSION,
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
}, [clusters]);
|
|
@@ -186,7 +186,7 @@ export const C4UserDetailsPage = observer(({ orgId, userEmail, externalLinks, on
|
|
|
186
186
|
possiblyVersionOrDockerPath: zeebe,
|
|
187
187
|
trueForSnapshot: true,
|
|
188
188
|
operator: VersionCheckOperator.GreaterThanOrEqual,
|
|
189
|
-
versionToCompareTo:
|
|
189
|
+
versionToCompareTo: NEW_CLUSTER_ROLES_MIN_VERSION,
|
|
190
190
|
});
|
|
191
191
|
});
|
|
192
192
|
}, [clusters, orgId]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/ccma-saas-frontend",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Camunda Composite Components",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/camunda/camunda-cloud-management-apps/issues"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@camunda/c4-connectors": "1.10.3",
|
|
47
47
|
"@playwright/test": "1.62.0",
|
|
48
48
|
"@camunda/c4-identity": "0.0.45",
|
|
49
|
-
"@camunda/design-system": "0.
|
|
49
|
+
"@camunda/design-system": "0.48.0",
|
|
50
50
|
"@carbon/charts": "1.27.17",
|
|
51
51
|
"@carbon/charts-react": "1.27.16",
|
|
52
52
|
"@carbon/layout": "11.55.0",
|
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
"mobx": "6.16.1",
|
|
102
102
|
"mobx-react-lite": "4.1.1",
|
|
103
103
|
"mobx-state-tree": "7.3.1",
|
|
104
|
-
"@camunda/ccma-api": "0.5.
|
|
105
|
-
"@camunda/ccma-shared-types": "0.
|
|
104
|
+
"@camunda/ccma-api": "0.5.3",
|
|
105
|
+
"@camunda/ccma-shared-types": "0.7.0"
|
|
106
106
|
},
|
|
107
107
|
"scripts": {
|
|
108
108
|
"clean": "rimraf lib/",
|