-
Notifications
You must be signed in to change notification settings - Fork 2k
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 the email comparison page to use a stacked card layout and embed account creation #51062
Conversation
translate( '30GB storage' ), | ||
translate( 'Email, calendars, and contacts' ), | ||
translate( 'One-click import of existing emails and contacts' ), | ||
translate( 'Apps for Android and iOS' ), |
There was a problem hiding this comment.
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 4 times:
translate( 'Jetpack for Android and iOS' )
ES Score: 7
? newUsers( domain.name ) | ||
: this.state.googleUsers; | ||
|
||
const formattedPrice = translate( '{{price/}} /user /month billed yearly', { |
There was a problem hiding this comment.
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 29 times:
translate( '%(price)s per month, billed yearly' )
ES Score: 8
See 1 additional suggestions in the PR translation status page
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~1122 bytes added 📈 [gzipped])
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. Generated by performance advisor bot at iscalypsofastyet.com. |
306c643
to
95309df
Compare
comment: '{{price/}} is the formatted price, e.g. $20', | ||
}; | ||
const formattedPrice = config.isEnabled( 'email/centralized-home' ) | ||
? translate( '{{price/}} /user /month billed annually', priceArguments ) |
There was a problem hiding this comment.
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 3 times:
translate( 'per month{{br/}}billed yearly' )
ES Score: 6
<> | ||
<FormFieldset> | ||
<FormLabel> | ||
{ translate( 'Emails sent to' ) } |
There was a problem hiding this comment.
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 30 times:
translate( 'Emails sent to', { context: 'Form label: Email sent to [address] (will arrive at...)'} )
ES Score: 12
See 1 additional suggestions in the PR translation status page
</FormFieldset> | ||
<FormFieldset> | ||
<FormLabel> | ||
{ translate( 'Will be forwarded to' ) } |
There was a problem hiding this comment.
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 22 times:
translate( 'Will be forwarded to', { context: 'Form label: (Email sent to [address]) will arrive at [address]'} )
ES Score: 15
See 1 additional suggestions in the PR translation status page
ad94fa3
to
458c207
Compare
ce80d96
to
f502056
Compare
client/lib/titan/new-mailbox.js
Outdated
value, | ||
error: | ||
! error && ! /^[0-9a-z_-](\.?[0-9a-z_-])*$/i.test( value ) | ||
? translate( 'Only numbers, letters, dashes, underscores, and periods are allowed.' ) |
There was a problem hiding this comment.
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 18 times:
translate( 'Only numbers, letters, dashes, underscores, apostrophes and periods are allowed.' )
ES Score: 12
See 2 additional suggestions in the PR translation status page
82d420c
to
3231985
Compare
ab5507b
to
5607008
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm - I tried testing this but the areAllMailboxesValid
returns false (I guess because alternativeEmail
is empty). Is that intentional?
Definitely not intentional -- the validation should allow I'll do some testing and exploring in the morning to see what's going on. |
4f596cd
to
fa1b86b
Compare
Changes proposed in this Pull Request
Note that this PR depends on Implement mailbox provisioning components for Email/Titan #51217 for the Email account creation component in that PR, and existing logic for Google Workspace. As such, some of the form fields from that PR may change slightly. (The most likely change is to increase the height to support the password reset field.)
You can access the new layout by navigating to the email comparison page for a domain without email (
/email/:domain/manage/:siteSlug?titan/provision-mailboxes
or via Upgrades -> Domains -> Add (next to a domain), and then adding?flags=titan/provision-mailboxes
to the URL.) Note: this flag has been updated from an earlier version of this PRThe following implementation items are not covered by this PR:
Screenshots
Before:
After:
Initial, unexpanded state
Google Workspace expanded
Email Forwarding expanded
Testing instructions
Verify that you can add all three types of email account via this UI.