Skip to content

Commit 3b9c406

Browse files
authored
fix: Adjust Cluster and Namespace overview terminology (#4481)
* fix: Change all occurrences to 'overview' * fix: Adjust docs
1 parent 0b5d407 commit 3b9c406

28 files changed

+51
-46
lines changed

docs/extensibility/50-list-and-details-widgets.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ See the following example:
661661

662662
`StatisticalCard` widgets render a card component with several numerical pieces of information.
663663
To display the widget in the **Monitoring and Health** section of a details page, configure it in **data.details.health**.
664-
To render the card within the dense grid layout in the **Monitoring and Health** section of **Cluster Details**, use [injections](./70-widget-injection.md) (**destination: ClusterOverview, slot: health**).
664+
To render the card within the dense grid layout in the **Monitoring and Health** section of **Cluster Overview**, use [injections](./70-widget-injection.md) (**destination: ClusterOverview, slot: health**).
665665

666666
These are the available `StatisticalCard` widget parameters:
667667

@@ -692,7 +692,7 @@ details: |-
692692
source: $item.value2
693693
```
694694

695-
This is an example of the widget configured using injection which allows the `StatisticalCard` to be displayed in the **Monitoring and Health** section of **Cluster Details**:
695+
This is an example of the widget configured using injection which allows the `StatisticalCard` to be displayed in the **Monitoring and Health** section of **Cluster Overview**:
696696

697697
```yaml
698698
injections: |-
@@ -777,7 +777,7 @@ See the following example:
777777

778778
`Radial Chart` widgets render a card component with a graphical representation of the radial chart.
779779
To display the widget in the **Monitoring and Health** section of a details page, configure it in **data.details.health**.
780-
To render the card within the dense grid layout in the **Monitoring and Health** section of **Cluster Details**, use [injections](./70-widget-injection.md) (`destination: ClusterOverview`, `slot: health`).
780+
To render the card within the dense grid layout in the **Monitoring and Health** section of **Cluster Overview**, use [injections](./70-widget-injection.md) (`destination: ClusterOverview`, `slot: health`).
781781

782782
These are the available `Radial Chart` widget parameters:
783783

@@ -798,7 +798,7 @@ This is an example of the widget configuration in the **data.details.health** se
798798
color: var(--sapChart_OrderedColor_5)
799799
```
800800

801-
This is an example of the widget configured using injection, which allows the `RadialChart` to be displayed in the **Monitoring and Health** section of **Cluster Details**:
801+
This is an example of the widget configured using injection, which allows the `RadialChart` to be displayed in the **Monitoring and Health** section of **Cluster Overview**:
802802

803803
```yaml
804804
injections: |-

public/i18n/en.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apps:
22
title: Apps
33
cluster-overview:
44
headers:
5-
cluster-details: Cluster Details
5+
cluster-overview: Cluster Overview
66
cpu: CPU
77
memory: Memory
88
metadata: Metadata
@@ -120,7 +120,7 @@ clusters:
120120
nat-gateway-ips: NAT Gateway IP Addresses
121121
subaccount-id: Subaccount ID
122122
title-all-clusters: Clusters Overview
123-
title-current-cluster: Cluster Details
123+
title-current-cluster: Cluster Overview
124124
statuses:
125125
inmemory: In Memory
126126
localstorage: Local Storage
@@ -175,7 +175,7 @@ command-palette:
175175
help:
176176
all-namespaces: List resources from all namespaces
177177
choose-cluster: Choose cluster
178-
cluster-details: Cluster details
178+
cluster-overview: Cluster overview
179179
crd-aliases: CRD Aliases
180180
full: Use <0>↑</0> and <0>↓</0> to navigate between results, <0>⏎</0> to choose, <0>Tab</0> to autocomplete.
181181
navigation: Navigation
@@ -1011,7 +1011,7 @@ namespaces:
10111011
memory-quotas: Memory Quotas
10121012
description: <0>Namespace</0> helps to maintain and divide resources in a cluster.
10131013
name_singular: Namespace
1014-
namespace-details: Namespace Details
1014+
namespace-overview: Namespace Overview
10151015
overview:
10161016
resources:
10171017
error: Error while loading memory consumption data
@@ -1022,6 +1022,7 @@ namespaces:
10221022
title: Namespaces
10231023
navigation:
10241024
all-namespaces: All Namespaces
1025+
back-to-cluster: Back To Cluster Overview
10251026
errors:
10261027
sidebar: Failed to load navigation items
10271028
menu:

src/command-pallette/CommandPalletteUI/handlers/nonResourceHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export const nonResourceHandler: Handler = {
146146
{
147147
name: 'overview',
148148
alias: 'ov',
149-
description: t('command-palette.help.cluster-details'),
149+
description: t('command-palette.help.cluster-overview'),
150150
},
151151
{
152152
name: 'preferences',

src/components/Clusters/views/ClusterOverview/ClusterDetails.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default function ClusterDetails({ currentCluster }) {
5151
className="sap-margin-begin-medium sap-margin-y-medium"
5252
id="cluster-details-heading"
5353
>
54-
{t('cluster-overview.headers.cluster-details')}
54+
{t('cluster-overview.headers.cluster-overview')}
5555
</Title>
5656
<div className="resource-details-container">
5757
<ResourceDetailsCard

src/resources/Namespaces/NamespaceDetails.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default function NamespaceDetails(props) {
8080
createResourceForm={NamespaceCreate}
8181
description={ResourceDescription}
8282
{...props}
83-
title={t('namespaces.namespace-details')}
83+
title={t('namespaces.namespace-overview')}
8484
windowTitle={t('namespaces.overview.title')}
8585
customColumns={customColumns}
8686
headerActions={headerActions}

src/sidebar/SidebarNavigation.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export function SidebarNavigation() {
103103
>
104104
<SideNavigationItem
105105
icon="slim-arrow-left"
106-
text="Back To Cluster Details"
106+
text={t('navigation.back-to-cluster')}
107107
onClick={() => {
108108
navigateSafely(() => {
109109
setDefaultColumnLayout();
@@ -179,7 +179,11 @@ export function SidebarNavigation() {
179179
/>
180180
<SideNavigationItem
181181
icon={namespace ? 'slim-arrow-left' : 'bbyd-dashboard'}
182-
text={namespace ? 'Back To Cluster Details' : 'Cluster Details'}
182+
text={
183+
namespace
184+
? t('navigation.back-to-cluster')
185+
: t('cluster-overview.headers.cluster-overview')
186+
}
183187
onClick={() => {
184188
navigateSafely(() => navigate(clusterUrl(`overview`)));
185189
}}
@@ -199,7 +203,7 @@ export function SidebarNavigation() {
199203
{!namespace && !isSidebarCondensed && (
200204
<SideNavigationItem
201205
icon="bbyd-dashboard"
202-
text="Cluster Details"
206+
text={t('cluster-overview.headers.cluster-overview')}
203207
onClick={() => {
204208
navigateSafely(() => {
205209
setDefaultColumnLayout();

tests/integration/support/login-commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Cypress.Commands.add('loginAndSelectCluster', function (params) {
139139
cy.url().should('match', expectedLocation);
140140

141141
if (expectedLocation == /overview$/) {
142-
cy.contains('ui5-title', 'Cluster Details').should('be.visible');
142+
cy.contains('ui5-title', 'Cluster Overview').should('be.visible');
143143
}
144144

145145
return cy.end();

tests/integration/tests/accessibility/test-acc-extensions.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ context('Accessibility test Extensions view', () => {
1414

1515
cy.createNamespace('pizzas');
1616

17-
cy.getLeftNav().contains('Cluster Details').click();
17+
cy.getLeftNav().contains('Cluster Overview').click();
1818

1919
cy.contains('ui5-button', 'Upload YAML').click();
2020

tests/integration/tests/accessibility/test-acc-pizzas.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ context('Accessibility test Pizza Orders', () => {
1818
});
1919

2020
it('Creates the EXT pizza orders config', () => {
21-
cy.getLeftNav().contains('Cluster Details').click();
21+
cy.getLeftNav().contains('Cluster Overview').click();
2222

2323
cy.contains('ui5-button', 'Upload YAML').click();
2424

tests/integration/tests/cluster/test-cluster-configuration.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ context('Test Cluster configuration', () => {
4949
cy.contains('Category from target cluster').should('be.visible');
5050

5151
// custom storage type should be set
52-
cy.getLeftNav().contains('Cluster Details').click();
52+
cy.getLeftNav().contains('Cluster Overview').click();
5353
});
5454

5555
it('Test pagination', () => {

0 commit comments

Comments
 (0)