Skip to content
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

Update: Remove the promotional copy on Jetpack Setup #13426

Merged
merged 2 commits into from
Sep 4, 2019

Conversation

enejb
Copy link
Member

@enejb enejb commented Sep 4, 2019

Fixes #13410.

The main reason we are doing this is so that we can then increase the iframe size and not have too much of a gap between the promotional copy and the iframe.

Changes proposed in this Pull Request:

Fade out the promotional instructions when the user clicks the Setup Jetpack button.

Is this a new feature or does it add/remove features to an existing part of Jetpack?

Testing instructions:

Add the constant define( 'JETPACK_SHOULD_USE_CONNECTION_IFRAME', true ); to you wp-config.php

  • Go to Jetpack admin to connect jetpack for the first time.
  • Notice that the promotional copy fades away after you click on thee Setup Jetpack button.

Proposed changelog entry for your changes:

  • Remove the promiotional copy when in the jetpack setup process.

@enejb enejb added [Status] Needs Review To request a review from fellow Jetpack developers. Label will be renamed soon. [Status] Needs Design Review Design has been added. Needs a review! labels Sep 4, 2019
@enejb enejb requested review from keoshi, roccotripaldi and a team September 4, 2019 14:51
@enejb enejb self-assigned this Sep 4, 2019
@enejb enejb closed this Sep 4, 2019
@enejb enejb reopened this Sep 4, 2019
@jetpackbot
Copy link

jetpackbot commented Sep 4, 2019

Thank you for the great PR description!

When this PR is ready for review, please apply the [Status] Needs Review label. If you are an a11n, please have someone from your team review the code if possible. The Jetpack team will also review this PR and merge it to be included in the next Jetpack release.

Scheduled Jetpack release: October 1, 2019.
Scheduled code freeze: September 24, 2019

Generated by 🚫 dangerJS against a9b8b11

@jeherve jeherve added Admin Page React-powered dashboard under the Jetpack menu Connect Flow Connection banners, buttons, ... labels Sep 4, 2019
tyxla
tyxla previously approved these changes Sep 4, 2019
Copy link
Member

@tyxla tyxla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does the job well, thanks!

I've left a minor suggestion, once it's commited, code-wise we're good, so if you get a design ✅ feel free to ship.

_inc/connect-button.js Outdated Show resolved Hide resolved
@tyxla tyxla removed the [Status] Needs Review To request a review from fellow Jetpack developers. Label will be renamed soon. label Sep 4, 2019
@tyxla tyxla requested a review from jeffgolenski September 4, 2019 16:12
@tyxla tyxla added this to the 7.8 milestone Sep 4, 2019
Copy link
Member

@tyxla tyxla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-approving after the latest changes.

Copy link
Contributor

@keoshi keoshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, but I agree with @tyxla — the 100 value is just too fast, but maybe it serves a purpose of switching the layout with a tiny transition just to avoid looking broken in between? In any case, a smoother, longer transition would help here.

Outside the scope, but one minor thing I've noticed when testing this again is that when pressing the button, it turns into a disabled “Loading...” that eventually goes away. Could we replace that for simple text instead of a button, or does it serve any purpose (reverts to the original button in case of error, or changing between elements would also lead to temporary layout misformatting)?

@jeffgolenski
Copy link
Member

Just tested at mobile size. Seems to work well for me. Only suggestion is what @keoshi recommended above.

Video testing: https://cloudup.com/cFrSo-BWr71

Copy link
Contributor

@gravityrail gravityrail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this change. Thanks!

@lezama lezama merged commit bb4fe35 into master Sep 4, 2019
@lezama lezama deleted the add/connect-in-place-fadeout-message branch September 4, 2019 17:10
@lezama
Copy link
Contributor

lezama commented Sep 4, 2019

Outside the scope, but one minor thing I've noticed when testing this again is that when pressing the button, it turns into a disabled “Loading...” that eventually goes away. Could we replace that for simple text instead of a button, or does it serve any purpose (reverts to the original button in case of error, or changing between elements would also lead to temporary layout misformatting)?

tracked in Asana

jeherve added a commit that referenced this pull request Sep 20, 2019
jeherve added a commit that referenced this pull request Sep 24, 2019
jeherve added a commit that referenced this pull request Sep 24, 2019
* Changelog: initial set of changes for 7.8

* Changelog: add #13310

* Changelog: add #13103

* Changelog: add #13426

* Changelog: add #13389

* Changelog: add #13449

* Changelog: add #13461

* Changelog: add #13460

* Changelog: add #13441

* Changelog: add #13454

* Changelog: add #13457

* Changelog: add #13425

* Changelog: add #13473

* Changelog: add #13355

* Changelog: add #13451

* Changelog: add #13358

* Changelog: add #13464

* Changelog: add #13416

* Changelog: add #13494

* Changelog: add #13465

* Changelog: add #13424

* Changelog: add #13432

* Changelog: add #13471

* Changelog: add 7.7.2 entry

* Changelog: add #13446

* Add more testing elements
jeherve added a commit that referenced this pull request Sep 24, 2019
* Changelog: initial set of changes for 7.8

* Changelog: add #13310

* Changelog: add #13103

* Changelog: add #13426

* Changelog: add #13389

* Changelog: add #13449

* Changelog: add #13461

* Changelog: add #13460

* Changelog: add #13441

* Changelog: add #13454

* Changelog: add #13457

* Changelog: add #13425

* Changelog: add #13473

* Changelog: add #13355

* Changelog: add #13451

* Changelog: add #13358

* Changelog: add #13464

* Changelog: add #13416

* Changelog: add #13494

* Changelog: add #13465

* Changelog: add #13424

* Changelog: add #13432

* Changelog: add #13471

* Changelog: add 7.7.2 entry

* Changelog: add #13446

* Add more testing elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin Page React-powered dashboard under the Jetpack menu Connect Flow Connection banners, buttons, ... [Status] Needs Design Review Design has been added. Needs a review!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WP-Admin Connect Flow: fade out Jetpack promotional copy when starting flow
9 participants