-
Notifications
You must be signed in to change notification settings - Fork 800
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
Connection: show full screen connection banner modal in JP dash #10888
Conversation
Thank you for the great PR description! When this PR is ready for review, please apply the Scheduled Jetpack release: January 10, 2019. |
@jeherve Thank you! This looks wonderful and works as expected. The Plugins page modal is just perfect and the Jetpack Dashboard page looks great as well (I saw your note above about the layout issue at the bottom of the connection modal on this page—that was my only comment while testing). |
Note that we'll also need to test what happens when you disconnect from WordPress.com, as I removed elements from the dashboard that are usually displayed there once you disconnect. |
Props to @MichaelArestad for the commit that fixed the CSS! 🌟🎉 |
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.
Go to the Jetpack menu. You should see the same modal.
I did not see the modal appear on this page after activating the plugin. Am I doing something wrong?
Was Jetpack previously connected to WordPress.com on your site? I would recommend that you try after disconnecting from WordPress.com in the Jetpack menu, then deactivating Jetpack, then activating it back. Let me know how that goes! |
@jeherve Nope, fresh site with no previous connection. |
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.
Finally was able to test this properly. Jetpack beta seems to lose the branch association every time I deactivate JP, but this worked for me:
Deactivated JP > Opened JP Beta > Reselected the branch (nothing seemed to be selected) > JP was auto-activated > Opened Jetpack and saw the modal
Looks good, let's 🚢
Was about to rebase but I don't know what's happening here with jetpack-speed.svg. Seems like you're introducing it here but also @jeffgolenski already introduced it in #10867 |
That modal was only loaded in the Plugins screen; let's load it in the Jetpack menu as well.
Based on mockup here: #10563 (comment)
* fixed top and bottom margin * now mobile friendly * including flexbox * no longer on top of menus or colliding with sidebar
This forces the connection modal to be displayed again.
f195d52
to
ab976fb
Compare
I have now rebased. |
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.
LGTM!
* Add first version of the Changelog and testing list for 6.9 * Changelog: add #10710 * changelog: add #10538 * changelog: add #10741 * changelog: add #10749 * changelog: add #10664 * changelog: add #10224 * changelog: add #10788 * Changelog: add #10560 * Chanegelog: add #10812 * changelog: add #10556 * Changelog: add #10668 * Changelog: add #10846 * Changelog: add #10947 * Changelog: add #10962 * Changelog: add #10956 * Changelog: add #10940 * Changelog: add #10934 * Changelog: add #10912 * changelog: add #10866 * changelog: add #10924 * Changelog: add #10936 * Changelog: add #10833 * changelog: add #10867 * Changelog: add #10960 * Changelog: add #10888 * changelog: add #10840 * changelog: add #10972 * Changelog: add #10979 * changelog: add #10909 * Changelog: add #10958 * Changelog: add #10981 * Changelog: add #10564 * Changelog: add #10809 * Changelog: add #10982 * Changelog: add #10706 * Changelog: add #10978 * Changelog: add #10132 * Changelog: add #11022 * Changelog: add #11024 * Changelog: add #10875 * Changelog: add #11030 * Changelog: add #11053 * Changelog: add #10880 * Changelog: add #9359 * Changelog: add #11037 * Update block list * Changelog: add #11060 * Changelog: add #10755 * changelog: add #11000 * Changelog: add #10786 * Changelog: add #10945 * Changelog: add #10597
Fixes #10563
Fixes #8618
Changes proposed in this Pull Request:
That modal was only loaded in the Plugins screen; let's load it in the Jetpack menu as well.
Notes
Since we are getting rid of the old connection component that used to be displayed on the Jetpack dashboard page, we now have to reload the page when you disconnect your site from WordPress.com, so the new modal can appear again.
By doing so, we do not see the notice that appears at the top of the Jetpack dashboard after a disconnection, inviting you to take a survey to tell us why you disconnected.
Testing instructions:
Proposed changelog entry for your changes: