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

Reading Settings: Update the label/description on the "Welcome email text" and "Comment follow email text" settings #73040

Merged

Conversation

ivan-ottinger
Copy link
Contributor

@ivan-ottinger ivan-ottinger commented Feb 7, 2023

This PR updates labels and description on several form fields on the new Reading settings page.

Proposed Changes

  • Change Welcome email text form field label to Confirmation email message.
  • Change The welcome message sent out to new readers when they subscribe to your blog. form field explanation to The confirmation message sent out to new readers when they subscribe to your blog..
  • Change Comment follow email text form field label to Comment follow email message.
  • Fix a minor typo in the CSS class name: site-settings__emails-test-settings-containersite-settings__emails-text-settings-container.
Before After
Markup on 2023-02-06 at 10:28:47 Markup on 2023-02-06 at 10:26:22

Fixes #72485.

Related discussion: pdtkmj-Vc-p2#comment-1886

Testing Instructions

  1. Check out the PR and build it locally.
  2. Make sure the WPCOM locale is set to English at http://calypso.localhost:3000/me/account.
  3. Navigate to the new Reading settings page at http://calypso.localhost:3000/settings/reading/[site-address].
  4. Review the updated labels and field description - they should match the "After" screenshot.
  5. Change your WPCOM locale to non-English language.
  6. Review the updated labels and field description again - this time, the old already-translated strings should be used.

Pre-merge Checklist

  • Has the general commit checklist been followed? (PCYsg-hS-p2)
  • Have you written new tests for your changes?
  • Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
  • Have you checked for TypeScript, React or other console errors?
  • Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
  • Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
  • For changes affecting Jetpack: Have we added the "[Status] Needs Privacy Updates" label if this pull request changes what data or activity we track or use (p4TIVU-ajp-p2)?

@matticbot
Copy link
Contributor

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

Sections (~65 bytes added 📈 [gzipped])

name              parsed_size           gzip_size
settings-reading       +444 B  (+0.2%)      +65 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.

@ivan-ottinger ivan-ottinger marked this pull request as ready for review February 7, 2023 09:21
@ivan-ottinger ivan-ottinger self-assigned this Feb 7, 2023
@ivan-ottinger ivan-ottinger added the Reading Settings Issues related to Reading Settings page in calypso label Feb 7, 2023
@ivan-ottinger ivan-ottinger changed the title Update/subscription emails settings text area labels Reading Settings: Update the label/description on the "Welcome email text" and "Comment follow email text" settings Feb 7, 2023
@ivan-ottinger ivan-ottinger requested a review from a team February 7, 2023 09:28
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Feb 7, 2023
Copy link
Contributor

@yansern yansern left a comment

Choose a reason for hiding this comment

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

It has language fallbacks in case translation is not ready. LGTM.

I'd imagine if Reading Settings had E2E tests, changing the name / id for the form input would've required changing it on the accompanying tests. But all is good here.

@ivan-ottinger
Copy link
Contributor Author

Thank you for the review, Yan! 🙂

I'd imagine if Reading Settings had E2E tests, changing the name / id for the form input would've required changing it on the accompanying tests. But all is good here.

Yes, we haven't introduced new E2E tests here.

@ivan-ottinger ivan-ottinger merged commit 590293c into trunk Feb 8, 2023
@ivan-ottinger ivan-ottinger deleted the update/subscription-emails-settings-text-area-labels branch February 8, 2023 13:47
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Feb 8, 2023
@a8ci18n
Copy link

a8ci18n commented Feb 8, 2023

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

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

@a8ci18n
Copy link

a8ci18n commented Feb 16, 2023

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
Reading Settings Issues related to Reading Settings page in calypso
Projects
None yet
4 participants