Description
Changes proposed in this Pull Request
Wraps the auth code step for the “Use a domain I own” flow and creates a specialized version of the component for both Transfer and Connect options.
Also does some TypeScript conversion in a few places so it’s easier to prevent errors and validate types more assertively. 😬
Testing instructions
-
Same steps as #56178. Additionally, when choosing the Transfer option:
- Make sure that the button message at the ownership verification step for the is “Check readiness for transfer”;
- Confirm that adding the correct auth code adds the transfer to the cart, and an incorrect auth code shows an error message.
-
Also, for the Connect option, make sure that the ownership verification step on the domain connection flow still displays the correct button message (“Check my authorization code”) and still connects the domain properly 😅.
Preview
![image](https://user-images.githubusercontent.com/18705930/133914110-4801a898-5c91-4bd5-959c-2667df54453c.png)
Screen.Recording.2021-09-20.at.23.49.33.mov
Unfortunately, no screenshots were provided by the developer.