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

Earn: update copy and icon on the Payments splash page in Earn. #43601

Merged
merged 12 commits into from Jul 9, 2020

Conversation

donlair
Copy link
Contributor

@donlair donlair commented Jun 24, 2020

This PR updates the copy and icon used on the dedicated Payments page that is shown when who has not yet connected to Stripe clicks the Payments card link in the Earn section of Calypso. Context for the changes is at pbMlHh-i6-p2.

Here are screenshots showing the changes:

Before:
Screen Shot 2020-06-23 at 9 24 00 PM

After:
Screen Shot 2020-06-23 at 3 39 25 PM

Testing instructions

  • Checkout this branch (git checkout update/earn-payments-splash-page-copy-edits)
  • Start calypso (yarn start)
  • Navigate to the Earn page using an account with a paid plan that has not connected to Stripe (/earn)
  • Click the recurring payments card to load the splash page (/earn/payments/)
  • Click the CTA button and confirm that the process to connect to Stripe is started.

@matticbot
Copy link
Contributor

@donlair donlair self-assigned this Jun 24, 2020
@matticbot
Copy link
Contributor

matticbot commented Jun 24, 2020

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

Sections (~87 bytes removed 📉 [gzipped])

name  parsed_size           gzip_size
earn      -1211 B  (-0.4%)      -87 B  (-0.1%)

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.

@donlair donlair requested a review from danhauk June 24, 2020 01:31
</div>
<div>
<Gridicon size={ 18 } icon="checkmark" />
{ this.props.translate( 'Collect payments in 135 countries.' ) }
Copy link

Choose a reason for hiding this comment

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

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 20 times:
translate( 'Collect payments in 135 countries' ) ES Score: 14

</div>
<div>
<Gridicon size={ 18 } icon="checkmark" />
{ this.props.translate( 'Easily manage subscribers.' ) }
Copy link

Choose a reason for hiding this comment

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

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 21 times:
translate( 'Easily manage subscribers' ) ES Score: 11

@donlair donlair added the [Status] String Freeze Add the [Status] String Freeze label to your PR to ensure new strings are translated before merging label Jun 24, 2020
@a8ci18n
Copy link

a8ci18n commented Jun 24, 2020

This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/3924242

Thank you @donlair for including a screenshot in the description! This is really helpful for our translators.

Copy link
Contributor

@danhauk danhauk left a comment

Choose a reason for hiding this comment

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

Looking good so far @donlair. Can we do a little CSS cleanup in this PR?

  1. The line length of the copy is really long now that the image we're using is smaller. Can we set a max width on the content area and then center the illustration in the remaining area?

Example at 66% width for the content (even this line length still feels pretty long but it's better):

image

  1. Let's remove the left padding on the content div on larger viewports. The text is out of alignment with the heading elements above it.

  2. On smaller viewports we should bump up the left and right padding to 16px to align with the rest of the elements.

image

  1. The checklist could benefit from some wider line spacing. It feels a bit cramped. Also maybe less space between the checkmark and the text.

  2. On mobile, the longer text on the checklist looks odd as the lines wrap under the checkmark. Can the text be indented and aligned with itself there with the checkmarks acting more like bullet points?

@donlair
Copy link
Contributor Author

donlair commented Jun 24, 2020

@danhauk could you take a look at the update? I added a Card component around the main content to get it closer to your updated comps. Does that also address your concerns around the heading / content alignment? I've also adjusted the spacing and wrapping on the list.

Screen Shot 2020-06-24 at 3 42 37 PM

@donlair donlair requested a review from danhauk June 25, 2020 13:49
</div>
<p className="memberships__onboarding-paragraph">
{ this.props.translate(
'WordPress.com Payments makes it easy to sell physical and digital goods, accept donations, charge for in-person services, build subscription newsletters, and more.'
Copy link

Choose a reason for hiding this comment

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

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 9 times:
translate( 'WordPress.com Payments makes it easy to sell physical and digital goods, accept donations, charge for in-person services, build subscription newsletters, and more. One-time, monthly, and yearly credit and debit card payment options are supported.' ) ES Score: 8

<p className="memberships__onboarding-paragraph">{ cta }</p>
<p className="memberships__onboarding-paragraph">
{ this.props.translate(
'Payments are securely processed by Stripe, a payment partner for all credit and debit card payments.'
Copy link

Choose a reason for hiding this comment

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

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 9 times:
translate( 'Payments are safely, securely, and seamlessly processed by Stripe, a payment partner for all credit and debit card payments. Stripe provides easy access to your money and takes just minutes to set up.' ) ES Score: 6

@donlair
Copy link
Contributor Author

donlair commented Jun 29, 2020

Here's an updated screenshot of the current layout in this PR:
Screen Shot 2020-06-26 at 1 23 41 PM

@danhauk danhauk force-pushed the update/earn-payments-splash-page-copy-edits branch from 36e7c24 to 97dd0f4 Compare July 1, 2020 17:44
@@ -498,7 +445,7 @@ class MembershipsSection extends Component {
) }
>
<NoticeAction href={ `/earn/payments-plans/${ this.props.siteSlug }` } icon="create">
{ this.props.translate( 'Add a payment plan' ) }
{ this.props.translate( 'Add a Payment Plan' ) }
Copy link

Choose a reason for hiding this comment

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

🆗 This change will be queued for retranslation. We'll use the existing translations in the meantime.

@a8ci18n
Copy link

a8ci18n commented Jul 1, 2020

This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/3924242

Thank you @donlair for including a screenshot in the description! This is really helpful for our translators.

@danhauk
Copy link
Contributor

danhauk commented Jul 1, 2020

@donlair Thanks for working to bring it closer to the proposed design. I think it's looking good. I pushed up a couple commits to tweak the styles, add mobile styles, and use some typography variables we have available.

Here's some screenshots:

image

mobile screenshot

@donlair donlair force-pushed the update/earn-payments-splash-page-copy-edits branch from 8065873 to 31b20c8 Compare July 7, 2020 18:04
@donlair donlair dismissed danhauk’s stale review July 8, 2020 12:05

This change request became irrelevant after we switched to the updated design.

@donlair
Copy link
Contributor Author

donlair commented Jul 8, 2020

@danhauk I rebased the update and your changes look good to me. Can you mark this as reviewed? I'll deploy the changes once we get a green light that the name change updates are stable.

Copy link
Contributor

@danhauk danhauk left a comment

Choose a reason for hiding this comment

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

LGTM!

@donlair donlair merged commit 1b0c1ed into master Jul 9, 2020
@donlair donlair deleted the update/earn-payments-splash-page-copy-edits branch July 9, 2020 17:27
@matticbot matticbot removed the [Status] String Freeze Add the [Status] String Freeze label to your PR to ensure new strings are translated before merging label Jul 9, 2020
@a8ci18n
Copy link

a8ci18n commented Jul 9, 2020

Translation for this Pull Request has now been finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants