Skip to content

Store: Add footer text setting to the email settings page #23091

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

Merged
merged 1 commit into from
Mar 15, 2018

Conversation

emdashcodes
Copy link

@emdashcodes emdashcodes commented Mar 7, 2018

This PR adds an email footer text setting to the email settings page, now that we removed the override filter from wc-calypso-bridge (see Automattic/wc-calypso-bridge#37 (comment)).

New stores will default to having the dynamic site title as the email footer, but older stores may have a stale value (i.e. the actual text "Site Title" which the filter was designed to fix). Adding the setting here will allow users to fix this on their own without having to dig through wp-admin to fix it.

screen shot 2018-03-07 at 10 30 25 am

To Test:

  • Go to http://calypso.localhost:3000/store/settings/email/:site
  • Verify you see the Footer text setting and a value is present
  • Test updating and saving the value

@matticbot
Copy link
Contributor

{
field: 'email',
option: 'woocommerce_email_footer_text',
title: translate( 'Footer text' ),
Copy link

Choose a reason for hiding this comment

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

Hi! I've found a possible matching string that has already been translated 9 times:
translate( 'Footer Text' ) ES Score: 12

Help me improve these suggestions: react with 👎 if the suggestion doesn't make any sense, or with 👍 if it's a particularly good one (even if not implemented).

@emdashcodes emdashcodes requested a review from a team March 14, 2018 17:52
@emdashcodes emdashcodes added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. and removed [Status] In Progress labels Mar 14, 2018
@emdashcodes emdashcodes force-pushed the add/store-email-footer-text branch from 95feeeb to e9e0f6e Compare March 14, 2018 17:53
Copy link
Contributor

@timmyc timmyc left a comment

Choose a reason for hiding this comment

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

LGTM

@timmyc timmyc added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Mar 14, 2018
@emdashcodes emdashcodes merged commit 7357131 into master Mar 15, 2018
@emdashcodes emdashcodes deleted the add/store-email-footer-text branch March 15, 2018 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants