Close sync modal when creating new site - #1142
Conversation
|
I've tested it using the HTML file:
The PR doesn't fix this case. It seems that in this PR, we are changing the code to close the connection dialog immediately after the link is clicked. I'm unsure if it's the best approach, as the action the user just started is not yet finished, and keeping the dialog open would make more sense. User can change their mind, close the browser, and choose another site to connect in the connection dialog. Should we update the |
|
@wojtekn, Thanks for testing the PR. This PR was made after exploring the other solution and it was an effort to find the simplest direct solution that solves user's pain.
I see this a bit excessive at this moment. It would require a big refactor centralizing all the modals in the same Redux store. If you think it's necessary we can create a separate issue. |
Agreed, I don't think we need that at this point. |
…e-sync-modal-when-creating-new-site
|
This PR is ready for another review. |
Related issues
Proposed Changes
Testing Instructions
TEST DEEP LINK
npm starthttps://wordpress.com/home/${WPCOM_SITE_SLUG}?studioSiteId=${YOUR_STUDIO_SITE_ID}close-modal-after-deeplink.mp4
TEST REGULAR CONNECTION
npm startconnect-site-regular-flow.mp4
Pre-merge Checklist