-
Notifications
You must be signed in to change notification settings - Fork 798
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
Backup: provide additional disconnect info in backup plugin #21421
Backup: provide additional disconnect info in backup plugin #21421
Conversation
… multiple steps and accept more props
…nt to show connected plugins and Jetpack benefit information
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Once your PR is ready for review, check one last time that all required checks (other than "Required review") appearing at the bottom of this PR are passing or skipped. Jetpack plugin:
Backup plugin:
Boost plugin:
|
ea4ac4e
to
034324e
Compare
…ck files that do not need to be part of this PR
@samiff - previous review was marked as stale after the original base branch for this PR was merged. |
* master: Added a custom composer installer to use a separate vendor folder. (#21877) Masterbar: rewrite tracks-events.js without jQuery (#21907) pre-commit: Run `eslint --fix` like we do `phpcbf` (#21923) Hide licenses activation route when user account not linked. (#21919) Beta: Handle exception when no Internet connection (#21915) Update wordpress monorepo (#21918) Pin dependency automattic/wordbless to 0.3.1 (#21920) Use new GitHub secret to manage pushing to Project Boards (#21838) Backup: provide additional disconnect info in backup plugin (#21421) IDC: Event tracking for the new screen (#21900) Releases: add testing list for Jetpack 10.4 (#21909) Jetpack 10.5-a.0 Cycle Start (#21912) Jetpack 10.4: Changelog (#21908) Add/contextualized jetpack connection (#21815) Fix masterbar not being displayed entirely for resolutions of under 660px. (#21871) Handle the intermittent occurrence of null in `columnWidths[ rowIndex ]` array in TiledGallery (#21892) Add to My Plan's header section a small licensing-related piece of copy (#21899) Sharing: ask search engines to not index pages with query string. (#21843) PR Template: Indicate use of milestone (#21898) Likes: add some extra checks to queuehandler.js (#21896)
This PR is related to and based from #21048
Changes proposed in this Pull Request:
<DisconnectDialog />
.Jetpack product discussion
pbNhbs-V4-p2
Does this pull request change what data or activity we track or use?
This PR does not track any new data or activity on its own.
Testing instructions:
Review PR Jetpack: Extend disconnection dialog component to handle multiple steps and accept more props #21048 to get an overview of the updates to the disconnect dialog component that this PR uses.
On your development Jetpack environment, make sure you have the Jetpack Backup plugin installed and activated.
Make sure you also have at least one other plugin that uses the Jetpack connection installed and active ( Boost, Jetpack )
Go to the Jetpack Backup admin screen.
If not already connected, follow the connection flow to connect the Jetpack site.
Once connected, from the Jetpack Backup admin page, click the "Disconnect" link in the connection area.
This will open the Disconnect Dialog.
You should see a list of other connected plugins presented in the first screen that looks like the example below:
After a successful disconnect, you will see the disconnect confirmation screen, which will provide the option to give some feedback. You can also exit the flow here by clicking on "No thank you"
Click on the "Help us improve" button to go to the survey screen.
On the survey screen, the "Submit Feedback" button should be disabled until a response is selected. Selecting a response should show the response in an active/ selected state that looks like this:
Press "Submit Feedback" to submit the response and move to the last step. ( note, the disconnect flow can be exited here without providing feedback by clicking on "Skip for now" )
The survey response is sent to a WPCOM endpoint. Observe your network panel traffic for a POST request to a
feedback-survey
endpoint. You should receive a 200 response from this endpoint.The final step of the flow is the "Thank You" screen. You can click "Back to my website," which will exit the disconnect flow and call the passed
onDisconnect
prop - if provided.Check that the analytics events from the test plan for Jetpack: Extend disconnection dialog component to handle multiple steps and accept more props #21048 are recorded by tracks.
After exiting the disconnect flow, you should see the Connect screen for the backups plugin: