Automattic / wc-calypso-bridge

20 stars 4 forks source link

Update Square task copy #1443

Closed moon0326 closed 8 months ago

moon0326 commented 8 months ago

Changes proposed in this Pull Request:

This PR updates copy for the Square task.

How to test the changes in this Pull Request:

Square task

  1. Start with a fresh site with this branch. Do not include WooCommerce Square plugin.
  2. Make sure you're in a trial plan.
  3. Use wp cli to update woocommerce_onboarding_profile option value with a:10:{s:15:"business_choice";s:28:"im_just_starting_my_business";s:21:"selling_online_answer";N;s:17:"selling_platforms";N;s:20:"is_store_country_set";b:1;s:8:"industry";a:1:{i:0;N;}s:18:"is_agree_marketing";b:0;s:11:"store_email";s:17:"test@gmail.com";s:9:"completed";b:1;s:23:"is_plugins_page_skipped";b:1;s:7:"partner";s:6:"square";} It includes partner=square
  4. Navigate to WooCommerce -> Home
  5. Complete Customize your store and Add your products tasks.
  6. Confirm the copy changes.

Before Screen Shot 2024-02-21 at 11 36 58 AM

After

Screen Shot 2024-02-21 at 11 37 18 AM

Other information:

FOR PR REVIEWER ONLY:

github-actions[bot] commented 8 months ago

Size Change: +2 B (0%)

Total Size: 197 kB

Filename Size Change
./build/index.js 122 kB +2 B (0%)
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `./build/53.js` | 1.05 kB | | `./build/index.css` | 883 B | | `./build/marketing.js` | 58 kB | | `./build/payment-gateway-suggestions.css` | 1.25 kB | | `./build/payment-gateway-suggestions.js` | 6.46 kB | | `./build/plugins.js` | 3.92 kB | | `./build/style-index.css` | 2.15 kB | | `./build/style-marketing.css` | 805 B |

compressed-size-action

moon0326 commented 8 months ago

Tested well, LGTM!

Note: I used the following to update the option:

wp option update woocommerce_onboarding_profile --format=json '{  "business_choice": "im_just_starting_my_business",  "selling_online_answer": null,  "selling_platforms": null,  "is_store_country_set": true,  "industry": [null],  "is_agree_marketing": false,  "store_email": "test@gmail.com",  "completed": true,  "is_plugins_page_skipped": true,  "partner": "square"}'

Thank you! TIL --format=json 😮