@camunda/ccma-saas-frontend 0.15.1 → 0.17.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.
Files changed (129) hide show
  1. package/lib/esm/components/c4-audit-log/c4-audit-log.js +53 -42
  2. package/lib/esm/components/c4-billing-page/c4-billing-page.js +5 -1
  3. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.js +8 -3
  4. package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.d.ts +10 -0
  5. package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.js +9 -1
  6. package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.js +13 -5
  7. package/lib/esm/components/c4-cluster-client-credentials/ds-credential-items.d.ts +14 -0
  8. package/lib/esm/components/c4-cluster-client-credentials/ds-credential-items.js +18 -0
  9. package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.js +18 -7
  10. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.mocks.js +2 -2
  11. package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +4 -10
  12. package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +1 -4
  13. package/lib/esm/components/c4-cluster-overview/applications.d.ts +16 -0
  14. package/lib/esm/components/c4-cluster-overview/applications.js +130 -17
  15. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.d.ts +34 -1
  16. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +31 -0
  17. package/lib/esm/components/c4-cluster-overview/cluster-details.js +11 -9
  18. package/lib/esm/components/c4-cluster-overview/cluster-load.d.ts +4 -3
  19. package/lib/esm/components/c4-cluster-overview/cluster-load.js +17 -13
  20. package/lib/esm/components/c4-cluster-overview/ds-section.d.ts +23 -0
  21. package/lib/esm/components/c4-cluster-overview/ds-section.js +19 -0
  22. package/lib/esm/components/c4-cluster-overview/ds-status-icon-text.d.ts +33 -0
  23. package/lib/esm/components/c4-cluster-overview/ds-status-icon-text.js +34 -0
  24. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.js +7 -1
  25. package/lib/esm/components/c4-cluster-settings/elements/settings-tile.d.ts +6 -1
  26. package/lib/esm/components/c4-cluster-settings/elements/settings-tile.js +5 -2
  27. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.js +4 -5
  28. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.js +40 -15
  29. package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +24 -4
  30. package/lib/esm/components/c4-create-cluster/c4-create-cluster.types.d.ts +12 -0
  31. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.js +2 -1
  32. package/lib/esm/components/c4-create-cluster-api-client-modal/scopes-description-text.d.ts +11 -0
  33. package/lib/esm/components/c4-create-cluster-api-client-modal/scopes-description-text.js +16 -0
  34. package/lib/esm/components/c4-inline-notification/c4-inline-notification.js +4 -1
  35. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js +6 -2
  36. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.types.d.ts +6 -0
  37. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.mocks.js +1 -1
  38. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.js +1 -0
  39. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +1 -1
  40. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +13 -6
  41. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +24 -5
  42. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts +4 -4
  43. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.mocks.js +1 -1
  44. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.d.ts +1 -1
  45. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.js +3 -1
  46. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.d.ts +7 -1
  47. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +8 -4
  48. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.js +6 -1
  49. package/lib/esm/components/c4-management-settings/c4-management-settings.js +58 -42
  50. package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.js +4 -0
  51. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.js +11 -10
  52. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.types.d.ts +4 -0
  53. package/lib/esm/components/c4-pricing-card/c4-pricing-card.js +9 -1
  54. package/lib/esm/components/c4-sm-cluster-details/details.js +2 -8
  55. package/lib/esm/components/c4-tabs/c4-tabs.js +6 -1
  56. package/lib/esm/components/c4-usage-history/elements/usage-history-charts.d.ts +3 -3
  57. package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js +2 -8
  58. package/lib/esm/externalUrls.const.d.ts +1 -1
  59. package/lib/esm/externalUrls.const.js +1 -2
  60. package/lib/esm/i18n/en/modals/billing.json +2 -2
  61. package/lib/esm/i18n/en/modals/clusterclients.json +6 -6
  62. package/lib/esm/i18n/en/modals/invitations.json +1 -0
  63. package/lib/esm/i18n/en/modals/users.json +1 -0
  64. package/lib/esm/i18n/en/pages/clusterdetails.json +4 -1
  65. package/lib/esm/i18n/en/pages/createcluster.json +5 -0
  66. package/lib/esm/i18n/en/pages/dashboard.json +7 -5
  67. package/lib/esm/i18n/en/pages/orgmanagement.json +4 -0
  68. package/lib/esm/index.d.ts +1 -1
  69. package/lib/esm/index.js +1 -1
  70. package/lib/esm/runtime/c4-console-events-context.d.ts +5 -1
  71. package/lib/esm/runtime/c4-console-events-context.js +16 -2
  72. package/lib/esm/runtime/c4-console-runtime-context.d.ts +7 -6
  73. package/lib/esm/runtime/c4-console-runtime-context.js +29 -12
  74. package/lib/esm/runtime/c4-console-runtime.types.d.ts +7 -7
  75. package/lib/esm/runtime/c4-user-notifications-context.js +6 -2
  76. package/lib/esm/runtime/c4-user-notifications-context.types.d.ts +5 -1
  77. package/lib/esm/runtime/use-hub-api-naming.d.ts +8 -11
  78. package/lib/esm/runtime/use-hub-api-naming.js +9 -12
  79. package/lib/esm/runtime/use-is-qa-user.d.ts +23 -0
  80. package/lib/esm/runtime/use-is-qa-user.js +64 -0
  81. package/lib/esm/ui/c4-cluster-tag.d.ts +11 -0
  82. package/lib/esm/ui/c4-cluster-tag.js +39 -0
  83. package/lib/esm/ui/ds-compact-code-block.d.ts +15 -0
  84. package/lib/esm/ui/ds-compact-code-block.js +33 -0
  85. package/lib/esm/ui/index.d.ts +13 -3
  86. package/lib/esm/ui/index.js +14 -7
  87. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +21 -6
  88. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +4 -2
  89. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.d.ts +1 -1
  90. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +31 -12
  91. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +6 -1
  92. package/lib/esm/widgets/cluster-details/cluster-region-code.d.ts +8 -0
  93. package/lib/esm/widgets/cluster-details/cluster-region-code.js +17 -0
  94. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +44 -6
  95. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +6 -4
  96. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +2 -14
  97. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.d.ts +7 -0
  98. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +23 -11
  99. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +11 -15
  100. package/lib/esm/widgets/cluster-details/upgrade-gate.d.ts +23 -0
  101. package/lib/esm/widgets/cluster-details/upgrade-gate.js +36 -0
  102. package/lib/esm/widgets/cluster-details/use-upgrade-gate.d.ts +24 -0
  103. package/lib/esm/widgets/cluster-details/use-upgrade-gate.js +73 -0
  104. package/lib/esm/widgets/clusters/c4-clusters-page.js +0 -4
  105. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.d.ts +4 -1
  106. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.js +44 -17
  107. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.types.d.ts +0 -3
  108. package/lib/esm/widgets/dashboard/c4-dashboard-app.js +12 -11
  109. package/lib/esm/widgets/dashboard/c4-dashboard-app.types.d.ts +2 -3
  110. package/lib/esm/widgets/group-details/c4-group-details-page.d.ts +1 -1
  111. package/lib/esm/widgets/group-details/c4-group-details-page.js +10 -3
  112. package/lib/esm/widgets/group-details/c4-group-details-page.types.d.ts +5 -0
  113. package/lib/esm/widgets/management/c4-management-app.d.ts +1 -1
  114. package/lib/esm/widgets/management/c4-management-app.js +34 -36
  115. package/lib/esm/widgets/management/c4-management-app.types.d.ts +10 -9
  116. package/lib/esm/widgets/management/tabs/c4-management-billing-tab.d.ts +0 -1
  117. package/lib/esm/widgets/management/tabs/c4-management-billing-tab.js +1 -2
  118. package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +1 -1
  119. package/lib/esm/widgets/management/tabs/c4-management-usage-tab.d.ts +2 -2
  120. package/lib/esm/widgets/management/tabs/c4-management-users-tab.d.ts +3 -1
  121. package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +2 -2
  122. package/lib/esm/widgets/user-details/c4-user-details-page.d.ts +1 -1
  123. package/lib/esm/widgets/user-details/c4-user-details-page.js +5 -2
  124. package/lib/esm/widgets/user-details/c4-user-details-page.types.d.ts +5 -0
  125. package/package.json +23 -23
  126. package/lib/esm/runtime/cluster-duplication.d.ts +0 -10
  127. package/lib/esm/runtime/cluster-duplication.js +0 -15
  128. package/lib/esm/widgets/management/tabs/c4-management-groups-tab.d.ts +0 -13
  129. package/lib/esm/widgets/management/tabs/c4-management-groups-tab.js +0 -26
@@ -546,7 +546,7 @@ function themeNameToClassName(theme) {
546
546
  return 'g10';
547
547
  }
548
548
  }
549
- export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId, onTabChange, onNavigate, legacyTabs, userPersonaRole, isLicensingModel2025: isLicensingModel2025Prop, tenantsValueMetricEnabled = false, hdpValueMetricsFor2025Enabled = false, permissionsReworkEnabled = false, urls, onNeedsReload, }) => {
549
+ export const C4ManagementApp = observer(({ orgId, embedded = false, environmentsEnabled = false, desiredTabId, onTabChange, onNavigate, legacyTabs, userPersonaRole, isLicensingModel2025: isLicensingModel2025Prop, permissionsReworkEnabled = false, urls, onNeedsReload, }) => {
550
550
  const runtime = useC4ConsoleRuntime();
551
551
  const designSystem = useC4DesignSystem();
552
552
  const hubNaming = useHubApiNaming();
@@ -1135,11 +1135,6 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1135
1135
  ]);
1136
1136
  const isLicensingModel2025 = useMemo(() => isLicensingModel2025Prop ??
1137
1137
  getNestedValue(org, ['metadata', 'licensingModel']) === '2025', [isLicensingModel2025Prop, org]);
1138
- // Same two gates the billing tab applies, so a 2025 org reads the same
1139
- // numbers from the same source on both tabs: PI/DI/TU from HDP instead of
1140
- // the console-scraped metrics, and the org-scoped tenant gauge.
1141
- const usageFromHdp = hdpValueMetricsFor2025Enabled && isLicensingModel2025;
1142
- const usageTenantsEnabled = tenantsValueMetricEnabled && isLicensingModel2025;
1143
1138
  /**
1144
1139
  * Why the usage reads failed, in words a reader can act on.
1145
1140
  *
@@ -1167,8 +1162,9 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1167
1162
  : (data.getClusters(orgId) ?? []);
1168
1163
  // Settled rather than all: the tenant gauge and the PI/DI/TU history are
1169
1164
  // independent reads, and one of them failing must not blank the other.
1165
+ // A 2025 org reads both from HDP, the same source as the billing tab.
1170
1166
  const [monthlyResult, perDayResult, hdpUsageResult, tenantsResult] = await Promise.allSettled([
1171
- usageFromHdp
1167
+ isLicensingModel2025
1172
1168
  ? Promise.resolve([])
1173
1169
  : ConsoleValueMetricsService.getValueMetrics({
1174
1170
  config: apiConfig,
@@ -1177,7 +1173,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1177
1173
  days: 0,
1178
1174
  },
1179
1175
  }),
1180
- usageFromHdp
1176
+ isLicensingModel2025
1181
1177
  ? Promise.resolve([])
1182
1178
  : ConsoleValueMetricsService.getValueMetricsPerDays({
1183
1179
  config: apiConfig,
@@ -1188,7 +1184,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1188
1184
  }),
1189
1185
  // No date bounds: the table goes back to the org's first period, and
1190
1186
  // the endpoint returns the org's whole history when unbounded.
1191
- usageFromHdp
1187
+ isLicensingModel2025
1192
1188
  ? HdpService.getUsageMetrics({
1193
1189
  config: apiConfig,
1194
1190
  params: { orgId },
@@ -1197,7 +1193,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1197
1193
  // Per-cluster variant: the usage table breaks each period down by
1198
1194
  // cluster, and this returns the org totals for the period column in
1199
1195
  // the same response — one HDP read for both halves.
1200
- usageTenantsEnabled
1196
+ isLicensingModel2025
1201
1197
  ? HdpService.getTenantUsagePerCluster({
1202
1198
  config: apiConfig,
1203
1199
  params: { orgId, days: MAX_TENANT_USAGE_DAYS },
@@ -1247,7 +1243,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1247
1243
  finally {
1248
1244
  setUsageLoading(false);
1249
1245
  }
1250
- }, [apiConfig, orgId, usageFromHdp, usageTenantsEnabled, usageErrorMessage]);
1246
+ }, [apiConfig, orgId, isLicensingModel2025, usageErrorMessage]);
1251
1247
  const loadBilling = useCallback(async () => {
1252
1248
  const loadId = billingLoadIdRef.current + 1;
1253
1249
  billingLoadIdRef.current = loadId;
@@ -1302,13 +1298,13 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1302
1298
  config: apiConfig,
1303
1299
  params: { orgId },
1304
1300
  }),
1305
- tenantsValueMetricEnabled && isLicensingModel2025
1301
+ isLicensingModel2025
1306
1302
  ? HdpService.getTenantUsage({
1307
1303
  config: apiConfig,
1308
1304
  params: { orgId, days: MAX_TENANT_USAGE_DAYS },
1309
1305
  })
1310
1306
  : Promise.resolve([]),
1311
- hdpValueMetricsFor2025Enabled && isLicensingModel2025
1307
+ isLicensingModel2025
1312
1308
  ? HdpService.getUsageMetrics({
1313
1309
  config: apiConfig,
1314
1310
  params: { orgId },
@@ -1349,13 +1345,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1349
1345
  finally {
1350
1346
  setBillingLoading(false);
1351
1347
  }
1352
- }, [
1353
- apiConfig,
1354
- orgId,
1355
- tenantsValueMetricEnabled,
1356
- isLicensingModel2025,
1357
- hdpValueMetricsFor2025Enabled,
1358
- ]);
1348
+ }, [apiConfig, orgId, isLicensingModel2025]);
1359
1349
  const enterpriseDevOnly = useMemo(() => getNestedBoolean(org, ['metadata', 'enterpriseDevOnly']), [org]);
1360
1350
  const billingIsEnterprise = useMemo(() => orgHasSalesPlanType(org, 'enterprise'), [org]);
1361
1351
  const billingGeneralData = useMemo(() => {
@@ -1450,7 +1440,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1450
1440
  // org totals rather than summed. Shared with the two internal tools so all
1451
1441
  // three surfaces report the same number for the same org.
1452
1442
  const tenantPeak = peakWithinTerm(billingTenantUsage, billingEnterprisePeriod);
1453
- if (hdpValueMetricsFor2025Enabled && isLicensingModel2025) {
1443
+ if (isLicensingModel2025) {
1454
1444
  return billingHdpUsageMetrics
1455
1445
  .filter((entry) => entry.date.ts >= periodStartDayMs &&
1456
1446
  entry.date.ts <= periodEndDayMs)
@@ -1491,7 +1481,6 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1491
1481
  billingMetricsMonthly,
1492
1482
  billingTenantUsage,
1493
1483
  billingHdpUsageMetrics,
1494
- hdpValueMetricsFor2025Enabled,
1495
1484
  isLicensingModel2025,
1496
1485
  ]);
1497
1486
  const billingClusterReservations = useMemo(() => {
@@ -1556,7 +1545,6 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1556
1545
  billingClusterReservations,
1557
1546
  enterpriseDevOnly,
1558
1547
  isLicensingModel2025,
1559
- tenantsValueMetricEnabled,
1560
1548
  membersCount: members.length,
1561
1549
  changeTab,
1562
1550
  onUpdateUsageAlert: async (alertId, threshold, enabled) => {
@@ -1597,7 +1585,6 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1597
1585
  billingUsageAlerts,
1598
1586
  enterpriseDevOnly,
1599
1587
  isLicensingModel2025,
1600
- tenantsValueMetricEnabled,
1601
1588
  changeTab,
1602
1589
  members.length,
1603
1590
  t,
@@ -1626,7 +1613,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1626
1613
  * usage metric) and the usage table has no column for it either.
1627
1614
  */
1628
1615
  const usagePerDayEntries = useMemo(() => {
1629
- if (!usageFromHdp) {
1616
+ if (!isLicensingModel2025) {
1630
1617
  return usageMetricsPerDay;
1631
1618
  }
1632
1619
  return usageHdpMetrics.map((entry) => ({
@@ -1637,13 +1624,13 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1637
1624
  decisionInstances: entry.di,
1638
1625
  taskUsers: entry.tu,
1639
1626
  }));
1640
- }, [orgId, usageFromHdp, usageHdpMetrics, usageMetricsPerDay]);
1627
+ }, [orgId, isLicensingModel2025, usageHdpMetrics, usageMetricsPerDay]);
1641
1628
  /**
1642
1629
  * Monthly (already period-bucketed) metrics, which only the console source
1643
1630
  * has. Empty on the HDP path so the aggregation falls through to the daily
1644
1631
  * series above rather than mixing two sources in one table.
1645
1632
  */
1646
- const usageMonthlyEntries = useMemo(() => (usageFromHdp ? [] : usageMetricsMonthly), [usageFromHdp, usageMetricsMonthly]);
1633
+ const usageMonthlyEntries = useMemo(() => (isLicensingModel2025 ? [] : usageMetricsMonthly), [isLicensingModel2025, usageMetricsMonthly]);
1647
1634
  const usageCharts = useMemo(() => {
1648
1635
  const orgName = typeof org?.name === 'string' ? org.name : orgId;
1649
1636
  const theme = themeNameToClassName(c3Profile.resolvedTheme);
@@ -1723,7 +1710,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1723
1710
  // Tenants is reported for the org, not per cluster, so it is a single
1724
1711
  // series (no top-N capping) and is keyed on the org rather than on a
1725
1712
  // cluster name.
1726
- tenants: usageTenantsEnabled
1713
+ tenants: isLicensingModel2025
1727
1714
  ? {
1728
1715
  title: safeTranslate(t, 'orgmanagement:tabs.usage.tenants', 'Tenants'),
1729
1716
  theme,
@@ -1747,7 +1734,6 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1747
1734
  orgId,
1748
1735
  t,
1749
1736
  usagePerDayEntries,
1750
- usageTenantsEnabled,
1751
1737
  usageTenantUsage,
1752
1738
  ]);
1753
1739
  const usageHistory = useMemo(() => {
@@ -1761,7 +1747,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1761
1747
  * the current period's figure matches across the two tabs.
1762
1748
  */
1763
1749
  const tenantsForPeriod = (periodStart, periodEnd) => {
1764
- if (!usageTenantsEnabled) {
1750
+ if (!isLicensingModel2025) {
1765
1751
  return undefined;
1766
1752
  }
1767
1753
  const from = toUtcDayStartMs(periodStart);
@@ -1781,7 +1767,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
1781
1767
  */
1782
1768
  const tenantsPerClusterForPeriod = (periodStart, periodEnd) => {
1783
1769
  const peaks = new Map();
1784
- if (!usageTenantsEnabled) {
1770
+ if (!isLicensingModel2025) {
1785
1771
  return peaks;
1786
1772
  }
1787
1773
  const from = toUtcDayStartMs(periodStart);
@@ -2029,7 +2015,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
2029
2015
  usageGroupBy,
2030
2016
  usageMonthlyEntries,
2031
2017
  usagePerDayEntries,
2032
- usageTenantsEnabled,
2018
+ isLicensingModel2025,
2033
2019
  usageTenantUsage,
2034
2020
  usageTenantPerCluster,
2035
2021
  ]);
@@ -3051,7 +3037,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
3051
3037
  id: 'users',
3052
3038
  label: getTabLabel(legacyTabs, 'users', tabTitle('users')),
3053
3039
  visible: canReadMembers,
3054
- component: (_jsx(C4ManagementUsersTab, { orgId: orgId, members: members, loading: membersLoading, mayManageUsersActions: mayManageUsersActions, mayInviteUsers: Boolean(mayInviteMembers || mayInviteAdmins), showLegacyClusterRoles: showLegacyClusterRoles, permissionsReworkEnabled: permissionsReworkEnabled, inviteModal: {
3040
+ component: (_jsx(C4ManagementUsersTab, { orgId: orgId, environmentsEnabled: environmentsEnabled, members: members, loading: membersLoading, mayManageUsersActions: mayManageUsersActions, mayInviteUsers: Boolean(mayInviteMembers || mayInviteAdmins), showLegacyClusterRoles: showLegacyClusterRoles, permissionsReworkEnabled: permissionsReworkEnabled, inviteModal: {
3055
3041
  showAdminRole: Boolean(mayInviteAdmins),
3056
3042
  learnMoreUrl: identityAuthorizationsDocsUrl,
3057
3043
  }, changeRolesModal: {
@@ -3142,8 +3128,18 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
3142
3128
  });
3143
3129
  }, permissions: groupsPermissions, notification: {
3144
3130
  visible: true,
3145
- title: 'Organization group management updates starting with 8.8 clusters',
3146
- description: (_jsx(_Fragment, { children: _jsxs("p", { children: ["Starting with version 8.8, groups created in Console are no longer recommended for use; instead, user groups and authorizations must be managed in the", ' ', introToIdentityDocsUrl ? (_jsx("a", { href: introToIdentityDocsUrl, target: '_blank', rel: 'noopener noreferrer', children: "cluster\u2019s Admin component." })) : (_jsx("span", { children: "cluster\u2019s Admin component." }))] }) })),
3131
+ // With environments, the description names the Admin
3132
+ // application of an environment and has no link of its own:
3133
+ // the "Learn more" action below is the link.
3134
+ ...(environmentsEnabled
3135
+ ? {
3136
+ title: safeTranslate(t, 'orgmanagement:tabs.groups.environmentsNotice.title', 'Organization group management updates for environments on version 8.8 or higher'),
3137
+ description: (_jsx("p", { children: safeTranslate(t, 'orgmanagement:tabs.groups.environmentsNotice.description', 'Starting with version 8.8, groups created in Console are no longer recommended for use. Instead, user groups and authorizations must be managed in the Admin application of an environment.') })),
3138
+ }
3139
+ : {
3140
+ title: 'Organization group management updates starting with 8.8 clusters',
3141
+ description: (_jsx(_Fragment, { children: _jsxs("p", { children: ["Starting with version 8.8, groups created in Console are no longer recommended for use; instead, user groups and authorizations must be managed in the", ' ', introToIdentityDocsUrl ? (_jsx("a", { href: introToIdentityDocsUrl, target: '_blank', rel: 'noopener noreferrer', children: "cluster\u2019s Admin component." })) : (_jsx("span", { children: "cluster\u2019s Admin component." }))] }) })),
3142
+ }),
3147
3143
  action: {
3148
3144
  label: 'Learn more',
3149
3145
  onClick: () => {
@@ -3170,7 +3166,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
3170
3166
  visible: usageVisible,
3171
3167
  component: (_jsx(C4ManagementUsageTab, { loading: usageLoading, groupBy: usageGroupBy, onGroupByChange: (next) => {
3172
3168
  setUsageGroupBy(next);
3173
- }, perClusterAvailable: true, history: usageHistory, charts: usageCharts, isLicensingModel2025: isLicensingModel2025, showTenants: usageTenantsEnabled, error: usageError, text: {
3169
+ }, perClusterAvailable: true, history: usageHistory, charts: usageCharts, isLicensingModel2025: isLicensingModel2025, showTenants: isLicensingModel2025, error: usageError, text: {
3174
3170
  tableTabTitle: safeTranslate(t, 'orgmanagement:tabs.billing.billingHistory.table.tabTitle', 'Table'),
3175
3171
  chartsTabTitle: safeTranslate(t, 'orgmanagement:tabs.billing.billingHistory.charts.tabTitle', 'Charts'),
3176
3172
  headers: {
@@ -3352,8 +3348,10 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, desiredTabId
3352
3348
  loading,
3353
3349
  org,
3354
3350
  orgId,
3351
+ environmentsEnabled,
3355
3352
  apiConfig,
3356
3353
  hasAtLeastOneIdentityIntegrationCluster,
3354
+ isIdentityReady,
3357
3355
  settingsProps,
3358
3356
  loadUsage,
3359
3357
  t,
@@ -49,6 +49,12 @@ export interface C4ManagementAppProps {
49
49
  * false.
50
50
  */
51
51
  embedded?: boolean;
52
+ /**
53
+ * True when the organization uses environments (Hub with environments on).
54
+ * Copy about clusters in the Users and Groups tabs then talks about
55
+ * environments. It changes wording only. Defaults to false.
56
+ */
57
+ environmentsEnabled?: boolean;
52
58
  desiredTabId?: string;
53
59
  onTabChange?: (tabId: string) => void;
54
60
  onNavigate?: (event: C4ManagementNavigateEvent) => void;
@@ -68,18 +74,13 @@ export interface C4ManagementAppProps {
68
74
  */
69
75
  isLicensingModel2025?: boolean;
70
76
  /**
71
- * Whether the tenants value metric is enabled.
72
- * When true (and the org is on the 2025 model with an included tenants
73
- * value set), a Tenants usage card is shown on the billing tab, sourced
74
- * from HDP. This should be computed by the host app, gated behind the
75
- * feature flag.
77
+ * @deprecated The widget ignores this prop. The Tenants card is always on: it
78
+ * shows for an org on the 2025 model that has an included tenants value.
76
79
  */
77
80
  tenantsValueMetricEnabled?: boolean;
78
81
  /**
79
- * Whether PI/DI/TU for the current billing period should be sourced from HDP
80
- * instead of the console-scraped monthly metrics. Only takes effect for orgs
81
- * on the 2025 licensing model. This should be computed by the host app,
82
- * gated behind the feature flag.
82
+ * @deprecated The widget ignores this prop. An org on the 2025 model always
83
+ * reads PI, DI and TU of the current billing period from HDP.
83
84
  */
84
85
  hdpValueMetricsFor2025Enabled?: boolean;
85
86
  /** Aligned org-role model active (camunda-hub#25467). */
@@ -42,7 +42,6 @@ export interface C4ManagementBillingTabProps {
42
42
  onCreateUsageAlert: (metric: UsageAlertMetric, threshold: number, enabled: boolean) => Promise<void>;
43
43
  t?: Translate;
44
44
  isLicensingModel2025?: boolean;
45
- tenantsValueMetricEnabled?: boolean;
46
45
  }
47
46
  export declare const C4ManagementBillingTab: (props: C4ManagementBillingTabProps) => JSX.Element;
48
47
  export {};
@@ -135,8 +135,7 @@ export const C4ManagementBillingTab = (props) => {
135
135
  }, currentUsageMetrics: {
136
136
  title: (_jsx(_Fragment, { children: safeTranslate(props.t, 'orgmanagement:tabs.billing.metrics.title', 'Current usage') })),
137
137
  description: `${formatDate(props.billingEnterprisePeriod.periodStart)} - ${formatDate(props.billingEnterprisePeriod.periodEnd)}`,
138
- order: props.tenantsValueMetricEnabled &&
139
- props.isLicensingModel2025 &&
138
+ order: props.isLicensingModel2025 &&
140
139
  props.billingIncludedMetrics.tenants !== undefined
141
140
  ? ['gu', 'pi', 'tenants']
142
141
  : props.isLicensingModel2025
@@ -136,7 +136,7 @@ export const C4ManagementPricingTab = (props) => {
136
136
  },
137
137
  price: {
138
138
  text: safeTranslate(t, 'billing:requestPaid.enterprise.price', 'Custom pricing'),
139
- additional: safeTranslate(t, 'billing:requestPaid.enterprise.priceAdditional', 'Paid annualy via invoice'),
139
+ additional: safeTranslate(t, 'billing:requestPaid.enterprise.priceAdditional', 'Paid annually via invoice'),
140
140
  },
141
141
  cta: {
142
142
  disabled: false,
@@ -64,8 +64,8 @@ export interface C4ManagementUsageTabProps {
64
64
  isLicensingModel2025?: boolean;
65
65
  /**
66
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.
67
+ * from HDP, so the host gates it on the licensing model — the same gate the
68
+ * billing tab's tenants card uses.
69
69
  */
70
70
  showTenants?: boolean;
71
71
  /**
@@ -3,6 +3,8 @@ import type { JSX } from 'react';
3
3
  import type { C4InviteUserToOrganizationRole } from '../../../components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.types.js';
4
4
  import type { UserDataTableRow } from '../../../components/c4-management-users/c4-management-users.types.js';
5
5
  export interface C4ManagementUsersTabProps {
6
+ /** True when the organization uses environments. Passed to the invite modal. */
7
+ environmentsEnabled?: boolean;
6
8
  orgId: string;
7
9
  members: UserDataTableRow[];
8
10
  loading: boolean;
@@ -35,4 +37,4 @@ export interface C4ManagementUsersTabProps {
35
37
  onAssignNewOwner: (newOwnerUserId: string, oldOwnerNewRoles: string[]) => Promise<void>;
36
38
  onUpdateUserRoles: (userId: string, roles: string[]) => Promise<void>;
37
39
  }
38
- export declare const C4ManagementUsersTab: ({ orgId, members, loading, mayManageUsersActions, mayInviteUsers, mayAssignNewOwner, showLegacyClusterRoles, permissionsReworkEnabled, inviteModal, changeRolesModal, currentUserEmail, onNavigateToUser, t, telemetry, onRemoveUser, onInviteUser, onResendInvite, onCancelInvite, onAssignNewOwner, onUpdateUserRoles, }: C4ManagementUsersTabProps) => JSX.Element;
40
+ export declare const C4ManagementUsersTab: ({ orgId, members, loading, mayManageUsersActions, mayInviteUsers, mayAssignNewOwner, showLegacyClusterRoles, permissionsReworkEnabled, environmentsEnabled, inviteModal, changeRolesModal, currentUserEmail, onNavigateToUser, t, telemetry, onRemoveUser, onInviteUser, onResendInvite, onCancelInvite, onAssignNewOwner, onUpdateUserRoles, }: C4ManagementUsersTabProps) => JSX.Element;
@@ -12,7 +12,7 @@ import { C4ManagementUsers } from '../../../components/c4-management-users/c4-ma
12
12
  import { Checkbox, Link, Modal, Stack, TextInput } from '../../../ui/index.js';
13
13
  import { isLegacyLabeledRole, isRoleAssignable, legacySectionRoles, moreRolesHeadingText, orderPrimaryRoles, roleLabelDescription, } from '../../../utils/role-labels.js';
14
14
  import { safeTranslate } from '../../../utils/safe-translate.js';
15
- export const C4ManagementUsersTab = ({ orgId, members, loading, mayManageUsersActions, mayInviteUsers, mayAssignNewOwner, showLegacyClusterRoles = false, permissionsReworkEnabled = false, inviteModal, changeRolesModal, currentUserEmail, onNavigateToUser, t, telemetry, onRemoveUser, onInviteUser, onResendInvite, onCancelInvite, onAssignNewOwner, onUpdateUserRoles, }) => {
15
+ export const C4ManagementUsersTab = ({ orgId, members, loading, mayManageUsersActions, mayInviteUsers, mayAssignNewOwner, showLegacyClusterRoles = false, permissionsReworkEnabled = false, environmentsEnabled = false, inviteModal, changeRolesModal, currentUserEmail, onNavigateToUser, t, telemetry, onRemoveUser, onInviteUser, onResendInvite, onCancelInvite, onAssignNewOwner, onUpdateUserRoles, }) => {
16
16
  const trackEvent = (eventName, message, meta) => {
17
17
  telemetry?.track?.(eventName, {
18
18
  message,
@@ -556,7 +556,7 @@ export const C4ManagementUsersTab = ({ orgId, members, loading, mayManageUsersAc
556
556
  return next;
557
557
  });
558
558
  } }), _jsx("span", { className: 'cds--label', style: { marginLeft: '27px' }, children: enriched.description })] }, `management-role-more-${role}`));
559
- })] })] }) })), _jsx(C4InviteUserToOrganizationModal, { t: t, showAdminRole: inviteModal?.showAdminRole, showLegacyClusterRoles: showLegacyClusterRoles, permissionsReworkEnabled: permissionsReworkEnabled, learnMoreUrl: inviteModal?.learnMoreUrl, onInviteUser: async ({ email, roles }) => {
559
+ })] })] }) })), _jsx(C4InviteUserToOrganizationModal, { t: t, showAdminRole: inviteModal?.showAdminRole, showLegacyClusterRoles: showLegacyClusterRoles, permissionsReworkEnabled: permissionsReworkEnabled, environmentsEnabled: environmentsEnabled, learnMoreUrl: inviteModal?.learnMoreUrl, onInviteUser: async ({ email, roles }) => {
560
560
  await onInviteUser(email, roles);
561
561
  }, ref: (instance) => {
562
562
  inviteModalRef.current = instance ?? undefined;
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
2
  import type { C4UserDetailsPageProps } from './c4-user-details-page.types.js';
3
- export declare const C4UserDetailsPage: (({ orgId, userEmail, externalLinks, onNavigate, permissionsReworkEnabled, }: C4UserDetailsPageProps) => React.ReactElement) & {
3
+ export declare const C4UserDetailsPage: (({ orgId, userEmail, externalLinks, onNavigate, permissionsReworkEnabled, environmentsEnabled, }: C4UserDetailsPageProps) => React.ReactElement) & {
4
4
  displayName: string;
5
5
  };
@@ -29,7 +29,7 @@ function sendNavigate(onNavigate, event) {
29
29
  function resolveLinks(links) {
30
30
  return getC4UserDetailsExternalLinks(links);
31
31
  }
32
- export const C4UserDetailsPage = observer(({ orgId, userEmail, externalLinks, onNavigate, permissionsReworkEnabled = false, }) => {
32
+ export const C4UserDetailsPage = observer(({ orgId, userEmail, externalLinks, onNavigate, permissionsReworkEnabled = false, environmentsEnabled = false, }) => {
33
33
  const runtime = useC4ConsoleRuntime();
34
34
  const data = useC4ConsoleData();
35
35
  const authz = useC4ConsoleAuthz({ orgId });
@@ -397,7 +397,9 @@ export const C4UserDetailsPage = observer(({ orgId, userEmail, externalLinks, on
397
397
  return next;
398
398
  });
399
399
  } }), _jsx("span", { className: 'cds--label', style: { marginLeft: '27px' }, children: enriched.description })] }, `role-primary-${role}`));
400
- }), _jsxs("div", { style: { margin: '16px 0' }, children: [_jsx(C4InlineNotification, { lowContrast: true, kind: 'info', hideCloseButton: true, title: '', subtitle: safeTranslate(t, 'users:changeOrgRoles.notification.title', 'Starting with version 8.8, user access to clusters is managed independently.') }), _jsxs("p", { style: { paddingTop: '4px' }, children: [_jsx(Link, { href: 'https://docs.camunda.io/', onClick: (e) => {
400
+ }), _jsxs("div", { style: { margin: '16px 0' }, children: [_jsx(C4InlineNotification, { lowContrast: true, kind: 'info', hideCloseButton: true, title: '', subtitle: environmentsEnabled
401
+ ? safeTranslate(t, 'users:changeOrgRoles.notification.titleEnvironments', 'Starting with version 8.8, user access to environments is managed independently.')
402
+ : safeTranslate(t, 'users:changeOrgRoles.notification.title', 'Starting with version 8.8, user access to clusters is managed independently.') }), _jsxs("p", { style: { paddingTop: '4px' }, children: [_jsx(Link, { href: 'https://docs.camunda.io/', onClick: (e) => {
401
403
  if (!onNavigate) {
402
404
  return;
403
405
  }
@@ -479,6 +481,7 @@ export const C4UserDetailsPage = observer(({ orgId, userEmail, externalLinks, on
479
481
  data,
480
482
  editableRoles.more,
481
483
  editableRoles.primary,
484
+ environmentsEnabled,
482
485
  isAssignableBlockedByVisibility,
483
486
  isAuthorizedResourcesReady,
484
487
  links.identityAuthorizationsDocsUrl,
@@ -27,4 +27,9 @@ export interface C4UserDetailsPageProps {
27
27
  onNavigate?: (event: C4UserDetailsNavigateEvent) => void;
28
28
  /** See `C4ManagementAppProps.permissionsReworkEnabled` (camunda-hub#25467). */
29
29
  permissionsReworkEnabled?: boolean;
30
+ /**
31
+ * True when the organization uses environments. See
32
+ * `C4ManagementAppProps.environmentsEnabled`. Defaults to false.
33
+ */
34
+ environmentsEnabled?: boolean;
30
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/ccma-saas-frontend",
3
- "version": "0.15.1",
3
+ "version": "0.17.0",
4
4
  "description": "Camunda Composite Components",
5
5
  "bugs": {
6
6
  "url": "https://github.com/camunda/camunda-cloud-management-apps/issues"
@@ -47,36 +47,36 @@
47
47
  "@playwright/test": "1.63.0",
48
48
  "@camunda/c4-identity": "0.0.45",
49
49
  "@camunda/camunda-composite-components": "0.25.4",
50
- "@camunda/design-system": "0.62.0",
51
- "@carbon/charts": "1.27.18",
52
- "@carbon/charts-react": "1.27.18",
53
- "@carbon/layout": "11.58.0",
50
+ "@camunda/design-system": "0.68.1",
51
+ "@carbon/charts": "1.27.20",
52
+ "@carbon/charts-react": "1.27.20",
53
+ "@carbon/layout": "11.60.0",
54
54
  "@carbon/motion": "^11.46.0",
55
- "@carbon/react": "1.115.0",
56
- "@carbon/styles": "^1.107.0",
55
+ "@carbon/react": "1.117.0",
56
+ "@carbon/styles": "^1.116.0",
57
57
  "@carbon/themes": "^11.74.0",
58
- "@carbon/type": "11.66.0",
58
+ "@carbon/type": "11.68.0",
59
59
  "recharts": "3.10.1",
60
- "@chromatic-com/storybook": "5.3.1",
60
+ "@chromatic-com/storybook": "5.4.0",
61
61
  "@mdx-js/react": "3.1.1",
62
- "@storybook/addon-docs": "10.6.0",
63
- "@storybook/addon-links": "10.6.0",
64
- "@storybook/react": "10.6.0",
65
- "@storybook/react-vite": "10.6.0",
62
+ "@storybook/addon-docs": "10.6.1",
63
+ "@storybook/addon-links": "10.6.1",
64
+ "@storybook/react": "10.6.1",
65
+ "@storybook/react-vite": "10.6.1",
66
66
  "@testing-library/jest-dom": "7.0.1",
67
67
  "@testing-library/react": "16.3.3",
68
68
  "@testing-library/user-event": "14.6.7",
69
69
  "eslint-import-resolver-typescript": "4.4.5",
70
70
  "eslint-plugin-react": "7.37.5",
71
71
  "eslint-plugin-react-hooks": "7.1.1",
72
- "eslint-plugin-storybook": "10.6.0",
73
- "jsdom": "30.0.1",
74
- "lucide-react": "1.42.0",
75
- "react": "19.2.8",
76
- "react-dom": "19.2.8",
77
- "react-is": "19.2.8",
72
+ "eslint-plugin-storybook": "10.6.1",
73
+ "jsdom": "30.1.1",
74
+ "lucide-react": "1.52.0",
75
+ "react": "19.3.0",
76
+ "react-dom": "19.3.0",
77
+ "react-is": "19.3.0",
78
78
  "rimraf": "6.1.3",
79
- "storybook": "10.6.0",
79
+ "storybook": "10.6.1",
80
80
  "styled-components": "6.5.3"
81
81
  },
82
82
  "peerDependencies": {
@@ -96,10 +96,10 @@
96
96
  "react-markdown": "^8.0.7 || ^10.0.0"
97
97
  },
98
98
  "dependencies": {
99
- "@camunda/ccma-api": "3.1.0",
100
- "@camunda/ccma-shared-types": "5.0.0",
99
+ "@camunda/ccma-api": "5.0.0",
100
+ "@camunda/ccma-shared-types": "7.0.0",
101
101
  "@pactsafe/pactsafe-react-sdk": "2.15.0",
102
- "cron-parser": "5.10.0",
102
+ "cron-parser": "5.10.1",
103
103
  "mobx": "6.16.1",
104
104
  "mobx-react-lite": "4.1.1",
105
105
  "mobx-state-tree": "7.4.0"
@@ -1,10 +0,0 @@
1
- /**
2
- * The flag that offers a duplicate of a cluster. The create page and every menu
3
- * that opens it read this flag, thus one name holds the dot path.
4
- *
5
- * console-backend answers 501 for the same flag, on
6
- * `POST /orgs/:orgId/clusters/:clusterId/duplicate`. A host that does not know
7
- * the flag reads it as off (see `useC4FeatureFlag`), thus no menu shows the
8
- * entry and the create page makes a normal cluster.
9
- */
10
- export declare const CLUSTER_DUPLICATION_FLAG = "console.clusterDuplication";
@@ -1,15 +0,0 @@
1
- /*
2
- * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
- * under one or more contributor license agreements. Licensed under a commercial license.
4
- * You may not use this file except in compliance with the commercial license.
5
- */
6
- /**
7
- * The flag that offers a duplicate of a cluster. The create page and every menu
8
- * that opens it read this flag, thus one name holds the dot path.
9
- *
10
- * console-backend answers 501 for the same flag, on
11
- * `POST /orgs/:orgId/clusters/:clusterId/duplicate`. A host that does not know
12
- * the flag reads it as off (see `useC4FeatureFlag`), thus no menu shows the
13
- * entry and the create page makes a normal cluster.
14
- */
15
- export const CLUSTER_DUPLICATION_FLAG = 'console.clusterDuplication';
@@ -1,13 +0,0 @@
1
- import type { JSX } from 'react';
2
- export interface C4ManagementGroupsTabProps {
3
- orgId: string;
4
- groupsPermissions: {
5
- maySee: boolean;
6
- mayAssign: boolean;
7
- hasAtLeastOneIdentityIntegrationCluster: boolean;
8
- };
9
- introToIdentityDocsUrl?: string;
10
- identityAuthorizationsDocsUrl?: string;
11
- onGroupClick: (groupId: string) => void;
12
- }
13
- export declare const C4ManagementGroupsTab: (props: C4ManagementGroupsTabProps) => JSX.Element;
@@ -1,26 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, 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 { C4GroupsList } from '@camunda/c4-identity';
8
- import { Stack } from '../../../ui/index.js';
9
- export const C4ManagementGroupsTab = (props) => {
10
- return (_jsx(Stack, { gap: 3, children: _jsx(C4GroupsList, { docsPath: '/next/components/console/manage-organization/manage-user-groups/', onGroupClick: (groupId) => {
11
- props.onGroupClick(groupId);
12
- }, permissions: props.groupsPermissions, notification: {
13
- visible: true,
14
- title: 'Organization group management updates starting with 8.8 clusters',
15
- description: (_jsx(_Fragment, { children: _jsxs("p", { children: ["Starting with version 8.8, groups created in Console are no longer recommended for use; instead, user groups and authorizations must be managed in the", ' ', props.introToIdentityDocsUrl ? (_jsx("a", { href: props.introToIdentityDocsUrl, target: '_blank', rel: 'noopener noreferrer', children: "cluster's Admin component." })) : (_jsx("span", { children: "cluster's Admin component." }))] }) })),
16
- action: {
17
- label: 'Learn more',
18
- onClick: () => {
19
- if (!props.identityAuthorizationsDocsUrl) {
20
- return;
21
- }
22
- window.open(props.identityAuthorizationsDocsUrl, '_blank', 'noopener,noreferrer');
23
- },
24
- },
25
- } }) }));
26
- };