-
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
Storage Add-Ons: Track spotlight plan card add-on upgrade CTA #83891
base: trunk
Are you sure you want to change the base?
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~32 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. Async-loaded Components (~32 bytes added 📈 [gzipped])
React 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. |
@chriskmnds I see that you're trying to refactor calls to tracks events to use I wanted to check in and see how you feel about this PR -- it adds a new I know, however, that we ultimately wanted to extract |
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 for the ping @jeyip :-) This tests out partially for me on the live image.
I notice a slightly odd behavior with the CTA. Choosing 50GB on Business shows the "Upgrade" button, but I think that's incorrect? Clicking on it doesn't lead to any redirect and still records the same calypso_signup_storage_add_on_upgrade_click
event. I'm guessing that's not intended. Not sure if you see the same:
Screen.Recording.2023-11-07.at.2.24.38.PM.mov
Concerning:
I know, however, that we ultimately wanted to extract
recordTracksEvent
calls in the actions file ( #79006 ). If we prefer, I could started working on #79006 instead and add this new tracks events after we land on an implementation
I don't really see much benefit from doing the layer of abstraction mentioned in the linked issue. I think just passing along recordTracksEvent
to the grid would be enough to keep things simple. So continuing to use it like you have here sounds good to me - we will just grab it from helpers
in context instead of importing.
Definitely incorrect -- I haven't seen that issue yet, so I'll try and replicate it 🤔 |
I think this is blocked by some of #85773, so I'm moving this to Blocked for now. |
Related to https://github.com/Automattic/martech/issues/2023
Proposed Changes
Testing Instructions
/start/plans
.gif storage
in the dev tools network tabcalypso_signup_storage_add_on_upgrade_click
Pre-merge Checklist