Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upcoming: CDS Redesign 2025 #11465

Merged
merged 72 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
a6c2592
upcoming: [M3-9001] - Footer Update (#11446)
harsh-akamai Dec 30, 2024
ebb85b4
Merge branch 'develop' of github.com:linode/manager into cds-redesign…
jaalah Dec 30, 2024
b627b2f
Adjust dev tools icon to the right
jaalah Dec 30, 2024
eb40935
UX Request: Reduce spacing between footer items
jaalah Dec 30, 2024
7eb227a
upcoming: [M3-8982] - Update Left Navigation (#11463)
harsh-akamai Dec 31, 2024
b7a8e87
upcoming: [M3-9006] - Update Table Component with Design Tokens (#11461)
hasyed-akamai Dec 31, 2024
8372aa2
upcoming: [M3-9002] - Replace hamburger icon in left navigation (#11462)
harsh-akamai Dec 31, 2024
c1e5e2c
Merge branch 'cds-redesign-2025' of github.com:linode/manager into cd…
jaalah Dec 31, 2024
7898eb9
Update settings with new EnableTableStriping component and tests
jaalah Jan 6, 2025
8703588
[CDS Updates] - Handle cds sticky sidebar (#11479)
abailly-akamai Jan 8, 2025
3e4c2b8
Get latest from develop
jaalah Jan 8, 2025
907640c
remove chips and improve preference managing (#11492)
abailly-akamai Jan 8, 2025
b5203ff
Merge remote-tracking branch 'upstream/develop' into cds-redesign-2025
jaalah Jan 10, 2025
6230667
Simplify footer/toggle
abailly-akamai Jan 13, 2025
43a58d6
change: [M3-9003] – CDS: Restructure Top Menu Design with Akamai Logo…
dwiley-akamai Jan 13, 2025
55c7c4d
new sidebar styles
abailly-akamai Jan 13, 2025
4d1c078
responsiveness adjustments
abailly-akamai Jan 14, 2025
38917da
Get latest from develop
jaalah Jan 15, 2025
0fab475
Remove parentColumn - No longer need
jaalah Jan 15, 2025
63629fb
chore: [M3-9054] - CDS: Update all the fonts (#11517)
abailly-akamai Jan 15, 2025
d293418
Update the footer and add hover to product families
jaalah Jan 15, 2025
fd70a80
Update latest, Add hover to product families, Update footer
jaalah Jan 15, 2025
7bc8195
Update fonts from fontsource; Hide logo for mobile < 430
jaalah Jan 15, 2025
df12e65
Add yarn lock
jaalah Jan 15, 2025
b5e6465
Fix the bolding of the active link
jaalah Jan 15, 2025
aa6af96
Use theme for tokens
jaalah Jan 15, 2025
2e28d54
cleanup and fixes
abailly-akamai Jan 15, 2025
82f4f64
moar cleanup and fixes
abailly-akamai Jan 15, 2025
237cdb6
fix test & linting errors
abailly-akamai Jan 15, 2025
c8482ca
update snapshots
abailly-akamai Jan 15, 2025
277046d
Merge branch 'develop' into cds-redesign-2025
abailly-akamai Jan 15, 2025
35ba8aa
fix the e2e
abailly-akamai Jan 15, 2025
bc2605f
small style adjustments
abailly-akamai Jan 15, 2025
e7a487e
Revert "fix the e2e"
abailly-akamai Jan 15, 2025
9926b49
fix: [M3-9124] - Link styles in KubernetesClusterRow and clean up one…
bnussman-akamai Jan 16, 2025
dc8d01f
CDS Feedback & Review Fixes
jaalah Jan 16, 2025
07ff892
Footer & Notification Updates
jaalah Jan 17, 2025
a05887f
Updates to Search, Search Menu, Accordion Icons
jaalah Jan 18, 2025
5f057a2
Algolia Search
jaalah Jan 18, 2025
fb502d6
Merge remote-tracking branch 'upstream/develop' into cds-redesign-2025
jaalah Jan 18, 2025
f5256c3
Fix pin border issue
jaalah Jan 18, 2025
4b5b365
Badge Padding, Pin Toggle Adjustments
jaalah Jan 21, 2025
fc41644
Get latest from develop
jaalah Jan 21, 2025
a314672
Small styling fixes
abailly-akamai Jan 23, 2025
63029ff
fix beta chip getting cut off
hana-akamai Jan 23, 2025
fa63127
top nav responsiveness adjustments and fixes
hana-akamai Jan 23, 2025
8dd9231
dark mode table label link and padding fixes
hana-akamai Jan 23, 2025
66eb997
refactor: [M3-8801] - Remove Individual Product Entity Icons (#11537)
hasyed-akamai Jan 24, 2025
547a2e2
fix in-progress chip border radius
hana-akamai Jan 24, 2025
00c44f4
more dark mode table fixes
hana-akamai Jan 24, 2025
7ff1e1a
side nav refinements
hana-akamai Jan 24, 2025
19d2186
update warning icon and notice component accordingly
hana-akamai Jan 24, 2025
67a93de
default akamai accounts to blue
hana-akamai Jan 27, 2025
102a7d7
Update table header color
jaalah Jan 27, 2025
b06bc37
Merge branch 'cds-redesign-2025' of github.com:linode/manager into cd…
jaalah Jan 27, 2025
66bb46f
Finishing Touches
jaalah Jan 28, 2025
f5ec258
Get latest from develop
jaalah Jan 28, 2025
d6ecfa7
Fix issue with mobile visibility for search bar
jaalah Jan 28, 2025
7231883
Increase product icons in nav and search menu, adjust top menu spacin…
jaalah Jan 29, 2025
f15ab45
Padding around search
jaalah Jan 29, 2025
c3fd63a
Update our primary nav headings
jaalah Jan 31, 2025
fbe32f1
post rebase fixes
abailly-akamai Jan 31, 2025
de5cd01
Merge branch 'cds-redesign-2025' of github.com:linode/manager into cd…
jaalah Jan 31, 2025
ccc2858
Update search final
jaalah Jan 31, 2025
fab2fe5
Fix issue with product names disappearing
jaalah Feb 3, 2025
47fbb97
Prevent icon from shrinking when names are two lines, add padding
jaalah Feb 3, 2025
9b6db2f
Convert product icon to span
jaalah Feb 3, 2025
7450c47
merge fixes w/ develop
abailly-akamai Feb 5, 2025
1276351
fix lke-update.spec.ts
abailly-akamai Feb 5, 2025
cf2fa06
fix unit fail
abailly-akamai Feb 5, 2025
cc50ad0
fix remainning e2e tests- thx @jdamore-linode
abailly-akamai Feb 6, 2025
86a660b
merge develop + fixes
abailly-akamai Feb 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tech Stories
---

Remove Individual Product Entity Icons and Update Story Accordingly ([#11537](https://github.com/linode/manager/pull/11537))
6 changes: 6 additions & 0 deletions packages/manager/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,12 @@ module.exports = {
'@mui/core',
'@mui/system',
'@mui/icons-material',
{
importNames: ['Typography'],
message:
'Please use Typography component from @linode/ui instead of @mui/material',
name: '@mui/material',
},
],
'no-throw-literal': 'warn',
'no-trailing-spaces': 'warn',
Expand Down
4 changes: 1 addition & 3 deletions packages/manager/.storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<script>
window.global = window;
</script>

<link rel="stylesheet" href="/fonts/fonts.css" />
</script>
6 changes: 5 additions & 1 deletion packages/manager/cypress/e2e/core/account/betas.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ describe('Betas landing page', () => {
cy.visitWithLogin('/linodes');
cy.wait('@getFeatureFlags');

ui.nav.findItemByTitle('Betas').should('be.visible').click();
ui.nav
.findItemByTitle('Betas')
.scrollIntoView()
.should('be.visible')
.click();

cy.url().should('endWith', '/betas');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ describe('Account service transfers', () => {
cy.get('[data-qa-panel="Received Service Transfers"]')
.should('be.visible')
.within(() => {
cy.get('[data-testid="KeyboardArrowDownIcon"]').click();
cy.get('[role="button"]').click();
cy.findByText(serviceTransferEmptyState, { exact: false }).should(
'be.visible'
);
Expand All @@ -176,7 +176,7 @@ describe('Account service transfers', () => {
cy.get('[data-qa-panel="Sent Service Transfers"]')
.should('be.visible')
.within(() => {
cy.get('[data-testid="KeyboardArrowDownIcon"]').click();
cy.get('[role="button"]').click();
cy.findByText(serviceTransferEmptyState, { exact: false }).should(
'be.visible'
);
Expand Down
10 changes: 10 additions & 0 deletions packages/manager/cypress/e2e/core/kubernetes/lke-update.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2370,6 +2370,7 @@ describe('LKE ACL updates', () => {
// Confirm submit button is disabled if form has not been changed
ui.button
.findByTitle('Update')
.scrollIntoView()
.should('be.visible')
.should('not.be.enabled');

Expand All @@ -2384,6 +2385,7 @@ describe('LKE ACL updates', () => {
// confirm submit button is now enabled
ui.button
.findByTitle('Update')
.scrollIntoView()
.should('be.visible')
.should('be.enabled');

Expand All @@ -2404,6 +2406,7 @@ describe('LKE ACL updates', () => {
// submit
ui.button
.findByTitle('Update')
.scrollIntoView()
.should('be.visible')
.should('be.enabled')
.click();
Expand Down Expand Up @@ -2451,6 +2454,7 @@ describe('LKE ACL updates', () => {
// Confirm submit button is disabled if form has not been changed
ui.button
.findByTitle('Update')
.scrollIntoView()
.should('be.visible')
.should('not.be.enabled');

Expand Down Expand Up @@ -2484,6 +2488,7 @@ describe('LKE ACL updates', () => {
// submit
ui.button
.findByTitle('Update')
.scrollIntoView()
.should('be.visible')
.should('be.enabled')
.click();
Expand Down Expand Up @@ -2568,6 +2573,7 @@ describe('LKE ACL updates', () => {
// Confirm submit button is disabled if form has not been changed
ui.button
.findByTitle('Update')
.scrollIntoView()
.should('be.visible')
.should('not.be.enabled');

Expand All @@ -2582,6 +2588,7 @@ describe('LKE ACL updates', () => {
// confirm submit button is now enabled
ui.button
.findByTitle('Update')
.scrollIntoView()
.should('be.visible')
.should('be.enabled');

Expand Down Expand Up @@ -2613,6 +2620,7 @@ describe('LKE ACL updates', () => {
// submit
ui.button
.findByTitle('Update')
.scrollIntoView()
.should('be.visible')
.should('be.enabled')
.click();
Expand Down Expand Up @@ -2729,6 +2737,7 @@ describe('LKE ACL updates', () => {
// submit
ui.button
.findByTitle('Update')
.scrollIntoView()
.should('be.visible')
.should('be.enabled')
.click();
Expand Down Expand Up @@ -2819,6 +2828,7 @@ describe('LKE ACL updates', () => {
// submit
ui.button
.findByTitle('Update')
.scrollIntoView()
.should('be.visible')
.should('be.enabled')
.click();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ describe('linode landing checks', () => {
cy.findByTestId('menu-item-Object Storage').should('be.visible');
cy.findByTestId('menu-item-Longview').should('be.visible');
cy.findByTestId('menu-item-Marketplace').should('be.visible');
cy.findByTestId('menu-item-Account').should('be.visible');
cy.findByTestId('menu-item-Account').scrollIntoView().should('be.visible');
cy.findByTestId('menu-item-Help & Support').should('be.visible');
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,12 @@ describe('Community Stackscripts integration tests', () => {
'Unexpected response received when fetching StackScripts'
);
}

cy.contains(`${stackScripts[0].username} / ${stackScripts[0].label}`).should('be.visible');

cy.contains(
`${stackScripts[0].username} / ${stackScripts[0].label}`
).should('be.visible');
});
});
});
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,7 @@ describe('Update stackscripts', () => {
.findByTitle(`Make StackScript ${stackScripts[0].label} Public?`)
.should('be.visible')
.within(() => {
ui.button
.findByTitle('Confirm')
.should('be.visible')
.click();
ui.button.findByTitle('Confirm').should('be.visible').click();
});
cy.wait('@mockUpdateStackScript');
cy.wait('@mockGetStackScripts');
Expand Down
1 change: 0 additions & 1 deletion packages/manager/cypress/support/component/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="fonts/fonts.css">
<title>Cloud Manager Components</title>
</head>
<body>
Expand Down
22 changes: 21 additions & 1 deletion packages/manager/cypress/support/intercepts/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,27 @@ export const mockGetProfileGrants = (
export const mockGetUserPreferences = (
preferences: UserPreferences
): Cypress.Chainable<null> => {
return cy.intercept('GET', apiMatcher('profile/preferences'), preferences);
const defaultPreferences = {
// All sidebar categories are expanded.
collapsedSideNavProductFamilies: [],

// Sidebar is not pinned.
desktop_sidebar_open: false,

// Type-to-confirm is enabled.
type_to_confirm: true,
};

const resolvedPreferences = {
...defaultPreferences,
...preferences,
};

return cy.intercept(
'GET',
apiMatcher('profile/preferences'),
resolvedPreferences
);
};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const topMenuItemsLocator = {
/** Top menu search field. */
searchInput: '[data-qa-main-search]',
/** Top menu navigation toggle. */
toggleSideMenuButton: '[aria-label="open menu"]',
toggleSideMenuButton: '[aria-label="unpin menu"]',
};

/** Top menu create dropdown items. */
Expand Down
1 change: 0 additions & 1 deletion packages/manager/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/fonts/fonts.css" />
<title>Akamai Cloud Manager</title>
</head>
<body>
Expand Down
4 changes: 3 additions & 1 deletion packages/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
"@dnd-kit/utilities": "^3.2.2",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@fontsource/fira-code": "^5.1.1",
"@fontsource/nunito-sans": "^5.1.1",
"@hookform/resolvers": "3.9.1",
"@linode/api-v4": "*",
"@linode/design-language-system": "^2.6.1",
"@linode/design-language-system": "^3.0.0",
"@linode/search": "*",
"@linode/ui": "*",
"@linode/validation": "*",
Expand Down
37 changes: 0 additions & 37 deletions packages/manager/public/fonts/fonts.css

This file was deleted.

Binary file not shown.
Binary file not shown.
Loading