Skip to content

Commit

Permalink
My Jetpack: add loading animation to recommendations step (#40405)
Browse files Browse the repository at this point in the history
* Add animation

* Adjust animation rhythm

* My Jetpack: add recommendations loading animation

* changelog

* Fix loading title conditions

* Fix animation

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

Upstream-Ref: Automattic/jetpack@339be75
  • Loading branch information
grzegorz-cp authored and matticbot committed Dec 2, 2024
1 parent 91325fe commit 0e9cd53
Show file tree
Hide file tree
Showing 9 changed files with 129 additions and 128 deletions.
1 change: 1 addition & 0 deletions jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This is an alpha version! The changes listed here are not final.

### Added
- My Jetpack: add animation during site connection to make it less confusing to users connecting their site for the first time.
- My Jetpack: add loading animation to recommendations step.

### Fixed
- Fix My Jetpack recommendation card styling on mobile
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '1628fb0a081cd6798006');
<?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '1da124b928e8dfc5c791');

Large diffs are not rendered by default.

64 changes: 32 additions & 32 deletions jetpack_vendor/automattic/jetpack-my-jetpack/build/index.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jetpack_vendor/i18n-map.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
),
'jetpack-my-jetpack' => array(
'path' => 'jetpack_vendor/automattic/jetpack-my-jetpack',
'ver' => '5.1.0-alpha1733103753',
'ver' => '5.1.0-alpha1733113844',
),
'jetpack-password-checker' => array(
'path' => 'jetpack_vendor/automattic/jetpack-password-checker',
Expand Down
60 changes: 30 additions & 30 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats",
"reference": "5e479cfbc3da0c3b2568df13cbc200f3d99e0511"
"reference": "99b358849a49fb1137d196edb264bab2fe779e04"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -63,7 +63,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui",
"reference": "833bcbb6ead5c7191179f46c3cbd65f60e77ccde"
"reference": "829e1eee1032a79e387797219c6792c671da582e"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -131,7 +131,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-assets",
"reference": "8d0cb8438724cb4d3654a14e93ef8f9dfbb6f7bf"
"reference": "3b8c4ccae2d3baadf5ae2d35dabf8702d80f1610"
},
"require": {
"automattic/jetpack-constants": "^3.0.1",
Expand Down Expand Up @@ -203,7 +203,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-autoloader",
"reference": "78a32b182b424bf10f5313226b76cd0d5d75e036"
"reference": "94b962be2e5e7154e60926ac139b9197352c83cc"
},
"require": {
"composer-plugin-api": "^2.2",
Expand Down Expand Up @@ -274,7 +274,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-boost-core",
"reference": "45be7c490ef179fb3f44ade9280d69e4de36982b"
"reference": "26d13fbfc43ef599782aba4d28eebc72cb12f2af"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down Expand Up @@ -345,7 +345,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-boost-speed-score",
"reference": "14a8c2bb0cca3f2a9cd3a8a54d7898546dd3deef"
"reference": "984d9de7f66bdfd0e5bab976f4da22fd76788a65"
},
"require": {
"automattic/jetpack-boost-core": "^0.3.2",
Expand Down Expand Up @@ -424,7 +424,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin",
"reference": "627350e7b91e7f4013c460f2c5755030bc8ddf1b"
"reference": "7d2b1a9987b80919d64fbd2fe24a2f3fdfbf84a2"
},
"require": {
"composer-plugin-api": "^2.2",
Expand Down Expand Up @@ -487,7 +487,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-config",
"reference": "57f0a9dfb749cde778ba58cd1ca5c82e36263621"
"reference": "f478e94b40b3dbde17497550d3eb84aa93f62995"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -562,7 +562,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-connection",
"reference": "8a18595f51ccaac92819abf6ea23c08c86ec9c5b"
"reference": "02d09961cd0f571f466d61a5f239fd78d5977838"
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^3.0.0",
Expand Down Expand Up @@ -655,7 +655,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-constants",
"reference": "1d300477db288300640a703551fc48e94573937f"
"reference": "21de9249ee8509faf17ce117c3458059871e25b1"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -712,7 +712,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-device-detection",
"reference": "d7ec38f2b0efc242440fe47b61c4690f135aa9f4"
"reference": "dd327a6e4c323bcc47af310186c80c2d1da25f0f"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -768,7 +768,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-explat",
"reference": "0183ebe34395ee9e084dc80d929e2d77bf3dfabf"
"reference": "1c48d2882ad98f1a34929df3bfe72ff2beb1f477"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down Expand Up @@ -846,7 +846,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-ip",
"reference": "beb955a2fc41ed9b8efb198220edf5bd978d4fe8"
"reference": "628bb10f443f5f2b3b5c5f93e058256293d93240"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -907,7 +907,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-jitm",
"reference": "9fd70c1ac4dc7a88821358319693916c87c207dd"
"reference": "62e0650f6e66a6f330b476cad067197dcc16cba0"
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^3.0.0",
Expand Down Expand Up @@ -985,7 +985,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-licensing",
"reference": "5898ab1d4c8f9f3531a3903b76400482f77b92c6"
"reference": "aa844ac1e8626e28bcf9bee21c584fe41b0c32fe"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down Expand Up @@ -1050,7 +1050,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-logo",
"reference": "14455606ca3a766fbe352d0d8839014b0a08a342"
"reference": "820b298b598dad4fc5363f431c574d9295a8c575"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -1101,12 +1101,12 @@
},
{
"name": "automattic/jetpack-my-jetpack",
"version": "5.1.0-alpha.1733103753",
"version_normalized": "5.1.0.0-alpha1733103753",
"version": "5.1.0-alpha.1733113844",
"version_normalized": "5.1.0.0-alpha1733113844",
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-my-jetpack",
"reference": "97e455211df3342783657ae8522c133a0731e9b5"
"reference": "ea2286b28e08d6de261c565cdc32e8b322848ab0"
},
"require": {
"automattic/jetpack-admin-ui": "^0.5.1",
Expand Down Expand Up @@ -1211,7 +1211,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-password-checker",
"reference": "6f52ed93969291c21348d999d935fd2c7017a153"
"reference": "fc9bc9642be665f1e511102d924c629ebbf4550c"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -1275,7 +1275,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-plans",
"reference": "be8557cdf96b74cc525346d63db87c83e378cfa1"
"reference": "a3d28fb45b9808f93b71087923b611ba65b7c590"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down Expand Up @@ -1346,7 +1346,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-plugins-installer",
"reference": "a71f3a0cf2fa7db174e83e4134eb9a5fa1e8fcc7"
"reference": "6907cfeac840a656fc6a5db5bb73cdb15d184ffe"
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^3.0.0",
Expand Down Expand Up @@ -1405,7 +1405,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-protect-models",
"reference": "53005f4a0852dc4deb32a440943463f12b670af5"
"reference": "5aa77ca1e8528fc314d62ae98bb2d8f352beb0f3"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -1478,7 +1478,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-protect-status",
"reference": "6bf196f75c33b401ebe9fcc12f6e4c3849e48319"
"reference": "8fc8740e0c72ad712fa459c9ff827137493d475a"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down Expand Up @@ -1556,7 +1556,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-redirect",
"reference": "9f6090ae5ada7d1a2d0b1b4e2797a060be1d5f5e"
"reference": "ab75ce424e7b6a03531b8f2692adeef20422ecf8"
},
"require": {
"automattic/jetpack-status": "^5.0.1",
Expand Down Expand Up @@ -1614,7 +1614,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-roles",
"reference": "a8a8c0b157d0ebf10cb011cf650c6c9467a29c78"
"reference": "e53a8b38bce9a5cc24fcb85434bd1ed678b9b0b2"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -1671,7 +1671,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-search",
"reference": "8b8f0ae5ffe390c4c130d86dee817622aebae122"
"reference": "9064ebcd8ea5a4500849ad2b12581d3b445dcbb8"
},
"require": {
"automattic/jetpack-assets": "^4.0.0",
Expand Down Expand Up @@ -1762,7 +1762,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-stats",
"reference": "9ad7f677ea961fb1e4a9cfdb18a6cad33e2cd467"
"reference": "aa740ec596c2371e91cc3fd5fc6f615032fe2ff7"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down Expand Up @@ -1832,7 +1832,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-status",
"reference": "d757f0c53b428a1ad07469c02c5e95dd50630726"
"reference": "946cd5654efa268c5e78dbf26f9d1f5cd74121a8"
},
"require": {
"automattic/jetpack-constants": "^3.0.1",
Expand Down Expand Up @@ -1899,7 +1899,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-sync",
"reference": "f9fd80cce23d6e529e85d50d92c8485fe88088c3"
"reference": "7b09a28de56aaf45d2a26bb98962d8ad8f61a246"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down
Loading

0 comments on commit 0e9cd53

Please sign in to comment.