@camunda/ccma-saas-frontend 0.7.1 → 0.8.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 (167) hide show
  1. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.d.ts +1 -1
  2. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.js +9 -5
  3. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.types.d.ts +6 -0
  4. package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.js +2 -1
  5. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.js +9 -0
  6. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.mocks.js +6 -3
  7. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.types.d.ts +3 -0
  8. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +9 -0
  9. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.mocks.js +2 -0
  10. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.types.d.ts +2 -0
  11. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.d.ts +1 -1
  12. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +19 -21
  13. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.types.d.ts +19 -2
  14. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +4 -3
  15. package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js +2 -1
  16. package/lib/esm/components/c4-cluster-list/c4-cluster-list.d.ts +1 -1
  17. package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +6 -4
  18. package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +7 -0
  19. package/lib/esm/components/c4-cluster-overview/applications.d.ts +20 -0
  20. package/lib/esm/components/c4-cluster-overview/applications.js +37 -24
  21. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.d.ts +1 -1
  22. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +5 -5
  23. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.mocks.d.ts +6 -1
  24. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.mocks.js +15 -2
  25. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.types.d.ts +10 -0
  26. package/lib/esm/components/c4-cluster-overview/cluster-details.d.ts +7 -0
  27. package/lib/esm/components/c4-cluster-overview/cluster-details.js +5 -2
  28. package/lib/esm/components/c4-cluster-overview/cluster-load.d.ts +8 -0
  29. package/lib/esm/components/c4-cluster-overview/cluster-load.js +20 -8
  30. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.d.ts +1 -1
  31. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.js +4 -2
  32. package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.types.d.ts +4 -0
  33. package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.d.ts +3 -1
  34. package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.js +7 -3
  35. package/lib/esm/components/c4-cluster-settings/elements/danger-zone.js +2 -1
  36. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.d.ts +9 -1
  37. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.js +69 -12
  38. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.d.ts +10 -1
  39. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.js +16 -2
  40. package/lib/esm/components/c4-cluster-settings/elements/optional-telemetry-toggle.d.ts +14 -0
  41. package/lib/esm/components/c4-cluster-settings/elements/optional-telemetry-toggle.js +12 -0
  42. package/lib/esm/components/c4-cluster-settings/elements/secrets-filter-mode-toggle.d.ts +15 -0
  43. package/lib/esm/components/c4-cluster-settings/elements/secrets-filter-mode-toggle.js +10 -0
  44. package/lib/esm/components/c4-cluster-settings/elements/settings-tile.js +2 -1
  45. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.d.ts +4 -2
  46. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.js +24 -3
  47. package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +1 -1
  48. package/lib/esm/components/c4-create-cluster/c4-create-cluster.mocks.js +1 -0
  49. package/lib/esm/components/c4-create-cluster/c4-create-cluster.types.d.ts +2 -0
  50. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +1 -1
  51. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +2 -2
  52. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.mocks.js +10 -5
  53. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.d.ts +10 -0
  54. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-chart-heading.js +2 -1
  55. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.js +3 -2
  56. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.js +3 -2
  57. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.d.ts +1 -1
  58. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +7 -2
  59. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts +8 -0
  60. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.d.ts +1 -1
  61. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +2 -2
  62. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.mocks.js +10 -5
  63. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts +10 -0
  64. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +3 -2
  65. package/lib/esm/components/c4-link-button/c4-link-button.d.ts +1 -1
  66. package/lib/esm/components/c4-link-button/c4-link-button.js +2 -2
  67. package/lib/esm/components/c4-link-button/c4-link-button.types.d.ts +6 -0
  68. package/lib/esm/components/c4-page-template/c4-page-template.d.ts +13 -1
  69. package/lib/esm/components/c4-page-template/c4-page-template.js +3 -3
  70. package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.js +1 -1
  71. package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.types.d.ts +5 -0
  72. package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js +2 -1
  73. package/lib/esm/externalUrls.const.d.ts +1 -1
  74. package/lib/esm/externalUrls.const.js +1 -1
  75. package/lib/esm/i18n/c4-console-i18n.js +6 -0
  76. package/lib/esm/i18n/en/pages/clusterdetails.json +28 -3
  77. package/lib/esm/i18n/en/pages/job-dashboard.json +2 -0
  78. package/lib/esm/index.d.ts +13 -3
  79. package/lib/esm/index.js +7 -3
  80. package/lib/esm/runtime/build-cluster-sso-callback-url.d.ts +34 -0
  81. package/lib/esm/runtime/build-cluster-sso-callback-url.js +49 -0
  82. package/lib/esm/runtime/build-cluster-swagger-url.d.ts +7 -2
  83. package/lib/esm/runtime/build-cluster-swagger-url.js +20 -5
  84. package/lib/esm/runtime/index.d.ts +2 -0
  85. package/lib/esm/runtime/index.js +2 -0
  86. package/lib/esm/ui/families.d.ts +4 -0
  87. package/lib/esm/ui/families.js +22 -2
  88. package/lib/esm/utils/safe-translate.d.ts +27 -0
  89. package/lib/esm/utils/safe-translate.js +56 -0
  90. package/lib/esm/utils/section-heading-style.d.ts +13 -0
  91. package/lib/esm/utils/section-heading-style.js +25 -0
  92. package/lib/esm/widgets/c4-widget-scope.types.d.ts +20 -0
  93. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.d.ts +16 -1
  94. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +92 -74
  95. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +27 -0
  96. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.d.ts +1 -1
  97. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +81 -13
  98. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +24 -0
  99. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +3 -2
  100. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.d.ts +10 -1
  101. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +8 -13
  102. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.d.ts +42 -2
  103. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +38 -23
  104. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.d.ts +7 -0
  105. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.js +26 -5
  106. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.d.ts +16 -1
  107. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +50 -18
  108. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +174 -3
  109. package/lib/esm/widgets/cluster-details/tabs/cluster-load-texts.d.ts +13 -0
  110. package/lib/esm/widgets/cluster-details/tabs/cluster-load-texts.js +29 -0
  111. package/lib/esm/widgets/cluster-health-override.d.ts +16 -0
  112. package/lib/esm/widgets/cluster-health-override.js +33 -0
  113. package/lib/esm/widgets/clusters/c4-clusters-page.d.ts +1 -1
  114. package/lib/esm/widgets/clusters/c4-clusters-page.js +10 -10
  115. package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +7 -0
  116. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.d.ts +1 -1
  117. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +10 -5
  118. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.types.d.ts +9 -0
  119. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.d.ts +1 -1
  120. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +10 -5
  121. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.types.d.ts +9 -0
  122. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.d.ts +1 -1
  123. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.js +10 -5
  124. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.types.d.ts +9 -0
  125. package/lib/esm/widgets/connector-management/c4-connector-management-page.d.ts +1 -1
  126. package/lib/esm/widgets/connector-management/c4-connector-management-page.js +10 -5
  127. package/lib/esm/widgets/connector-management/c4-connector-management-page.types.d.ts +10 -0
  128. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.js +1 -1
  129. package/lib/esm/widgets/environment/c4-cluster-api-clients-widget.d.ts +5 -0
  130. package/lib/esm/widgets/environment/c4-cluster-api-clients-widget.js +66 -0
  131. package/lib/esm/widgets/environment/c4-cluster-api-clients-widget.types.d.ts +21 -0
  132. package/lib/esm/widgets/environment/c4-cluster-connector-secrets-widget.d.ts +5 -0
  133. package/lib/esm/widgets/environment/c4-cluster-connector-secrets-widget.js +59 -0
  134. package/lib/esm/widgets/environment/c4-cluster-connector-secrets-widget.types.d.ts +22 -0
  135. package/lib/esm/widgets/environment/c4-cluster-connector-secrets-widget.types.js +6 -0
  136. package/lib/esm/widgets/environment/use-cluster-api-clients.d.ts +26 -0
  137. package/lib/esm/widgets/environment/use-cluster-api-clients.js +48 -0
  138. package/lib/esm/widgets/environment/use-cluster-swagger-url.d.ts +22 -0
  139. package/lib/esm/widgets/environment/use-cluster-swagger-url.js +47 -0
  140. package/lib/esm/widgets/environment/use-cluster-version-flags.d.ts +16 -0
  141. package/lib/esm/widgets/environment/use-cluster-version-flags.js +40 -0
  142. package/lib/esm/widgets/job-worker/c4-job-worker-details-page.d.ts +1 -1
  143. package/lib/esm/widgets/job-worker/c4-job-worker-details-page.js +34 -25
  144. package/lib/esm/widgets/job-worker/c4-job-worker-overview-page.d.ts +1 -1
  145. package/lib/esm/widgets/job-worker/c4-job-worker-overview-page.js +26 -21
  146. package/lib/esm/widgets/job-worker/c4-job-worker.helpers.d.ts +12 -0
  147. package/lib/esm/widgets/job-worker/c4-job-worker.helpers.js +6 -0
  148. package/lib/esm/widgets/job-worker/c4-job-worker.types.d.ts +19 -0
  149. package/package.json +25 -25
  150. package/lib/esm/components/c4-advanced-search-filters/ArrayFieldContainer.d.ts +0 -16
  151. package/lib/esm/components/c4-advanced-search-filters/ArrayFieldContainer.js +0 -40
  152. package/lib/esm/components/c4-advanced-search-filters/AutosuggestInput.d.ts +0 -16
  153. package/lib/esm/components/c4-advanced-search-filters/AutosuggestInput.js +0 -142
  154. package/lib/esm/components/c4-advanced-search-filters/FieldRow.d.ts +0 -14
  155. package/lib/esm/components/c4-advanced-search-filters/FieldRow.js +0 -136
  156. package/lib/esm/components/c4-advanced-search-filters/FiltersSection.d.ts +0 -13
  157. package/lib/esm/components/c4-advanced-search-filters/FiltersSection.js +0 -58
  158. package/lib/esm/components/c4-advanced-search-filters/OrSection.d.ts +0 -16
  159. package/lib/esm/components/c4-advanced-search-filters/OrSection.js +0 -118
  160. package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.d.ts +0 -3
  161. package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.js +0 -408
  162. package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.types.d.ts +0 -32
  163. package/lib/esm/components/c4-advanced-search-filters/state.types.d.ts +0 -14
  164. package/lib/esm/components/c4-advanced-search-filters/utils.d.ts +0 -5
  165. package/lib/esm/components/c4-advanced-search-filters/utils.js +0 -58
  166. /package/lib/esm/{components/c4-advanced-search-filters/c4-advanced-search-filters.types.js → widgets/c4-widget-scope.types.js} +0 -0
  167. /package/lib/esm/{components/c4-advanced-search-filters/state.types.js → widgets/environment/c4-cluster-api-clients-widget.types.js} +0 -0
@@ -1,6 +1,7 @@
1
1
  import type { RequestBaseParamsConfig } from '@camunda/ccma-api';
2
2
  import type { JSX } from 'react';
3
- type TranslateFn = (key: string, options?: Record<string, unknown>) => string;
3
+ import type { C4WidgetScope } from '../../c4-widget-scope.types.js';
4
+ type SecretsTranslateFn = (key: string, options?: Record<string, unknown>) => string;
4
5
  interface C4ClusterDetailsConnectorSecretsTabProps {
5
6
  orgId: string;
6
7
  clusterId: string;
@@ -13,12 +14,51 @@ interface C4ClusterDetailsConnectorSecretsTabProps {
13
14
  canDelete: boolean;
14
15
  };
15
16
  docsUrl?: string;
16
- t?: TranslateFn;
17
+ t?: SecretsTranslateFn;
17
18
  onNavigate?: (event: {
18
19
  kind: string;
19
20
  url?: string;
20
21
  }) => void;
21
22
  useClusterSecretsLabel?: boolean;
23
+ /**
24
+ * The caller is still resolving `connectorSecretsPermissions`.
25
+ *
26
+ * Until the permissions resolve, `canRead` is `false` and this tab cannot
27
+ * fetch. Without this flag the tab then reads as "loaded, and empty", and it
28
+ * shows the empty state for one render pass.
29
+ *
30
+ * The cluster-details page folds the same signal into its own page loading
31
+ * state. The standalone widget passes it here instead.
32
+ */
33
+ permissionsLoading?: boolean;
34
+ /**
35
+ * Surface this tab is rendered on. Defaults to `'cluster'`.
36
+ *
37
+ * Only the cluster-secrets info text is scoped — it is the one string here
38
+ * that names the surface ("…credentials in your cluster"). The feature name
39
+ * ("Connector secrets" / "Cluster secrets", chosen by `useClusterSecretsLabel`
40
+ * from the cluster's version) is product naming, not a surface descriptor, and
41
+ * does not change with scope; nor do the empty-state descriptions, which
42
+ * describe the secrets vault without naming a surface.
43
+ */
44
+ scope?: C4WidgetScope;
45
+ /**
46
+ * Reports the resolved panel title and whether the panel is currently
47
+ * showing its empty state (loaded, no error, zero secrets).
48
+ *
49
+ * Embedded in Console's cluster-details tab strip, the feature name is
50
+ * carried by the surrounding tab label, and the panel itself only shows
51
+ * `title` when it has secrets to list (via the data table's own heading) —
52
+ * its empty state shows a generic "No secrets" heading instead. A
53
+ * standalone host with no tab strip has nowhere else to show the feature
54
+ * name when the list is empty, so it needs to know both pieces of state to
55
+ * render its own heading exactly once, reusing this tab's own key/fallback
56
+ * resolution rather than re-deriving the title independently.
57
+ */
58
+ onPanelState?: (state: {
59
+ isEmpty: boolean;
60
+ title: string;
61
+ }) => void;
22
62
  }
23
63
  export declare const C4ClusterDetailsConnectorSecretsTab: ((props: C4ClusterDetailsConnectorSecretsTabProps) => JSX.Element) & {
24
64
  displayName: string;
@@ -10,23 +10,7 @@ import { useC4ConsoleData } from '../../../runtime/c4-console-data-context.js';
10
10
  import { useC4ConsoleRuntime } from '../../../runtime/c4-console-runtime-context.js';
11
11
  import { CodeSnippet, Form, Link, Modal, Stack, TextArea, TextInput, } from '../../../ui/index.js';
12
12
  import { useSelectFamily } from '../../../ui/families.js';
13
- function safeTranslate(t, key, fallback) {
14
- if (!t)
15
- return fallback;
16
- const result = t(key);
17
- if (!result || result === key) {
18
- return fallback;
19
- }
20
- // i18next can return the key *without* the namespace when the namespace is missing.
21
- // Example: `clusterdetails:searchLabel` -> `searchLabel`
22
- if (key.includes(':')) {
23
- const withoutNamespace = key.split(':').slice(1).join(':');
24
- if (result === withoutNamespace) {
25
- return fallback;
26
- }
27
- }
28
- return result;
29
- }
13
+ import { safeTranslate, scopedTranslate } from '../../../utils/safe-translate.js';
30
14
  function renderInlineStrong(value) {
31
15
  const match = value.match(/^(.*)<strong>(.*)<\/strong>(.*)$/);
32
16
  if (!match)
@@ -43,12 +27,19 @@ function renderInlineLink0(value, linkRenderer) {
43
27
  }
44
28
  const C4ClusterDetailsConnectorSecretsTabImpl = (props) => {
45
29
  const { Select, SelectItem } = useSelectFamily();
46
- const { orgId, clusterId, apiConfig, canMutateCluster, connectorSecretsPermissions, docsUrl, t, onNavigate, useClusterSecretsLabel, } = props;
30
+ const { orgId, clusterId, apiConfig, canMutateCluster, connectorSecretsPermissions, docsUrl, t, onNavigate, useClusterSecretsLabel, permissionsLoading = false, scope = 'cluster', onPanelState, } = props;
47
31
  const pickSecretsText = (connectorKey, connectorFallback, clusterKey, clusterFallback) => useClusterSecretsLabel
48
32
  ? safeTranslate(t, clusterKey, clusterFallback)
49
33
  : safeTranslate(t, connectorKey, connectorFallback);
50
34
  const data = useC4ConsoleData();
51
35
  const runtime = useC4ConsoleRuntime();
36
+ // Console's own cluster-details page never mounts this tab without read
37
+ // access — the tab is filtered out of the tab list entirely when the org
38
+ // lacks `cluster.connectorSecrets.read`. The standalone widget has no such
39
+ // gate and always mounts this component, so the fetch itself must check
40
+ // read permission — mirroring the sibling API-clients widget, which passes
41
+ // `enabled: canReadClients` into its own fetch hook.
42
+ const canReadSecrets = connectorSecretsPermissions?.canRead ?? canMutateCluster;
52
43
  const trackEvent = useCallback((eventName, message, meta) => {
53
44
  runtime.telemetry?.track?.(eventName, {
54
45
  message,
@@ -90,6 +81,9 @@ const C4ClusterDetailsConnectorSecretsTabImpl = (props) => {
90
81
  const [fetchingSourceSecrets, setFetchingSourceSecrets] = useState(false);
91
82
  const [sourceClusterInvalid, setSourceClusterInvalid] = useState(false);
92
83
  const reloadConnectorSecrets = useCallback(async () => {
84
+ if (!canReadSecrets) {
85
+ return;
86
+ }
93
87
  if (connectorSecretsLoadingRef.current) {
94
88
  return;
95
89
  }
@@ -112,7 +106,7 @@ const C4ClusterDetailsConnectorSecretsTabImpl = (props) => {
112
106
  connectorSecretsLoadingRef.current = false;
113
107
  setConnectorSecretsLoading(false);
114
108
  }
115
- }, [apiConfig, clusterId, orgId]);
109
+ }, [apiConfig, canReadSecrets, clusterId, orgId]);
116
110
  const exportConnectorSecrets = useCallback(async () => {
117
111
  if (!connectorSecretsLoadedRef.current) {
118
112
  await reloadConnectorSecrets();
@@ -155,16 +149,35 @@ const C4ClusterDetailsConnectorSecretsTabImpl = (props) => {
155
149
  key,
156
150
  isProtected: key.startsWith('CAMUNDA_PROVIDED_'),
157
151
  }));
158
- const emptyDescription = renderInlineStrong(pickSecretsText('clusterdetails:connectorSecrets.noSecrets.description', 'Create a connector secret to use in your connectors.', 'clusterdetails:clusterSecrets.noSecrets.description', 'Create a cluster secret to reference encrypted credentials in your cluster.'));
159
- const infoText = renderInlineLink0(pickSecretsText('clusterdetails:connectorSecrets.infoText', 'Learn more about connector secrets in our <0>documentation</0>.', 'clusterdetails:clusterSecrets.infoText', 'Learn more about cluster secrets in our <0>documentation</0>.'), (label) => (_jsx(Link, { size: 'sm', href: docsUrl ?? '', onClick: (e) => {
152
+ const title = pickSecretsText('clusterdetails:connectorSecrets.title', 'Connector secrets', 'clusterdetails:clusterSecrets.title', 'Cluster secrets');
153
+ // `permissionsLoading` counts as loading. The fetch cannot start yet, so
154
+ // "no secrets" is not a fact yet.
155
+ const isListLoading = connectorSecretsLoading || permissionsLoading;
156
+ const isEmpty = !isListLoading && !connectorSecretsError && secrets.length === 0;
157
+ useEffect(() => {
158
+ onPanelState?.({ isEmpty, title });
159
+ }, [isEmpty, title, onPanelState]);
160
+ // Neither empty-state description names a surface — the connector-secrets one
161
+ // reads "…in your connectors", and the cluster-secrets one explains the
162
+ // secrets vault without ever saying "cluster". Scope-neutral copy takes no
163
+ // scoped key: only strings that actually describe the surface get one.
164
+ const emptyDescription = renderInlineStrong(useClusterSecretsLabel
165
+ ? safeTranslate(t, 'clusterdetails:clusterSecrets.noSecrets.description', 'Create a cluster secret to reference encrypted credentials in your cluster.')
166
+ : safeTranslate(t, 'clusterdetails:connectorSecrets.noSecrets.description', 'Create a connector secret to use in your connectors.'));
167
+ // The cluster-secrets info text is the one string here that names the surface
168
+ // ("…credentials in your cluster"), so it is the one that takes a scoped key.
169
+ // The connector-secrets variant is scope-neutral and stays unscoped.
170
+ const infoText = renderInlineLink0(useClusterSecretsLabel
171
+ ? scopedTranslate(t, scope, 'clusterdetails:clusterSecrets.infoText', 'Learn more about cluster secrets in our <0>documentation</0>.', 'Learn more about cluster secrets in our <0>documentation</0>.')
172
+ : safeTranslate(t, 'clusterdetails:connectorSecrets.infoText', 'Learn more about connector secrets in our <0>documentation</0>.'), (label) => (_jsx(Link, { size: 'sm', href: docsUrl ?? '', onClick: (e) => {
160
173
  e.preventDefault();
161
174
  onNavigate?.({
162
175
  kind: 'openUrl',
163
176
  url: docsUrl ?? '',
164
177
  });
165
178
  }, children: label })));
166
- return (_jsxs(_Fragment, { children: [_jsx(C4ClusterDetailsConnectorSecrets, { secrets: secrets, isLoading: connectorSecretsLoading, hasError: connectorSecretsError, hasImportFromClusterFeature: true, hasExportFeature: true, text: {
167
- title: pickSecretsText('clusterdetails:connectorSecrets.title', 'Connector secrets', 'clusterdetails:clusterSecrets.title', 'Cluster secrets'),
179
+ return (_jsxs(_Fragment, { children: [_jsx(C4ClusterDetailsConnectorSecrets, { secrets: secrets, isLoading: isListLoading, hasError: connectorSecretsError, hasImportFromClusterFeature: true, hasExportFeature: true, text: {
180
+ title,
168
181
  createButton: safeTranslate(t, 'clusterdetails:connectorSecrets.createButton', 'Create secret'),
169
182
  bulkImportButton: safeTranslate(t, 'clusterdetails:connectorSecrets.bulkImportButton', 'Bulk import'),
170
183
  importFromClusterButton: safeTranslate(t, 'clusterdetails:connectorSecrets.importFromClusterButton', 'Import from cluster'),
@@ -186,6 +199,8 @@ const C4ClusterDetailsConnectorSecretsTabImpl = (props) => {
186
199
  infoText,
187
200
  // Label for the badge shown on CAMUNDA_PROVIDED_ secrets
188
201
  protectedBadge: safeTranslate(t, 'clusterdetails:connectorSecrets.protectedBadge', 'Hidden'),
202
+ forbiddenTitle: pickSecretsText('clusterdetails:connectorSecrets.forbidden.title', "You don't have access to connector secrets", 'clusterdetails:clusterSecrets.forbidden.title', "You don't have access to cluster secrets"),
203
+ forbiddenDescription: pickSecretsText('clusterdetails:connectorSecrets.forbidden.description', "You don't have permission to view connector secrets for this cluster. Contact an organization owner or admin for access.", 'clusterdetails:clusterSecrets.forbidden.description', "You don't have permission to view cluster secrets for this cluster. Contact an organization owner or admin for access."),
189
204
  }, urls: { docs: docsUrl ?? '' }, permissions: {
190
205
  canCreate: connectorSecretsPermissions?.canCreate ?? canMutateCluster,
191
206
  canRead: connectorSecretsPermissions?.canRead ?? canMutateCluster,
@@ -13,6 +13,13 @@ interface C4ClusterDetailsEncryptionTabProps {
13
13
  restoreInProgress?: boolean;
14
14
  /** True when this cluster was created by failing over from a sibling. */
15
15
  isFailoverTarget?: boolean;
16
+ /**
17
+ * True when this is a dual-region BYOK cluster and the secondary region's
18
+ * key is not accessible. Computed by the caller (not here), so the
19
+ * Encryption tab's own warning and the page-header indicator can never
20
+ * disagree about whether there's a problem.
21
+ */
22
+ secondaryReplicationNotReady?: boolean;
16
23
  docsUrls: {
17
24
  encryption: string;
18
25
  encryptionCli: string;
@@ -23,8 +23,21 @@ function toIsoString(value) {
23
23
  const date = value instanceof Date ? value : new Date(String(value));
24
24
  return Number.isNaN(date.getTime()) ? undefined : date.toISOString();
25
25
  }
26
+ // The statement the customer adds to the failover region's key policy, so
27
+ // the clone role can write the restored backup into this cluster's bucket.
28
+ // Only the failover region's key needs it — the secondary key just needs
29
+ // its principals swapped to the failover cluster's role.
30
+ function buildCloneRolePolicyStatement(cloneRoleArn) {
31
+ return JSON.stringify({
32
+ Sid: 'Allow bucket clone role to write destination objects',
33
+ Effect: 'Allow',
34
+ Principal: { AWS: cloneRoleArn },
35
+ Action: ['kms:GenerateDataKey*', 'kms:Decrypt', 'kms:DescribeKey'],
36
+ Resource: '*',
37
+ }, null, 2);
38
+ }
26
39
  export const C4ClusterDetailsEncryptionTab = (props) => {
27
- const { cluster, orgId, clusterId, apiConfig, activeTabId, onReloadCluster, restoreInProgress, isFailoverTarget, docsUrls, } = props;
40
+ const { cluster, orgId, clusterId, apiConfig, activeTabId, onReloadCluster, restoreInProgress, isFailoverTarget, secondaryReplicationNotReady, docsUrls, } = props;
28
41
  // BYOK script content
29
42
  const [byokCliSingle, setByokCliSingle] = useState('');
30
43
  const [byokCliDual, setByokCliDual] = useState('');
@@ -134,6 +147,9 @@ export const C4ClusterDetailsEncryptionTab = (props) => {
134
147
  const failoverKeyPolicy = isFailoverTarget && encryptionStatus === 'ExternalEncryptionKeyNotReady'
135
148
  ? deriveFailoverKeyPolicyPrincipals(tenantRoleArn, cluster?.stableId)
136
149
  : undefined;
150
+ const failoverCloneRolePolicyStatement = failoverKeyPolicy
151
+ ? buildCloneRolePolicyStatement(failoverKeyPolicy.cloneRole)
152
+ : undefined;
137
153
  const renderedPolicy = byokKeyPolicy.replaceAll('<TENANT-ROLE-ARN>', tenantRoleArn);
138
154
  const cliTemplate = isDualRegion ? byokCliDual : byokCliSingle;
139
155
  const renderedCli = cliTemplate
@@ -197,7 +213,7 @@ export const C4ClusterDetailsEncryptionTab = (props) => {
197
213
  isDualRegion,
198
214
  status: encryptionStatus,
199
215
  accountId: tenantRoleArn,
200
- }, encryption: encryption, failoverKeyPolicy: failoverKeyPolicy, scripts: {
216
+ }, encryption: encryption, failoverKeyPolicy: failoverKeyPolicy, failoverCloneRolePolicyStatement: failoverCloneRolePolicyStatement, secondaryReplicationNotReady: secondaryReplicationNotReady, scripts: {
201
217
  cliScript: renderedCli,
202
218
  keyPolicy: renderedPolicy,
203
219
  }, text: {
@@ -236,10 +252,15 @@ export const C4ClusterDetailsEncryptionTab = (props) => {
236
252
  downloadKeyPolicy: 'Download key policy',
237
253
  failoverKeyPolicyTitle: 'Action required',
238
254
  failoverKeyPolicyText: 'Update your encryption key policy so this cluster can read its restored data.',
239
- failoverKeyPolicyInstruction: 'This cluster uses the encryption keys from the cluster it was failed over from, so no new key is needed. Grant the three roles below the same key permissions as your original cluster, on both the primary and secondary key. Until then, the restore cannot decrypt your backup data. Policy changes can take about 10 minutes to propagate, so allow some time after saving before the restore proceeds.',
240
- failoverKeyPolicyCloneRole: 'Clone role — copies backup data into this cluster',
255
+ failoverKeyPolicyInstruction: "This cluster uses the encryption keys from the cluster it failed over from, so it doesn't need a new key. Update the key policies below so this cluster's role can access them. Policy changes can take about 10 minutes to propagate, so allow time after saving before the restore continues.",
256
+ failoverKeyPolicyPrimaryTitle: 'Key policy',
257
+ failoverKeyPolicyStatementLabel: 'Statement to add:',
258
+ failoverKeyPolicyStatementInstruction: "Replace every principal in this key policy — except the account root principal — with this cluster's role. Then add the statement below, so the clone role can access the key during the restore.",
259
+ failoverKeyPolicySecondaryTitle: 'Secondary key policy',
260
+ failoverKeyPolicySecondaryInstruction: "Replace every principal in this key policy — except the account root principal — with this cluster's role. This key doesn't need the clone role.",
241
261
  failoverKeyPolicyClusterRole: "This cluster's role",
242
- failoverKeyPolicyReplicationRole: 'Replication role — replicates to the secondary region',
262
+ secondaryReplicationNotReadyTitle: 'Action required',
263
+ secondaryReplicationNotReadyText: "Your secondary region's encryption key isn't accessible, so replication to that region isn't working. Review the key policy in the secondary region and grant this cluster's role access.",
243
264
  }, urls: {
244
265
  byokMain: docsUrls.encryption,
245
266
  cliScriptLearnMore: docsUrls.encryptionCli,
@@ -1,6 +1,6 @@
1
1
  import { type RequestBaseParamsConfig } from '@camunda/ccma-api';
2
2
  import type { ClusterPlanTypesToReserved, ConsoleClusterDto, HdpPrometheusDataCapacityDataPoint } from '@camunda/ccma-shared-types';
3
- import { type JSX } from 'react';
3
+ import { type JSX, type ReactNode } from 'react';
4
4
  import type { C4ClusterDetailsNavigateEvent } from '../c4-cluster-details-app.types.js';
5
5
  type TranslateFn = (key: string, options?: Record<string, unknown>) => string;
6
6
  interface ConsoleClusterCreationParametersDto {
@@ -50,6 +50,21 @@ interface C4ClusterDetailsOverviewTabProps {
50
50
  ignoreGracePeriod?: boolean;
51
51
  clusterLoadDocsUrl: string;
52
52
  restoreInProgress?: boolean;
53
+ /**
54
+ * A host-rendered section placed directly above the Components section.
55
+ *
56
+ * Reaches here from `C4ClusterDetailsAppProps['overviewSection']`. An untyped
57
+ * slot, so neither this tab nor this package models what a host puts in it.
58
+ */
59
+ overviewSection?: ReactNode;
60
+ /**
61
+ * `'tile'` (default) renders Components, Cluster Details, Cluster Load, and Jobs each inside their
62
+ * own bordered card — Console's own look. `'plain'` drops those cards, for a host whose
63
+ * `overviewSection` already renders a bare heading of its own (see `ApplicationsProps['variant']`,
64
+ * `ClusterDetailsProps['variant']`, `ClusterLoadProps['variant']`,
65
+ * `C4JobDashboardEntryPointProps['variant']`).
66
+ */
67
+ sectionVariant?: 'tile' | 'plain';
53
68
  }
54
69
  interface UpgradeDocsUrls {
55
70
  whatsNewIn88: string;
@@ -6,7 +6,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
6
6
  */
7
7
  import { C3ClusterTag, useC3Profile, } from '@camunda/camunda-composite-components';
8
8
  import { SaaSJobsService, } from '@camunda/ccma-api';
9
- import { ADMIN_APP_RENAME_MIN_VERSION, ClusterPlanTypeAvailabilityClass, ClusterPlanTypeCategory, CONNECTORS_MANAGEMENT_LINK_MIN_VERSION, checkVersion, IDENTITY_AUTHORIZATION_MIN_VERSION, IDENTITY_AUTHORIZATION_NOTICE_MAX_VERSION, INTERNAL_CONNECTORS_MANAGEMENT_MIN_VERSION, JOB_DASHBOARD_MIN_VERSION, LINE_8_9_MIN_VERSION, LINE_8_10_MIN_VERSION, MAX_HARDWARE_PACKAGE_COUNT, SWAGGER_MIN_VERSION, sortGenerationBySemverOfZeebe, TASKLIST_V2_UPGRADE_MIN_VERSION, TASKLIST_V2_UPGRADE_TARGET_MIN_VERSION, VersionCheckOperator, } from '@camunda/ccma-shared-types';
9
+ import { ADMIN_APP_RENAME_MIN_VERSION, ClusterPlanTypeAvailabilityClass, ClusterPlanTypeCategory, CONNECTORS_MANAGEMENT_LINK_MIN_VERSION, checkVersion, deriveConnectivityMessage, deriveConnectivityStatus, IDENTITY_AUTHORIZATION_MIN_VERSION, IDENTITY_AUTHORIZATION_NOTICE_MAX_VERSION, INTERNAL_CONNECTORS_MANAGEMENT_MIN_VERSION, JOB_DASHBOARD_MIN_VERSION, LINE_8_9_MIN_VERSION, LINE_8_10_MIN_VERSION, MAX_HARDWARE_PACKAGE_COUNT, SWAGGER_MIN_VERSION, sortGenerationBySemverOfZeebe, TASKLIST_V2_UPGRADE_MIN_VERSION, TASKLIST_V2_UPGRADE_TARGET_MIN_VERSION, VersionCheckOperator, } from '@camunda/ccma-shared-types';
10
10
  import { Api_1, ApiKey, CheckmarkFilled, Renew, Security, UserAccessLocked, } from '@carbon/react/icons/index.esm.js';
11
11
  import { observer } from 'mobx-react-lite';
12
12
  import { Fragment, useCallback, useEffect, useMemo, useRef, useState, } from 'react';
@@ -22,13 +22,27 @@ import { useC4ConsoleData } from '../../../runtime/c4-console-data-context.js';
22
22
  import { useC4ConsoleRuntime } from '../../../runtime/c4-console-runtime-context.js';
23
23
  import { Checkbox, Link, Modal, Stack, Tag } from '../../../ui/index.js';
24
24
  import { useRadioFamily } from '../../../ui/families.js';
25
+ import { clusterHealthOverride } from '../../cluster-health-override.js';
25
26
  import { isClusterReconciliationPaused } from '../../is-cluster-reconciliation-paused.js';
26
- // Helper function to ensure translations work
27
+ import { buildClusterLoadTexts } from './cluster-load-texts.js';
28
+ // Local copy of `utils/safe-translate.ts`, because these call sites also pass
29
+ // interpolation options, which the shared helper does not take. Keep the miss
30
+ // detection of the two in step.
27
31
  function safeTranslate(t, key, fallback, options) {
28
32
  if (!t)
29
33
  return fallback;
30
34
  const result = t(key, options);
31
- return result === key ? fallback : result;
35
+ if (!result || result === key)
36
+ return fallback;
37
+ // i18next answers a miss with the key without its namespace:
38
+ // `clusterdetails:overview.title` -> `overview.title`. That is a miss too,
39
+ // and without this the raw key reaches the customer.
40
+ if (key.includes(':')) {
41
+ const withoutNamespace = key.split(':').slice(1).join(':');
42
+ if (result === withoutNamespace)
43
+ return fallback;
44
+ }
45
+ return result;
32
46
  }
33
47
  function renderStrongTextTranslation(t, key, fallback, options) {
34
48
  const text = safeTranslate(t, key, fallback, options);
@@ -54,7 +68,7 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
54
68
  const c3Profile = useC3Profile();
55
69
  const runtime = useC4ConsoleRuntime();
56
70
  const wakeInFlight = useRef(false);
57
- const { cluster, clusterError, creationParameters, clustersOfOrg, clusterPlanTypeReservations, clusterLoadLatest, clusterLoadPerDay, clusterLoad24h, clusterLoadLoading, canSeeClusterLoad, canEditCluster, canWakeCluster, canSleepCluster, canManageUsers, canViewConnectorsLink, hasIdentityIntegration, orgId, clusterId, jobDashboardEnabled, upgradeDocsUrls, statisticsConfig, apiConfig, t, onReloadCluster, onReloadClusterLoad, onNavigate, ignoreGracePeriod, clusterLoadDocsUrl, restoreInProgress, } = props;
71
+ const { cluster, clusterError, creationParameters, clustersOfOrg, clusterPlanTypeReservations, clusterLoadLatest, clusterLoadPerDay, clusterLoad24h, clusterLoadLoading, canSeeClusterLoad, canEditCluster, canWakeCluster, canSleepCluster, canManageUsers, canViewConnectorsLink, hasIdentityIntegration, orgId, clusterId, jobDashboardEnabled, upgradeDocsUrls, statisticsConfig, apiConfig, t, onReloadCluster, onReloadClusterLoad, onNavigate, ignoreGracePeriod, clusterLoadDocsUrl, restoreInProgress, overviewSection, sectionVariant, } = props;
58
72
  const data = useC4ConsoleData();
59
73
  const [tagModalOpen, setTagModalOpen] = useState(false);
60
74
  const [selectedTag, setSelectedTag] = useState('');
@@ -816,6 +830,7 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
816
830
  data: jobStats,
817
831
  error: jobStatsError,
818
832
  isLoading: jobStatsLoading,
833
+ variant: sectionVariant,
819
834
  onClick: () => {
820
835
  onNavigate?.({
821
836
  kind: 'jobDashboardOverview',
@@ -849,6 +864,7 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
849
864
  jobStatsLoading,
850
865
  onNavigate,
851
866
  orgId,
867
+ sectionVariant,
852
868
  shouldShowJobDashboard,
853
869
  statisticsConfig,
854
870
  t,
@@ -1074,9 +1090,7 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
1074
1090
  linkVisible: app.linkVisible !== false,
1075
1091
  };
1076
1092
  };
1077
- const statusValue = isClusterPausedReconciliation
1078
- ? 'maintenance'
1079
- : (cluster.status?.ready ?? '');
1093
+ const statusValue = clusterHealthOverride(cluster) ?? cluster.status?.ready ?? '';
1080
1094
  const normalizedReadyStatus = normalizeClusterStatus(statusValue);
1081
1095
  const generationName = cluster.generation?.name ?? '-';
1082
1096
  const clusterUpdateType = (() => {
@@ -1157,6 +1171,7 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
1157
1171
  optimize: safeTranslate(t, 'clusterdetails:overview.applications.descriptions.optimize', 'Get insights to improve your processes'),
1158
1172
  connectors: safeTranslate(t, 'clusterdetails:overview.applications.descriptions.connectors', 'Integrate with external systems'),
1159
1173
  identity: safeTranslate(t, 'clusterdetails:overview.applications.descriptions.identity', 'Manage authentication and authorization'),
1174
+ connectivity: safeTranslate(t, 'clusterdetails:overview.applications.descriptions.connectivity', 'Public access to your cluster'),
1160
1175
  };
1161
1176
  const isAdminVersion = checkVersion({
1162
1177
  possiblyVersionOrDockerPath: cluster.generation?.versions?.zeebe,
@@ -1273,6 +1288,28 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
1273
1288
  description: appDescription.identity,
1274
1289
  linkLabel: launchLabel,
1275
1290
  }),
1291
+ // Public route health (issue#9884). The operator reports it as the
1292
+ // `PublicConnectivityReady` condition and not as a component status:
1293
+ // broken public routes demote the cluster to Unhealthy while every
1294
+ // component above stays Healthy, so this tile is the only place that
1295
+ // says why. The condition is absent when the operator runs without the
1296
+ // public connectivity controller. Then the tile stays out, because an
1297
+ // absent condition is unknown health and not bad health.
1298
+ connectivity: (() => {
1299
+ const connectivityStatus = deriveConnectivityStatus(cluster.status?.conditions);
1300
+ if (!connectivityStatus)
1301
+ return undefined;
1302
+ return {
1303
+ name: 'Connectivity',
1304
+ status: isClusterPausedReconciliation
1305
+ ? 'maintenance'
1306
+ : (normalizeClusterStatus(connectivityStatus) ?? 'unhealthy'),
1307
+ version: '',
1308
+ description: appDescription.connectivity,
1309
+ // Names the routes that are not ready. Empty for a healthy cluster.
1310
+ infoTooltip: deriveConnectivityMessage(cluster.status?.conditions),
1311
+ };
1312
+ })(),
1276
1313
  };
1277
1314
  const regionName = cluster.k8sContext?.name ?? 'unknown';
1278
1315
  const regionId = (() => {
@@ -1312,16 +1349,7 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
1312
1349
  : (cluster.planType?.name ?? '-');
1313
1350
  const clusterLoadProps = canSeeClusterLoad && (clusterLoadLatest || clusterLoadLoading)
1314
1351
  ? {
1315
- texts: {
1316
- title: safeTranslate(t, 'clusterdetails:overview.clusterLoad.title', 'Cluster Load'),
1317
- last: safeTranslate(t, 'clusterdetails:overview.clusterLoad.last', 'Last'),
1318
- day30: safeTranslate(t, 'clusterdetails:overview.clusterLoad.options.30days', '30 days'),
1319
- day7: safeTranslate(t, 'clusterdetails:overview.clusterLoad.options.7days', '7 days'),
1320
- last24h: safeTranslate(t, 'clusterdetails:overview.clusterLoad.options.24hours', '24 hours'),
1321
- current: safeTranslate(t, 'clusterdetails:overview.clusterLoad.current', 'Current'),
1322
- clusterLoadTooltip: safeTranslate(t, 'clusterdetails:overview.clusterLoad.tooltip', "Cluster load: Indicates how much of the cluster's resources are in use."),
1323
- docs: safeTranslate(t, 'clusterdetails:overview.clusterLoad.docs', 'Learn more about cluster load'),
1324
- },
1352
+ texts: buildClusterLoadTexts(t),
1325
1353
  values: {
1326
1354
  latest: clusterLoadLatest ??
1327
1355
  {
@@ -1348,6 +1376,7 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
1348
1376
  },
1349
1377
  suspended: cluster.status?.ready === 'Suspended',
1350
1378
  loading: clusterLoadLoading,
1379
+ variant: sectionVariant,
1351
1380
  }
1352
1381
  : undefined;
1353
1382
  const details = {
@@ -1511,6 +1540,7 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
1511
1540
  label: safeTranslate(t, 'clusterdetails:overview.clusterDetails.createdAt', 'Created at'),
1512
1541
  value: formatDate(cluster.created),
1513
1542
  },
1543
+ variant: sectionVariant,
1514
1544
  ...(() => {
1515
1545
  if (!supportsSwagger)
1516
1546
  return {};
@@ -1583,6 +1613,7 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
1583
1613
  }, children: _jsx(CheckmarkFilled, {}) })) : null] }), _jsx("p", { children: option.description })] }) }, option.value));
1584
1614
  }) })] }) }), _jsx(C4ClusterOverview, { applications: {
1585
1615
  title: safeTranslate(t, 'clusterdetails:overview.applications.title', 'Components'),
1616
+ variant: sectionVariant,
1586
1617
  applications: {
1587
1618
  zeebe: apps.zeebe,
1588
1619
  tasklist: apps.tasklist,
@@ -1605,8 +1636,9 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
1605
1636
  : apps.optimize,
1606
1637
  connectors: apps.connectors,
1607
1638
  identity: apps.identity,
1639
+ connectivity: apps.connectivity,
1608
1640
  },
1609
- }, details: details, clusterLoad: clusterLoadProps, rbaNotification: rbaNotification, jobDashboard: jobDashboardEntryPoint }), isOptimizeDisabledForTrial && canEditCluster && isOptimizeModalOpen && (_jsx(C4OptimizeActivationModal, { open: isOptimizeModalOpen, description: safeTranslate(t, 'clusterdetails:overview.applications.optimize.disabled.modal.description', 'When enabled, the Optimize component is deployed alongside this cluster for process analytics and reporting.'), onClose: () => setIsOptimizeModalOpen(false), onActivate: activateOptimize }))] }));
1641
+ }, details: details, clusterLoad: clusterLoadProps, rbaNotification: rbaNotification, jobDashboard: jobDashboardEntryPoint, overviewSection: overviewSection }), isOptimizeDisabledForTrial && canEditCluster && isOptimizeModalOpen && (_jsx(C4OptimizeActivationModal, { open: isOptimizeModalOpen, description: safeTranslate(t, 'clusterdetails:overview.applications.optimize.disabled.modal.description', 'When enabled, the Optimize component is deployed alongside this cluster for process analytics and reporting.'), onClose: () => setIsOptimizeModalOpen(false), onActivate: activateOptimize }))] }));
1610
1642
  };
1611
1643
  // Reads console data (upgradable generations, generation details) during render,
1612
1644
  // so it must be an observer to re-render when that data changes.