Skip to content

Commit 998dc04

Browse files
momesginMo Mesgin
andauthored
Remove type descriptions for repositories and installed apps pages (#17099)
* remove type descriptions for repositories * remove leftover translation keys in chinese * update test * fix test * remove type description banner on installed apps page * remove chinese translation --------- Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
1 parent f6a00e5 commit 998dc04

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

cypress/e2e/tests/pages/user-menu/preferences.spec.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import ClusterDashboardPagePo from '@/cypress/e2e/po/pages/explorer/cluster-dash
77
import ProductNavPo from '@/cypress/e2e/po/side-bars/product-side-nav.po';
88
import { HeaderPo } from '@/cypress/e2e/po/components/header.po';
99
import ResourceYamlEditorPagePo from '@/cypress/e2e/po/pages/explorer/yaml-editor.po';
10+
import { FeatureFlagsPagePo } from '@/cypress/e2e/po/pages/global-settings/feature-flags.po';
1011
import { CLUSTER_REPOS_BASE_URL } from '@/cypress/support/utils/api-endpoints';
1112
// import ClusterManagerListPagePo from '@/cypress/e2e/po/pages/cluster-manager/cluster-manager-list.po';
1213
// import TooltipPo from '@/cypress/e2e/po/components/tooltip.po'; // Used in the below commented test
@@ -329,6 +330,7 @@ describe('User can update their preferences', () => {
329330
Deselect the checkbox and verify description banner displays
330331
*/
331332
const banners = new BannersPo('header > .banner');
333+
const featureFlagsPage = new FeatureFlagsPagePo('_');
332334

333335
prefPage.goTo();
334336
prefPage.hideDescriptionsCheckbox().checkVisible();
@@ -338,7 +340,8 @@ describe('User can update their preferences', () => {
338340
cy.wait('@prefUpdate').its('response.statusCode').should('eq', 200);
339341
prefPage.hideDescriptionsCheckbox().isChecked();
340342

341-
repoListPage.waitForGoTo(`${ CLUSTER_REPOS_BASE_URL }?*`);
343+
featureFlagsPage.goTo();
344+
featureFlagsPage.waitForPage();
342345
banners.self().should('not.exist');
343346

344347
prefPage.goTo();
@@ -348,7 +351,8 @@ describe('User can update their preferences', () => {
348351
cy.wait('@prefUpdate2').its('response.statusCode').should('eq', 200);
349352
prefPage.hideDescriptionsCheckbox().isUnchecked();
350353

351-
repoListPage.waitForGoTo(`${ CLUSTER_REPOS_BASE_URL }?*`);
354+
featureFlagsPage.goTo();
355+
featureFlagsPage.waitForPage();
352356
banners.self().should('exist');
353357
});
354358

shell/assets/translations/en-us.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8049,10 +8049,7 @@ typeDescription:
80498049
monitoring.coreos.com.prometheus: A Prometheus server is a Prometheus deployment whose scrape configuration and rules are determined by selected ServiceMonitors, PodMonitors, and PrometheusRules and whose alerts will be sent to all selected Alertmanagers with the custom resource's configuration.
80508050
monitoring.coreos.com.alertmanager: An alert manager is deployment whose configuration will be specified by a secret in the same namespace, which determines which alerts should go to which receiver.
80518051
node: The base Kubernetes Node resource represents a virtual or physical machine which hosts deployments. To manage the machine lifecycle, if available, go to Cluster Management.
8052-
catalog.cattle.io.clusterrepo: 'A chart repository is a Helm repository or {vendor} git based application catalog. It provides the list of available charts in the cluster.'
8053-
catalog.cattle.io.clusterrepo.local: ' A chart repository is a Helm repository or {vendor} git based application catalog. It provides the list of available charts in the cluster. Cluster Templates are deployed via Helm charts.'
80548052
catalog.cattle.io.operation: An operation is the list of recent Helm operations that have been applied to the cluster.
8055-
catalog.cattle.io.app: An installed application is a Helm 3 chart that was installed either via our charts or through the Helm CLI.
80568053
logging.banzaicloud.io.clusterflow: Logs from the cluster will be collected and logged to the selected Cluster Output.
80578054
logging.banzaicloud.io.clusteroutput: A cluster output defines which logging providers that logs can be sent to and is only effective when deployed in the namespace that the logging operator is in.
80588055
logging.banzaicloud.io.flow: A flow defines which logs to collect and filter as well as which output to send the logs. The flow is a namespaced resource, which means logs will only be collected from the namespace that the flow is deployed in.

shell/assets/translations/zh-hans.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6339,10 +6339,7 @@ typeDescription:
63396339
monitoring.coreos.com.prometheus: Prometheus server 是一个 Prometheus deployment,其抓取的配置和规则由选定的 ServiceMonitor、PodMonitor 和 PrometheusRule 决定。它将其告警信息发送给所有选择的具有定制资源配置的 AlertManager。
63406340
monitoring.coreos.com.alertmanager: Alertmanager 是一个 deployment。其配置由同一命名空间中的密文指定,该密文决定了告警的接收器。
63416341
node: Kubernetes 节点资源展示了承载 Deployment 的虚拟机或物理机。请进入"集群管理"页面管理可用节点的生命周期。
6342-
catalog.cattle.io.clusterrepo: 'Chart 仓库是一个 Helm 仓库或 {vendor} 基于 Git 的应用商店。此处列出了集群中可用的 Chart。'
6343-
catalog.cattle.io.clusterrepo.local: ' Chart 仓库是一个 Helm 仓库或 {vendor} 基于 Git 的应用商店。此处列出了集群中可用的 Chart。集群模板是通过 Helm Chart 部署的。'
63446342
catalog.cattle.io.operation: 最近的操作指的是最近应用于集群的一系列 Helm 操作。
6345-
catalog.cattle.io.app: 已安装的应用指的是通过我们的 Chart 或 Helm CLI 安装的 Helm 3 Chart。
63466343
logging.banzaicloud.io.clusterflow: 集群日志将被收集并投递到选定的 ClusterOutput 中。
63476344
logging.banzaicloud.io.clusteroutput: ClusterOutput 定义了日志可以发送到哪些日志提供程序。只有部署在 Logging operator 所在的命名空间中时,ClusterOutput 才生效。
63486345
logging.banzaicloud.io.flow: Flow 定义了要收集和过滤的日志,以及日志的输出目标。Flow 是一个命名空间资源。换言之,只有部署了该 Flow 的命名空间日志才能被该 Flow 收集。

0 commit comments

Comments
 (0)