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

Jetpack Search: adapt post-checkout modals #40481

Merged
merged 8 commits into from
Mar 29, 2020

Conversation

AnnaMag
Copy link
Contributor

@AnnaMag AnnaMag commented Mar 26, 2020

Changes proposed in this Pull Request

  • Adapt a copy and redirects within the Thank you modal displayed in the post-checkout step of the Jetpack Search product purchase.

Testing instructions

  • go to /plans for a JP connected site on a non-Professional plan
  • purchase Jetpack Search, pass the checkout step
  • verify that the Thank you modal appears and the copy is correct
  • verify the redirects to the customizer and Jetpack dashboard within WP-Admin
    thanku

Fixes #40434

Sequel: add tracking

@AnnaMag AnnaMag added [Status] In Progress [Feature] Checkout The checkout screen and process for purchases made on WordPress.com. [Feature] Search Jetpack Search - A feature to speed up and improve the look of Search on your site. labels Mar 26, 2020
@AnnaMag AnnaMag self-assigned this Mar 26, 2020
@matticbot
Copy link
Contributor

@AnnaMag AnnaMag force-pushed the add/enable-thank-you-for-search branch from 8dc565b to 0805513 Compare March 26, 2020 14:36
@matticbot
Copy link
Contributor

matticbot commented Mar 26, 2020

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

Sections (~254 bytes added 📈 [gzipped])

name   parsed_size           gzip_size
plans       +383 B  (+0.1%)     +254 B  (+0.2%)

Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to.

Legend

What is parsed and gzip size?

Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory.
Gzip Size: Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.

@AnnaMag AnnaMag force-pushed the add/enable-thank-you-for-search branch from 0805513 to a487576 Compare March 26, 2020 14:49
@keoshi
Copy link
Contributor

keoshi commented Mar 26, 2020

@AnnaMag @gibrown Following up our quick call, let me know if the changes below make sense:

Welcome to Jetpack Search!

We are currently indexing the content on your site.

In the meantime, we have configured Jetpack Search on your site — you should try customizing it in your traditional WordPress dashboard.

[Customize Search now (link to the Customizer)] [Go back to my site (link to wp-admin/Jetpack)]

I'll also add these as suggestions on the code.

@keoshi keoshi added the [Status] Needs Copy Review Add this when you'd like to get a review / feedback from the Editorial team on your PR label Mar 26, 2020
@michelleweber
Copy link

michelleweber commented Mar 26, 2020

Welcome to Jetpack Search!

We're indexing the all content on your site.

In the meantime, we've configured some basic Jetpack Search settings on your site — head to your traditional WordPress dashboard to customize them.

[Customize Search now (link to the Customizer)] [Go back to my site (link to wp-admin/Jetpack)]

Question -- how do they know (or can they) when indexing is done? I'd be nice to tell them that here, if there's a notification or a screen they can check or something.

@AnnaMag
Copy link
Contributor Author

AnnaMag commented Mar 26, 2020

@keoshi would you rather use the illustration from Automattic/jetpack#15074?

@keoshi
Copy link
Contributor

keoshi commented Mar 26, 2020

@AnnaMag Nah, let's go with what we have here to highlight the moment of celebration. The other illustration is a bit bland, even if more relevant to the product.

@keoshi
Copy link
Contributor

keoshi commented Mar 26, 2020

@michelleweber Glad you noticed that! :)

We did propose to have a different copy during the design phases:

image

We are currently indexing your site and will notify you when it is complete.

But it seems that this bit won't be ready for the launch phase. Pinging @gibrown for confirmation though.

Thank you again, Michelle!

@gibrown
Copy link
Member

gibrown commented Mar 26, 2020

That copy sounds good and ya we can't currently tell them when indexing is complete (or rather we aren't tying that into this project).

<Button
primary
compact={ true }
href="customize.php?autofocus[section]=jetpack_search"
Copy link
Member

Choose a reason for hiding this comment

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

Just a quick note here that this link doesn't work yet.

Copy link
Contributor Author

@AnnaMag AnnaMag Mar 26, 2020

Choose a reason for hiding this comment

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

yes, it is in the making

@gibrown
Copy link
Member

gibrown commented Mar 26, 2020

I gave this a quick test and it worked great other than the links.

@gibrown gibrown removed the [Status] Needs Copy Review Add this when you'd like to get a review / feedback from the Editorial team on your PR label Mar 26, 2020
@AnnaMag AnnaMag force-pushed the add/enable-thank-you-for-search branch from 6862c6d to 77934cd Compare March 27, 2020 00:05
@AnnaMag
Copy link
Contributor Author

AnnaMag commented Mar 27, 2020

Ready for review @keoshi, @gibrown. Thank you

@AnnaMag AnnaMag added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. [Status] Needs Design Review Add this when you'd like to get a review / feedback from the Design team on your PR labels Mar 27, 2020
@AnnaMag AnnaMag requested review from keoshi and jsnmoon March 27, 2020 00:10
@AnnaMag AnnaMag force-pushed the add/enable-thank-you-for-search branch from 77934cd to 434c2ef Compare March 27, 2020 10:26
@keoshi
Copy link
Contributor

keoshi commented Mar 27, 2020

purchase Jetpack Search, pass the checkout step

How can I do this step?

Copy link
Member

@gibrown gibrown left a comment

Choose a reason for hiding this comment

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

Pushed a minor fix to have the customize link go to the jpsearch panel. Looks good and works well.

@keoshi
Copy link
Contributor

keoshi commented Mar 27, 2020

YES! Thank you for that change, @gibrown !

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.

Couldn't test it, but the screenshot looks good. I just added a few suggestions based on a test I did with the existing thank you modal.

Any reason why we have to use is-compact buttons here? If not, then please see if my changes make sense.

@gibrown gibrown added [Status] Ready to Merge and removed [Status] Needs Design Review Add this when you'd like to get a review / feedback from the Design team on your PR [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Mar 27, 2020
@AnnaMag AnnaMag force-pushed the add/enable-thank-you-for-search branch from 1b0d920 to 1be9077 Compare March 27, 2020 17:01
@AnnaMag
Copy link
Contributor Author

AnnaMag commented Mar 27, 2020

@keoshi good catch. Apologies for unclear test instructions!

I pushed the changes and retested. Looks great, thank you.

sc1

@keoshi
Copy link
Contributor

keoshi commented Mar 27, 2020

No problem. Thank you!

🛳

@gibrown
Copy link
Member

gibrown commented Mar 28, 2020

@AnnaMag @jsnmoon I think debugging this test failure is beyond my abilities. I already tried rerunning it, so I guess it is real. :)

@jsnmoon
Copy link
Member

jsnmoon commented Mar 28, 2020

@gibrown Test failures have been fixed.

@AnnaMag AnnaMag force-pushed the add/enable-thank-you-for-search branch from c4d958e to 6c4f5e6 Compare March 29, 2020 11:25
@AnnaMag AnnaMag merged commit 18ae060 into master Mar 29, 2020
@AnnaMag AnnaMag deleted the add/enable-thank-you-for-search branch March 29, 2020 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Checkout The checkout screen and process for purchases made on WordPress.com. [Feature] Search Jetpack Search - A feature to speed up and improve the look of Search on your site.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jetpack Search: revise the Thank you note upon purchase
7 participants