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
Focused Launch: fix disabled free plan regressions, add missing "translators" comments #49523
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~14 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. 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. |
5cd8d4a
to
679c472
Compare
Caution: This PR affects files in the Editing Toolkit Plugin on WordPress.com D56271-code has been created so you can easily test it on your sandbox. See this FieldGuide page about developing the Editing Toolkit Plugin for more info: PCYsg-ly5-p2 |
Gutenboarding testing instructions
After picking a custom domain, I'm unable to expand the free plan since it's disabled. Am I following the instructions correctly or do you need to update them? |
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.
I left a few comments. When you have time, can you please address them? Thank you so much!
The way the X is aligned made sense especially for the "accordion" variation of the plans grid. I've changed the code so that the icon is vertically centered, but only in the table variant of the grid (the one used by focused launch flow). I'm not sure it looks better, I'm tempted to revert it to how it used to be (bottom aligned). What do you think?
Are you sure you are checking in Gutenboarding ( |
Sorry, sorry, sorry (it's not my day today...) but I was checking step-by-step-launch indeed...Gutenboarding looks good! |
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.
// translators: %s is a WordPress.com plan name (eg: Free, Personal) | ||
__( 'Select %s', __i18n_text_domain__ ), | ||
name | ||
) } |
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.
I'm not sure if this is the same case as p1612463769120800/1612255293.049500-slack-C013QHLF28Y but worth checking.
cc: @yansern
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.
I can rewrite it in a more "explicit" way for peace of mind
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.
Done in 76c8e35
Hey @StefanNieuwenhuis , I've added the missing CSS selector in 5d99d61. Would you mind giving it another look? |
Move translator comments directly on top of `__()` function
76c8e35
to
81d2602
Compare
Have checked it and it it all looks good now. |
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.
LGTM! 🚢
Changes proposed in this Pull Request
disabledLabel
when the plan's item is disabledsprintf
function)Testing instructions
Focused Launch
/start
to your sandboxyarn && yarn start
in the root foldercd apps/editing-toolkit && yarn dev --sync
calyspo.localhost:3000/page/UNLAUNCHED_SITE_CREATED_WITH_START.wordpress.com/home?flags=create/focused-launch-flow
strike-through
.Gutenboarding
/new
Screenshots
Before:
After:
Fixes #49409
Fixes #49525
Related to #49312