diff --git a/resources/backend/deployment.yaml b/resources/backend/deployment.yaml index 1b081b9080..3f240bc7d0 100644 --- a/resources/backend/deployment.yaml +++ b/resources/backend/deployment.yaml @@ -20,7 +20,7 @@ spec: spec: containers: - name: backend - image: europe-docker.pkg.dev/kyma-project/dev/busola-backend:PR-2578 + image: europe-docker.pkg.dev/kyma-project/dev/busola-backend:PR-2577 imagePullPolicy: Always resources: limits: diff --git a/resources/web/deployment.yaml b/resources/web/deployment.yaml index 19befc6ddb..82c9b1f952 100644 --- a/resources/web/deployment.yaml +++ b/resources/web/deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: busola - image: europe-docker.pkg.dev/kyma-project/dev/busola-web:PR-2578 + image: europe-docker.pkg.dev/kyma-project/dev/busola-web:PR-2577 imagePullPolicy: Always resources: requests: diff --git a/src/components/Clusters/views/ClusterList.js b/src/components/Clusters/views/ClusterList.js index e46bfd3559..1900009ad1 100644 --- a/src/components/Clusters/views/ClusterList.js +++ b/src/components/Clusters/views/ClusterList.js @@ -2,8 +2,8 @@ import React, { useState } from 'react'; import jsyaml from 'js-yaml'; import { saveAs } from 'file-saver'; import { useTranslation } from 'react-i18next'; -import { Button } from '@ui5/webcomponents-react'; -import { MessagePage } from 'fundamental-react'; +import { Button, IllustratedMessage } from '@ui5/webcomponents-react'; +import '@ui5/webcomponents-fiori/dist/illustrations/NoEntries'; import { Link } from 'react-router-dom'; import { useClustersInfo } from 'state/utils/getClustersInfo'; @@ -200,32 +200,26 @@ function ClusterList() { ); if (!entries.length) { - const subtitle = t('clusters.empty.subtitle'); return ( <> {addDialog} - - - - } - title={t('clusters.empty.title')} - subtitle={subtitle} - actions={ - <> - - {gardenerLoginButton} - {loadDefaultClusterButton} - - } - /> + titleText={t('clusters.empty.title')} + subtitleText={t('clusters.empty.subtitle')} + > + + {gardenerLoginButton} + {loadDefaultClusterButton} + ); } diff --git a/src/components/Clusters/views/ClusterList.scss b/src/components/Clusters/views/ClusterList.scss index 850a7600d1..698ab16126 100644 --- a/src/components/Clusters/views/ClusterList.scss +++ b/src/components/Clusters/views/ClusterList.scss @@ -4,13 +4,11 @@ margin-left: 10px; } -.fd-message-page.empty-cluster-list { +.empty-cluster-list { height: 100vh; - - .fd-message-page__icon { - width: 160px; - height: 160px; - } + display: flex; + flex-direction: column; + justify-content: center; } .cluster-disabled-subtitle a { diff --git a/src/components/Extensibility/components/MessagePage.js b/src/components/Extensibility/components/MessagePage.js index cae1d6d861..9a2ed06d7d 100644 --- a/src/components/Extensibility/components/MessagePage.js +++ b/src/components/Extensibility/components/MessagePage.js @@ -1,4 +1,5 @@ -import { MessagePage } from 'fundamental-react'; +import { IllustratedMessage } from '@ui5/webcomponents-react'; +import '@ui5/webcomponents-fiori/dist/illustrations/NoData'; import { Widget, InlineWidget } from './Widget'; import { useGetTranslation } from '../helpers'; @@ -13,15 +14,13 @@ export function MessagePanel({ const { t: tExt } = useGetTranslation(); return ( - - - - } - title={tExt(structure?.title)} - subtitle={tExt(structure?.subtitle)} - actions={structure.children.map((def, idx) => ( + + {structure.children.map((def, idx) => ( ))} - /> + ); }