Untangled Plans: add manage billing & add-ons button in the header#101709
Untangled Plans: add manage billing & add-ons button in the header#101709
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
|
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
|
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~342 bytes added 📈 [gzipped]) DetailsSections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~42 bytes added 📈 [gzipped]) DetailsReact components that are loaded lazily, when a certain part of UI is displayed for the first time. 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. |
matt-west
left a comment
There was a problem hiding this comment.
Thanks @fushar. The buttons appear and behave as expected.
I noticed that the back button on the purchase page takes you to /me/purchases rather than back to the plans page though. Perhaps that will be addressed in a separate PR< but just wanted to point it out.
Ah, yeah. I noticed that many nested pages in In any case, these |
I’ll keep this in ming with the new dashboard designs. I'm okay with the URL param solution. We could also tackle this in the interim by just changing the |
Thanks, I ended up using this solution for now 👍 |
|
This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/17317458 Some locales (Hebrew, Japanese) have been temporarily machine-translated due to translator availability. All other translations are usually ready within a few days. Untranslated and machine-translated strings will be sent for translation next Monday and are expected to be completed by the following Friday. Thank you @fushar for including a screenshot in the description! This is really helpful for our translators. |
|
Translation for this Pull Request has now been finished. |
Related to:
Proposed Changes
This PR implements the
Manage add-onsandManage billingbuttons as per Figma kyrhgvUpBQak3Qww1560PK-fi-461_8867Note that there's a discussion about the button copy here: p58i-kcO-p2#comment-67294 (cc: @matt-west)
Why are these changes being made?
pbxlJb-6Xi-p2
Testing Instructions
/plans/:site?flags=untangling/planson a Free siteManage add-onsbutton./plans/:site?flags=untangling/plansas an owner of a site with a paid planManage add-onsandManage billingbuttons.(Note that the
Manage add-onsdestination page is temporary; it will be replaced with a modal, soon.Pre-merge Checklist