Skip to content

Commit 4d2d2cb

Browse files
Merge branch 'main' into chore/remove-unused-packages
2 parents a1602e5 + 6181585 commit 4d2d2cb

File tree

7 files changed

+24
-41
lines changed

7 files changed

+24
-41
lines changed

.reuse/dep5

Lines changed: 0 additions & 29 deletions
This file was deleted.

REUSE.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version = 1
2+
SPDX-PackageName = "ui-frontend"
3+
SPDX-PackageSupplier = "[email protected]"
4+
SPDX-PackageDownloadLocation = "https://github.com/openmcp-project/ui-frontend"
5+
SPDX-PackageComment = "The code in this project may include calls to APIs (\"API Calls\") of\n SAP or third-party products or services developed outside of this project\n (\"External Products\").\n \"APIs\" means application programming interfaces, as well as their respective\n specifications and implementing code that allows software to communicate with\n other software.\n API Calls to External Products are not licensed under the open source license\n that governs this project. The use of such API Calls and related External\n Products are subject to applicable additional agreements with the relevant\n provider of the External Products. In no event shall the open source license\n that governs this project grant any rights in or to any External Products,or\n alter, expand or supersede any terms of the applicable additional agreements.\n If you have a valid license agreement with SAP for the use of a particular SAP\n External Product, then you may make use of any API Calls included in this\n project's code for that SAP External Product, subject to the terms of such\n license agreement. If you do not have a valid license agreement for the use of\n a particular SAP External Product, then you may only make use of any API Calls\n in this project for that SAP External Product for your internal, non-productive\n and non-commercial test and evaluation of such API Calls. Nothing herein grants\n you any rights to use or access any SAP External Product, or provide any third\n parties the right to use of access any SAP External Product, through API Calls."
6+
7+
[[annotations]]
8+
path = "**"
9+
precedence = "closest"
10+
SPDX-FileCopyrightText = "2025 SAP SE or an SAP affiliate company and ui-frontend contributors"
11+
SPDX-License-Identifier = "Apache-2.0"

src/components/ControlPlanes/ControlPlaneCard.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ export function ControlPlaneCard({
5252

5353
return (
5454
<>
55-
<Card key={`${name}--${namespace}`}>
55+
<Card
56+
key={`${name}--${namespace}`}
57+
style={{ margin: '12px 12px 12px 0' }}
58+
>
5659
<div style={{ padding: '20px' }}>
5760
<FlexBox direction="Column">
5861
<FlexBox direction="Row" justifyContent="SpaceBetween">

src/components/ControlPlanes/List/ControlPlaneListWorkspaceGridTile.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,14 @@ export function ControlPlaneListWorkspaceGridTile({
9595
>
9696
<Panel
9797
headerLevel="H2"
98+
style={{ margin: '12px 12px 12px 0' }}
9899
collapsed={controlplanes?.length === 0}
99100
header={
100101
<div
101102
style={{
102103
width: '100%',
103104
display: 'grid',
104-
gridTemplateColumns: '1fr 1fr 1fr auto',
105+
gridTemplateColumns: '0.3fr 0.24fr auto 0.05fr',
105106
gap: '1rem',
106107
alignItems: 'center',
107108
}}

src/components/ControlPlanes/List/MembersAvatarView.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ export function MembersAvatarView({ members, project, workspace }: Props) {
3131
}
3232

3333
return (
34-
<div style={{ maxWidth: '300px' }}>
34+
<div style={{ display: 'flex', justifyContent: 'flex-end' }}>
3535
<AvatarGroup
3636
ref={openerRef}
37+
style={{ maxWidth: '200px' }}
3738
type={AvatarGroupType.Group}
3839
onClick={handleOnClick}
3940
>

src/components/Projects/ProjectsList.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { projectnameToNamespace } from '../../utils/index';
88
import '@ui5/webcomponents-icons/dist/copy';
99
import '@ui5/webcomponents-icons/dist/arrow-right';
1010
import { ListProjectNames } from '../../lib/api/types/crate/listProjectNames';
11+
import { t } from 'i18next';
1112

1213
export default function ProjectsList() {
1314
const navigate = useLuigiNavigate();
@@ -21,9 +22,10 @@ export default function ProjectsList() {
2122
return (
2223
<>
2324
<AnalyticalTable
25+
style={{ margin: '12px' }}
2426
columns={[
2527
{
26-
Header: 'Projects',
28+
Header: t('ProjectsListView.title'),
2729
accessor: 'projectName',
2830
Cell: (instance: any) => (
2931
<div

src/views/ProjectList.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
ObjectPage,
3-
ObjectPageSection,
4-
ObjectPageTitle,
5-
} from '@ui5/webcomponents-react';
1+
import { ObjectPage, ObjectPageTitle } from '@ui5/webcomponents-react';
62
import ProjectsList from '../components/Projects/ProjectsList.tsx';
73
import IntelligentBreadcrumbs from '../components/Core/IntelligentBreadcrumbs.tsx';
84
import { ProjectListToolbar } from '../components/Projects/ProjectListToolbar.tsx';
@@ -22,9 +18,7 @@ export default function ProjectsListView() {
2218
/>
2319
}
2420
>
25-
<ObjectPageSection id="projects" titleText={t('ProjectsListView.title')}>
26-
<ProjectsList />
27-
</ObjectPageSection>
21+
<ProjectsList />
2822
</ObjectPage>
2923
);
3024
}

0 commit comments

Comments
 (0)