-
Notifications
You must be signed in to change notification settings - Fork 366
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
feat: [M3-7311] - Create Load Balancer flow - manage state #9848
Conversation
<LoadBalancerLabel | ||
labelFieldProps={{ | ||
disabled: false, | ||
errorText: '', | ||
label: 'Linode Label', | ||
onChange: () => null, | ||
value: '', | ||
}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prop drilling is not required since we use a custom state management hook useFormikContext.useLoadBalancerState
packages/manager/src/features/LoadBalancers/LoadBalancerCreate/LoadBalancerRegions.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/LoadBalancers/useLoadBalancerState.ts
Outdated
Show resolved
Hide resolved
packages/manager/.changeset/pr-9848-upcoming-features-1698675578462.md
Outdated
Show resolved
Hide resolved
…78462.md Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
packages/manager/src/features/LoadBalancers/LoadBalancerCreate/LoadBalancerCreate.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/LoadBalancers/LoadBalancerCreate/LoadBalancerCreate.tsx
Show resolved
Hide resolved
packages/manager/src/features/LoadBalancers/LoadBalancerCreate/LoadBalancerActionPanel.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated linter change that snuck in.
Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
Co-authored-by: jdamore-linode <97627410+jdamore-linode@users.noreply.github.com>
@mjac0bs This issue is fixed now. AGLB-statemanagement.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing the label validation!
There's an issue with the endpoint validation that I commented on and an inconsistency in the API spec we'll want to double check.
My other suggestions are optional and just to use a consistent naming scheme for all our loadbalancer schemas.
packages/manager/src/features/LoadBalancers/LoadBalancerCreate/LoadBalancerCreate.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/LoadBalancers/LoadBalancerCreate/LoadBalancerCreate.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for following up with API!
Tests and validation looks good now with the resolved dependency. I think we're just missing a changeset for the validation package.
Description 📝
Create Load Balancer flow - Manage state.
How to test 🧪
Prerequisites
(How to setup test environment)
Verification steps
(How to verify changes)
As an Author I have considered 🤔
Check all that apply