Automattic / wc-calypso-bridge

20 stars 4 forks source link

Remove customizer when block themes are used - Remove the Woo store notice #1433

Closed PanosSynetos closed 9 months ago

PanosSynetos commented 9 months ago

Changes proposed in this Pull Request:

Closes #1327 .

How to test the changes in this Pull Request:

Trunk

  1. With a block theme enabled (Tsubaki), you should see in wp-admin Appearance > Customize
  2. Add some styles in the Customizer > Additional CSS
  3. New menu item appears Appearance > Additional CSS
  4. Activate Storefront, add styles and you should see the same menu items

tweak/1327-hide-customizer-block-themes

  1. Switch to Tsubaki
  2. See in wp-admin Appearance > Additional CSS
  3. Don't see Appearance > Customize
  4. Delete the additional CSS
  5. Don't see in wp-admin Appearance > Additional CSS
  6. Don't see Appearance > Customize

Switch to storefront

  1. With some styles in additional CSS,
  2. see Appearance > Customize and Appearance > Additional CSS
  3. Remove Styles
  4. see Appearance > Customize and Appearance > Additional CSS

Remove the Woo store notice tweak/1327-hide-customizer-block-themes

  1. Go to the customizer and enable a store notice, under Customizer > WooCommerce
  2. Test the one time job woocommerce_set_default_options
  3. See instructions, similar to another one time job https://github.com/Automattic/wc-calypso-bridge/pull/1258
  4. Once the job runs, the store notice should be unchecked in the customizer and not shown in the frontend

Other information:

FOR PR REVIEWER ONLY:

github-actions[bot] commented 9 months ago

Size Change: 0 B

Total Size: 197 kB

ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `./build/53.js` | 1.05 kB | | `./build/index.css` | 883 B | | `./build/index.js` | 122 kB | | `./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