-
Notifications
You must be signed in to change notification settings - Fork 846
Improve PricingTable component items #26364
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
Conversation
|
Are you an Automattician? You can now test your Pull Request on WordPress.com. On your sandbox, run |
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Once your PR is ready for review, check one last time that all required checks (other than "Required review") appearing at the bottom of this PR are passing or skipped. |
|
Can we leave the option to add a promo label to a column that's not an automatically calculated percentage? In our case we're adding |
retrofox
left a comment
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.
2f28ff5 to
f3f25f1
Compare
oskosk
left a comment
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!

Description #
In an attempt to improve upon the fantastic work put in to create and update the new PricingTable component that will be used in the unification of standalone Jetpack product pricing pages, I have identified a number of minor updates that may present difficulties in particular cases and one potential area of improvement.
Updates:
price/offPricevalues are too significant and/or when a currency symbol has been addedGridiconcomponent appears to be overriding the new.popover-iconelement styles for thePricingTablecomponent making the icon bold like the preceding text rather thanfill: =var(--jp-gray);as intended.There is some odd/somewhat random behavior of popover tooltips sticking when hovering over themThe TOS element does not remain centered on the columns and becomes cut off as we change screen sizes before entering the mobile view.Improvements:
JetpackProductOffercomponent in Calypso that introduces a discount label and automatically generates the content of the label based on a number of pricing-related variables. This will allow us to bring consistency between the various dashboards that may display a discount badge so there are no discrepancies in the calculations that may lead to unnecessary consumer confusion.Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
npm run storybook:devfrom thejs-packages/storybookfolderprice,offPrice, andcurrencyvalues and verify the promo label reacts accordingly