Automattic / wc-calypso-bridge

20 stars 4 forks source link

Sync WPCOM coming soon status to LYS #1502

Closed chihsuan closed 2 weeks ago

chihsuan commented 3 weeks ago

Changes proposed in this Pull Request:

Partially closes https://github.com/woocommerce/team-ghidorah/issues/344

Sync coming soon status from WPCOM to LYS.

When clicking on Launch site button in https://wordpress.com/settings/general/SITE_URL When changing the following states in https://wordpress.com/settings/general/SITE_URL:

This PR doesn't sync the initial coming soon state from WPCOM. I think we need to see when WPCOM set the initial coming soon state to decide how to handle it.

How to test the changes in this Pull Request:

  1. Use a WPCOM atomic e-commerce site
  2. Enable LYS feature flag
  3. Run wp option set launch-status unlaunched if the site is launched before
  4. Enable LYS coming soon mode
  5. Open site in the incognito window and confirm that the site is in coming soon mode
  6. Go to https://wordpress.com/settings/general/SITE_URL and click on Launch site button
  7. Confirm that the site is in live mode
  8. Change the WPCOM site status to coming soon
  9. Confirm that the site is in coming soon mode
  10. Change the WPCOM site status to Live mode
  11. Confirm that the site is in live mode
  12. Change the WPCOM site status to private
  13. Confirm that the site is in private mode

Other information:

FOR PR REVIEWER ONLY:

github-actions[bot] commented 3 weeks ago

Size Change: 0 B

Total Size: 201 kB

ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `./build/53.js` | 1.08 kB | | `./build/index.css` | 878 B | | `./build/index.js` | 126 kB | | `./build/marketing.js` | 58.3 kB | | `./build/payment-gateway-suggestions.css` | 1.24 kB | | `./build/payment-gateway-suggestions.js` | 6.57 kB | | `./build/plugins.js` | 3.93 kB | | `./build/style-index.css` | 2.15 kB | | `./build/style-marketing.css` | 800 B |

compressed-size-action