Skip to content
Closed
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b274baf
unit test coverage for HostNameTableCell
cpathipa Jun 19, 2024
f958dab
Revert "unit test coverage for HostNameTableCell"
cpathipa Jun 19, 2024
e596431
change: [M3-9433] - update styles to match CDS for Entity Header & Ac…
cpathipa Mar 14, 2025
88660d1
Added changeset: Update styles to match CDS for Entity Header & Acti…
cpathipa Mar 14, 2025
8d78721
Merge branch 'develop' into M3-9433
cpathipa Mar 14, 2025
7a0cdbd
Merge branch 'develop' into M3-9433
cpathipa Mar 17, 2025
cd9e1a7
update layout spacing
cpathipa Mar 17, 2025
172165f
Merge branch 'develop' into M3-9433
cpathipa Mar 18, 2025
e844303
Merge branch 'develop' into M3-9433
cpathipa Mar 19, 2025
462b92d
Merge branch 'develop' into M3-9433
cpathipa Mar 21, 2025
172bb10
Merge branch 'develop' into M3-9433
cpathipa Mar 25, 2025
5ffe17a
Add 24px gap between row elements in linodes landing page
cpathipa Mar 27, 2025
df44748
Merge branch 'develop' into M3-9433
cpathipa Mar 27, 2025
b6aa585
Update packages/manager/src/MainContent.tsx
cpathipa Mar 27, 2025
d12f946
Merge branch 'develop' into M3-9433
cpathipa Mar 27, 2025
5c5ee84
Add consistent spacing between GolabalNotifiacations section and othe…
cpathipa Mar 27, 2025
1b93bf1
Merge branch 'develop' into M3-9433
cpathipa Mar 27, 2025
d733c34
Merge branch 'develop' into M3-9433
cpathipa Mar 27, 2025
90c6e52
Add consisten spacing between between banner and entity header in Kub…
cpathipa Mar 27, 2025
aacbcc0
Merge branch 'M3-9433' of github.com:cpathipa/manager into M3-9433
cpathipa Mar 31, 2025
688f332
Merge branch 'develop' into M3-9433
cpathipa Mar 31, 2025
777f71a
Merge branch 'develop' into M3-9433
cpathipa Apr 11, 2025
8fbce09
Merge branch 'develop' into M3-9433
cpathipa Apr 11, 2025
bd955f7
Linodes landing page layout - group the notifications section
cpathipa Apr 15, 2025
bb01ab6
Merge remote-tracking branch 'origin/develop' into M3-9433
cpathipa Apr 15, 2025
b6144db
Merge remote-tracking branch 'origin/develop' into M3-9433
cpathipa Apr 17, 2025
db39606
change: [M3-9433] - Image Service Gen2 GA: Update copy about Image Pr…
cpathipa Apr 17, 2025
27e9bb7
Revert "change: [M3-9433] - Image Service Gen2 GA: Update copy about …
cpathipa Apr 17, 2025
3c71bab
Merge branch 'develop' of https://github.com/cpathipa/manager into de…
cpathipa Apr 23, 2025
05d165b
Merge branch 'develop' into M3-9433
cpathipa Apr 24, 2025
f17fc63
Merge remote-tracking branch 'origin/develop' into M3-9433
cpathipa Apr 24, 2025
4658d89
Revert "Merge remote-tracking branch 'origin/develop' into M3-9433"
cpathipa Apr 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Changed
---

Update styles to match CDS for Entity Header & Action Panel ([#11857](https://github.com/linode/manager/pull/11857))
6 changes: 3 additions & 3 deletions packages/manager/src/MainContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,14 @@ export const MainContent = () => {
margin: '0 auto',
maxWidth: `${theme.breakpoints.values.lg}px !important`,
pt: {
md: 1.5,
md: theme.spacingFunction(24),
xs: theme.spacing(2),
},
px: {
md: theme.spacing(2),
md: theme.spacing(3),
xs: 0,
},
py: 1.5,
py: theme.spacing(3),
transition: theme.transitions.create('opacity'),
width: isNarrowViewport
? '100%'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const StyledPreContainerDiv = styled('div', { label: 'StyledDiv' })({
alignItems: 'center',
display: 'flex',
flexWrap: 'wrap',
minHeight: 48,
height: 34,
});

export const StyledRootDiv = styled('div', { label: 'StyledRootDiv' })(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button } from '@linode/ui';
import { styled, useTheme } from '@mui/material/styles';
import Grid from '@mui/material/Grid2';
import { styled, useTheme } from '@mui/material/styles';
import useMediaQuery from '@mui/material/useMediaQuery';
import * as React from 'react';

Expand Down Expand Up @@ -76,13 +76,14 @@ export const LandingHeader = ({

return (
<Grid
container
data-qa-entity-header
sx={{
sx={(theme) => ({
alignItems: 'center',
justifyContent: 'space-between',
marginBottom: theme.spacing(3),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what can be done about this if the spacing is part of the new redesign, but the increase in spacing feels a bit awkward for landing pages with tabs (maybe we just have to get used to it?)

prod this branch
image image

width: '100%',
}}
})}
container
data-qa-entity-header
>
<Grid>
<Breadcrumb
Expand All @@ -102,10 +103,10 @@ export const LandingHeader = ({
sx={{
alignItems: 'center',
display: 'flex',
flex: '1 1 auto',
flexWrap: xsDown ? 'wrap' : 'nowrap',
gap: 3,
justifyContent: 'flex-end',
flex: '1 1 auto',

marginLeft: customSmMdBetweenBreakpoint
? theme.spacing(2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { formatDate } from 'src/utilities/formatDate';
import { isPast } from 'src/utilities/isPast';

import type { AccountMaintenance } from '@linode/api-v4/lib/account';
import type { NoticeProps } from '@linode/ui';

interface Props {
maintenanceEnd?: null | string;
Expand All @@ -16,8 +17,10 @@ interface Props {
type?: AccountMaintenance['type'];
}

export const MaintenanceBanner = React.memo((props: Props) => {
const { maintenanceEnd, maintenanceStart, type } = props;
interface MaintenanceBannerProps extends Props, Partial<NoticeProps> {}

export const MaintenanceBanner = React.memo((props: MaintenanceBannerProps) => {
const { maintenanceEnd, maintenanceStart, type, ...rest } = props;

const { data: accountMaintenanceData } = useAllAccountMaintenanceQuery(
{},
Expand Down Expand Up @@ -68,7 +71,7 @@ export const MaintenanceBanner = React.memo((props: Props) => {
}

return (
<Notice important variant="warning">
<Notice important variant="warning" {...rest}>
<Typography lineHeight="20px">
{generateIntroText(type, maintenanceStart, maintenanceEnd)}
</Typography>
Expand Down
Loading