-
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.
refactor: [M3-8877] - Refactor VPC Create to use
react-hook-form
(#…
…11357) * begin refactoring VPC create hook * save * save progress * update tests for vpc components * update drawer * remove unnecessary types * fix vpc create drawer bug default values * general subnet errors? * remove unnecessary util * switch back to scrollIntoError v1 :/ * general subnet errors i think this works for real * Added changeset: Refactor VPC Create to use `react-hook-form` instead of `formik` * feedback @bnussman-akamai, fix reset when using cancel button for VPCCreateDrawer * cleanup use of useWatch and add some accessibility help to remove button * update cypress test due to updated accessibility labels for subnet remove buttons * hiding mention of IPv6 in validation for now since we don't support it * validation changeset
- Loading branch information
1 parent
61987af
commit cca950f
Showing
20 changed files
with
515 additions
and
765 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
packages/manager/.changeset/pr-11357-tech-stories-1733778960338.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": Tech Stories | ||
--- | ||
|
||
Refactor VPC Create to use `react-hook-form` instead of `formik` ([#11357](https://github.com/linode/manager/pull/11357)) |
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
26 changes: 12 additions & 14 deletions
26
packages/manager/src/features/VPCs/VPCCreate/FormComponents/SubnetContent.test.tsx
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
17 changes: 12 additions & 5 deletions
17
packages/manager/src/features/VPCs/VPCCreate/FormComponents/VPCTopSectionContent.test.tsx
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.