Skip to content

Commit

Permalink
Boost: Improve responsiveness during CCSS generation retry (#40675)
Browse files Browse the repository at this point in the history
* Move C.CSS retry down the element chain

* Optimistic update critical CSS regen

* Only start generation if there is any provider in the list

* changelog

* Change the order of state update

* Fix showstopper behavior for cloud CSS

* Use CCSS context also for cloud and move retried state to it

* Rename variable for clarity

* Update retried state after regeneration has started

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12439475459

Upstream-Ref: Automattic/jetpack@753c548
  • Loading branch information
haqadn authored and matticbot committed Dec 20, 2024
1 parent 2280b14 commit 4b244be
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ This is an alpha version! The changes listed here are not final.
- Updated package dependencies.

### Fixed
- Critical CSS: Improved UI responsiveness during a retry after failed generation.
- UI: Fixed showing an error if no ISA report was found.

## [3.6.1] - 2024-11-28
Expand Down
2 changes: 1 addition & 1 deletion app/assets/dist/jetpack-boost.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'f6f44c7ccde6dcf43ba0');
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '953020734f52676045c3');
36 changes: 18 additions & 18 deletions app/assets/dist/jetpack-boost.js

Large diffs are not rendered by default.

0 comments on commit 4b244be

Please sign in to comment.