From 7407e2241fa96eada575bfc307aaaa54a036b92e Mon Sep 17 00:00:00 2001 From: Johannes Ott Date: Thu, 20 Mar 2025 09:42:20 +0100 Subject: [PATCH 1/3] add monofont to mcp --- src/index.css | 5 +++++ src/views/ControlPlanes/ControlPlaneListView.tsx | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/index.css b/src/index.css index af8be8fc..53efe274 100644 --- a/src/index.css +++ b/src/index.css @@ -103,4 +103,9 @@ body { #root { height: 100%; background-color: var(--sapBackgroundColor); +} + +.mono-font { + font-family: 'Roboto Mono', monospace; + font-weight: bold; } \ No newline at end of file diff --git a/src/views/ControlPlanes/ControlPlaneListView.tsx b/src/views/ControlPlanes/ControlPlaneListView.tsx index 3bf5b88d..d49e1fd1 100644 --- a/src/views/ControlPlanes/ControlPlaneListView.tsx +++ b/src/views/ControlPlanes/ControlPlaneListView.tsx @@ -1,4 +1,4 @@ -import { ObjectPage, ObjectPageTitle } from "@ui5/webcomponents-react"; +import { ObjectPage, ObjectPageTitle, Title } from "@ui5/webcomponents-react"; import ProjectChooser from "../../components/Projects/ProjectChooser.tsx"; import { useParams } from "react-router-dom"; import ControlPlaneListAllWorkspaces from "../../components/ControlPlanes/List/ControlPlaneListAllWorkspaces.tsx"; @@ -16,7 +16,7 @@ export default function ControlPlaneListView() { preserveHeaderStateOnClick={true} titleArea={ Your ManagedControlPlanes} subHeader={
Date: Fri, 28 Mar 2025 08:55:24 +0100 Subject: [PATCH 2/3] Change heading --- public/locales/en.json | 1 + src/views/ControlPlanes/ControlPlaneListView.tsx | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/public/locales/en.json b/public/locales/en.json index d7ed6eac..2fb38f53 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -119,6 +119,7 @@ "addButton": "Add" }, "ControlPlaneListView": { + "header": "Your instances of Managed Control Plane", "projectHeader": "Project:" }, "ProjectsListView": { diff --git a/src/views/ControlPlanes/ControlPlaneListView.tsx b/src/views/ControlPlanes/ControlPlaneListView.tsx index 178a8689..4fe4ea43 100644 --- a/src/views/ControlPlanes/ControlPlaneListView.tsx +++ b/src/views/ControlPlanes/ControlPlaneListView.tsx @@ -4,7 +4,7 @@ import { useParams } from 'react-router-dom'; import ControlPlaneListAllWorkspaces from '../../components/ControlPlanes/List/ControlPlaneListAllWorkspaces.tsx'; import IntelligentBreadcrumbs from '../../components/Core/IntelligentBreadcrumbs.tsx'; import { ControlPlaneListToolbar } from '../../components/ControlPlanes/List/ControlPlaneListToolbar.tsx'; -import { useTranslation } from 'react-i18next'; +import { Trans, useTranslation } from 'react-i18next'; export default function ControlPlaneListView() { const { projectName } = useParams(); @@ -18,7 +18,10 @@ export default function ControlPlaneListView() { - Your ManagedControlPlanes + }} + /> } subHeader={ From d7328fb56386b8c0dd2f1a353d4cf5d70bac0b1c Mon Sep 17 00:00:00 2001 From: Andreas Kienle Date: Fri, 28 Mar 2025 12:07:35 +0100 Subject: [PATCH 3/3] Update public/locales/en.json Co-authored-by: Johannes Ott --- public/locales/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/locales/en.json b/public/locales/en.json index 2fb38f53..62bab33b 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -119,7 +119,7 @@ "addButton": "Add" }, "ControlPlaneListView": { - "header": "Your instances of Managed Control Plane", + "header": "Your instances of ManagedControlPlane", "projectHeader": "Project:" }, "ProjectsListView": {