-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [M3-7351] - AGLB Configurations Add Route Drawer and other refi…
…nements (#9853) * fix up AGLB configurations * various fixes * add basic e2e test * Added changeset: AGLB Configurations Add Route Drawer and other refinements * improve mock data * clean up and comment * improve the mobile experence * clean up regions * fix create page crash * feedback @mjac0bs * Added changeset: AGLB Configurations Add Route Drawer and other refinements * Added changeset: Add `UpdateConfigurationPayload` * Added changeset: Add `UpdateConfigurationSchema` for AGLB * Delete packages/manager/.changeset/pr-9853-upcoming-features-1698871857708.md * add `id` to the routes table and add `id` to Load Balancer summary * other minor improvements * add certificate `id` * export clean up and deep link configs --------- Co-authored-by: Banks Nussman <banks@nussman.us>
- Loading branch information
1 parent
3ea7090
commit d47fdc5
Showing
32 changed files
with
701 additions
and
224 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
packages/api-v4/.changeset/pr-9853-upcoming-features-1698871909714.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@linode/api-v4": Upcoming Features | ||
--- | ||
|
||
Add `UpdateConfigurationPayload` ([#9853](https://github.com/linode/manager/pull/9853)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/manager/.changeset/pr-9853-upcoming-features-1698705643963.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@linode/manager": Upcoming Features | ||
--- | ||
|
||
AGLB Configurations Add Route Drawer and other refinements ([#9853](https://github.com/linode/manager/pull/9853)) |
38 changes: 38 additions & 0 deletions
38
packages/manager/cypress/e2e/core/loadBalancers/load-balancer-configurations.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { | ||
mockAppendFeatureFlags, | ||
mockGetFeatureFlagClientstream, | ||
} from 'support/intercepts/feature-flags'; | ||
import { makeFeatureFlagData } from 'support/util/feature-flags'; | ||
import { loadbalancerFactory, configurationFactory } from '@src/factories'; | ||
import { | ||
mockGetLoadBalancer, | ||
mockGetLoadBalancerConfigurations, | ||
} from 'support/intercepts/load-balancers'; | ||
|
||
describe('Akamai Global Load Balancer configurations page', () => { | ||
it('renders configurations', () => { | ||
const loadbalancer = loadbalancerFactory.build(); | ||
const configurations = configurationFactory.buildList(5); | ||
|
||
mockAppendFeatureFlags({ | ||
aglb: makeFeatureFlagData(true), | ||
}).as('getFeatureFlags'); | ||
mockGetFeatureFlagClientstream().as('getClientStream'); | ||
mockGetLoadBalancer(loadbalancer).as('getLoadBalancer'); | ||
mockGetLoadBalancerConfigurations(loadbalancer.id, configurations).as( | ||
'getConfigurations' | ||
); | ||
|
||
cy.visitWithLogin(`/loadbalancers/${loadbalancer.id}/configurations`); | ||
cy.wait([ | ||
'@getFeatureFlags', | ||
'@getClientStream', | ||
'@getLoadBalancer', | ||
'@getConfigurations', | ||
]); | ||
|
||
for (const configuration of configurations) { | ||
cy.findByText(configuration.label).should('be.visible'); | ||
} | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
...es/manager/src/features/LoadBalancers/EntryPoints/EntryPointLanding/EntryPointLanding.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.