Skip to content

Commit ee0c5a8

Browse files
committed
fixes
1 parent 4564a1c commit ee0c5a8

File tree

4 files changed

+22
-8
lines changed

4 files changed

+22
-8
lines changed

src/components/ControlPlane/FluxList.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { YamlViewButton } from '../Yaml/YamlViewButton.tsx';
1111
import { useMemo } from 'react';
1212
import StatusFilter from '../Shared/StatusFilter/StatusFilter.tsx';
1313
import { ResourceStatusCellWithButton } from '../Shared/ResourceStatusCellWithButton.tsx';
14-
import { s } from 'vitest/dist/chunks/reporters.d.BFLkQcL6';
1514

1615
export default function FluxList() {
1716
const { data: gitReposData, error: repoErr, isLoading: repoIsLoading } = useApiResource(FluxRequest); //404 if component not enabled

src/components/ControlPlane/Providers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import IllustratedError from '../Shared/IllustratedError';
1212
import { ProvidersListRequest } from '../../lib/api/types/crossplane/listProviders';
1313
import { resourcesInterval } from '../../lib/shared/constants';
1414
import { timeAgo } from '../../utils/i18n/timeAgo';
15-
import { ResourceStatusCell } from '../Shared/ResourceStatusCell';
15+
1616
import { YamlViewButton } from '../Yaml/YamlViewButton.tsx';
1717

1818
import '@ui5/webcomponents-icons/dist/sys-enter-2';

src/components/Shared/ResourceStatusCellWithButton.tsx

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,36 @@ export const ResourceStatusCellWithButton = ({
4848
maxWidth: '60ch',
4949
textAlign: 'left',
5050
lineHeight: '1.5em',
51-
color: value ? 'var(--sapPositiveTextColor)' : 'var(--sapNegativeTextColor)',
5251
}}
5352
>
5453
{message}
5554
</Text>
5655

5756
<FlexBox
58-
style={{ borderTop: '1px solid gray', paddingTop: '1rem', marginTop: '1rem' }}
57+
style={{
58+
borderTop: '1px solid gray',
59+
paddingTop: '1rem',
60+
marginTop: '1rem',
61+
}}
5962
justifyContent={'Start'}
6063
alignItems={'Center'}
61-
gap={16}
64+
gap={12}
6265
>
63-
<Icon name={'date-time'} />
64-
<Text style={{ maxWidth: '60ch', textAlign: 'left', lineHeight: '1.5em', fontWeight: 'bold' }}>
66+
<Icon
67+
name={'date-time'}
68+
style={{
69+
color: value ? 'var(--sapPositiveTextColor)' : 'var(--sapNegativeTextColor)',
70+
}}
71+
/>
72+
<Text
73+
style={{
74+
maxWidth: '60ch',
75+
textAlign: 'left',
76+
lineHeight: '1.5em',
77+
fontWeight: 'bold',
78+
color: value ? 'var(--sapPositiveTextColor)' : 'var(--sapNegativeTextColor)',
79+
}}
80+
>
6581
{timeAgo.format(new Date(transitionTime))}
6682
</Text>
6783
</FlexBox>

src/spaces/mcp/pages/McpPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ export default function McpPage() {
7373
gap: '0.5rem',
7474
}}
7575
>
76-
here
7776
<MCPHealthPopoverButton
7877
mcpStatus={mcp?.status}
7978
projectName={projectName}

0 commit comments

Comments
 (0)