Skip to content
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

Marketplace Themes: Add loading state to the banner #71468

Merged
merged 1 commit into from
Dec 23, 2022

Conversation

valterlorran
Copy link
Contributor

Proposed Changes

  • Disables the banner on the theme page while adding the items to cart for marketplace themes.
Screen.Recording.2022-12-22.at.14.49.34.mov

Testing Instructions

  • Navigate to /theme/makoney/{SITE} on a free site
  • Click on the banner
  • The banner should be disabled while loading the cart

Closes #71319

@valterlorran valterlorran added the [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it label Dec 22, 2022
@valterlorran valterlorran requested a review from a team December 22, 2022 17:54
@valterlorran valterlorran self-assigned this Dec 22, 2022
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Dec 22, 2022
@github-actions
Copy link

github-actions bot commented Dec 22, 2022

@matticbot
Copy link
Contributor

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

Sections (~27 bytes added 📈 [gzipped])

name   parsed_size           gzip_size
theme        +67 B  (+0.0%)      +27 B  (+0.0%)

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.
Gzip Size: Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.

Copy link
Contributor

@markbiek markbiek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@valterlorran valterlorran merged commit 6d0de5a into trunk Dec 23, 2022
@valterlorran valterlorran deleted the update/block-banner-while-loading-cart branch December 23, 2022 12:52
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Marketplace Themes: Disable banner when loading to prevent double click
3 participants