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
Woo landing page design iterations #60697
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~16 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~1877 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. |
Tofix (blocking merge):
Todo:
|
|
||
.woocommerce_landing-page { | ||
.empty-content__title { | ||
font-family: Recoleta; |
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.
This feels like something that should be done in the EmptyContent
component directly but would widen testing considerably. (see "Inbox" page at the moment for why I think it might be worth doing)
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.
It looks like it's used pretty widely. 😬 I think we're okay keeping it here for now, but I see what you mean about the Inbox page, where it's missing that font.
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 am with @allilevine in this one this will widen testing a lot, I also feel we can totally add some focused personalization tho the base component through css per page like we are doing right now
</CtaSection> | ||
{ renderWarningNotice() } | ||
<EmptyContent | ||
title={ __( 'Set up a store and start selling online' ) } |
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 changed this to "Set up" rather than "Setup" because we say "Set up a new store..." in the subheader. And setup is a noun. 🙂
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.
This is close for a first pass, I just had a couple of questions.
import Image01 from 'calypso/assets/images/woocommerce/woop-cta-image01.jpeg'; | ||
import Image02 from 'calypso/assets/images/woocommerce/woop-cta-image02.jpeg'; | ||
import Image03 from 'calypso/assets/images/woocommerce/woop-cta-image03.jpeg'; | ||
import Image04 from 'calypso/assets/images/woocommerce/woop-cta-image04.jpeg'; |
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.
Should we delete those images since they're not being used anymore?
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.
That's on the list as a non-blocking change I believe: #60697 (comment) Do you think it's a blocker?
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.
Ah, gotcha! In that case, no :)
| `actionHoverCallback`\* | `bool` | `0` | Indicates activity while a background action is being performed. | | ||
| `actionHoverCallback`\* | `bool` | `0` | Indicates activity while a background action is being performed. | | ||
| `actionDisabled` | `bool` | `null` | Disables the button. | | ||
| `actionRef` | `function` | `null` | Adds a ref to the button. | |
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.
It looks like the linter picked up some whitespace issues in this file?
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.
Thanks, I missed that!
9dc811e
to
cc8898b
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.
There are some minor design changes like:
- Making tittle and subtitle container smaller to match design
- Switch buttons positions
But this seems launchable!
b515cb1
to
08f5ec6
Compare
08f5ec6
to
7deec36
Compare
This PR modifies the release build for happychat To test your changes on WordPress.com, run To deploy your changes after merging, see the documentation: TODO |
This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/7123735 Thank you @lsl for including a screenshot in the description! This is really helpful for our translators. |
Translation for this Pull Request has now been finished. |
Changes proposed in this Pull Request
EmptyComponent
button ordering. Fix in EmptyComponent if we want this changed or do via css for woop only.WooCommerceColophon
couldn't find any logo badge like seen in figma.Testing instructions
Before
After
Related to #59190