New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update snackbarNotices filter to snackbarNoticeVisibility
#4417
Conversation
|
Size Change: +117 B (0%) Total Size: 965 kB
|
| Filename | Size |
|---|---|
build/active-filters-frontend.js |
8.28 kB |
build/active-filters.js |
7.84 kB |
build/all-products-frontend.js |
23 kB |
build/all-products.js |
37.3 kB |
build/all-reviews.js |
9.61 kB |
build/atomic-block-components/add-to-cart--atomic-block-components/button--atomic-block-components/image---a7e2bb9b.js |
2.57 kB |
build/atomic-block-components/add-to-cart--atomic-block-components/button.js |
1.82 kB |
build/atomic-block-components/add-to-cart--atomic-block-components/image--atomic-block-components/title.js |
334 B |
build/atomic-block-components/add-to-cart-frontend.js |
8.65 kB |
build/atomic-block-components/add-to-cart.js |
7.72 kB |
build/atomic-block-components/button-frontend.js |
1.74 kB |
build/atomic-block-components/button.js |
874 B |
build/atomic-block-components/category-list-frontend.js |
469 B |
build/atomic-block-components/category-list.js |
477 B |
build/atomic-block-components/image-frontend.js |
1.87 kB |
build/atomic-block-components/image.js |
1.34 kB |
build/atomic-block-components/price-frontend.js |
2.09 kB |
build/atomic-block-components/price.js |
2.11 kB |
build/atomic-block-components/rating-frontend.js |
562 B |
build/atomic-block-components/rating.js |
566 B |
build/atomic-block-components/sale-badge-frontend.js |
856 B |
build/atomic-block-components/sale-badge.js |
867 B |
build/atomic-block-components/sku-frontend.js |
388 B |
build/atomic-block-components/sku.js |
392 B |
build/atomic-block-components/stock-indicator-frontend.js |
610 B |
build/atomic-block-components/stock-indicator.js |
611 B |
build/atomic-block-components/summary-frontend.js |
906 B |
build/atomic-block-components/summary.js |
911 B |
build/atomic-block-components/tag-list-frontend.js |
465 B |
build/atomic-block-components/tag-list.js |
471 B |
build/atomic-block-components/title-frontend.js |
1.43 kB |
build/atomic-block-components/title.js |
1.28 kB |
build/attribute-filter-frontend.js |
18 kB |
build/attribute-filter.js |
11.9 kB |
build/cart.js |
45.9 kB |
build/checkout.js |
48.2 kB |
build/featured-category.js |
7.39 kB |
build/featured-product.js |
9.55 kB |
build/handpicked-products.js |
6.56 kB |
build/price-filter-frontend.js |
14.3 kB |
build/price-filter.js |
9.57 kB |
build/price-format.js |
1.38 kB |
build/product-best-sellers.js |
6.73 kB |
build/product-categories.js |
3.38 kB |
build/product-category.js |
7.59 kB |
build/product-new.js |
6.89 kB |
build/product-on-sale.js |
7.23 kB |
build/product-search.js |
2.68 kB |
build/product-tag.js |
6.69 kB |
build/product-top-rated.js |
6.85 kB |
build/products-by-attribute.js |
7.82 kB |
build/reviews-by-category.js |
11.6 kB |
build/reviews-by-product.js |
13.1 kB |
build/reviews-frontend.js |
9.22 kB |
build/single-product-frontend.js |
25.7 kB |
build/single-product.js |
9.87 kB |
build/vendors--atomic-block-components/price-frontend.js |
5.71 kB |
build/wc-blocks-data.js |
10.9 kB |
build/wc-blocks-editor-style-rtl.css |
14.9 kB |
build/wc-blocks-editor-style.css |
14.9 kB |
build/wc-blocks-google-analytics.js |
1.99 kB |
build/wc-blocks-middleware.js |
1.48 kB |
build/wc-blocks-registry.js |
2.75 kB |
build/wc-blocks-shared-context.js |
1.54 kB |
build/wc-blocks-shared-hocs.js |
1.75 kB |
build/wc-blocks-style-rtl.css |
19.3 kB |
build/wc-blocks-style.css |
19.3 kB |
build/wc-blocks-vendors-style-rtl.css |
1.05 kB |
build/wc-blocks-vendors-style.css |
1.05 kB |
build/wc-blocks-vendors.js |
239 kB |
build/wc-blocks.js |
3.51 kB |
build/wc-payment-method-bacs.js |
812 B |
build/wc-payment-method-cheque.js |
807 B |
build/wc-payment-method-cod.js |
903 B |
build/wc-payment-method-paypal.js |
844 B |
build/wc-payment-method-stripe.js |
12.3 kB |
build/wc-settings.js |
2.93 kB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to be working as described :) Approving. Rebase is needed.
Was the "multiple coupon" issue you mentioned the block error boundary when removing a coupon when points are applied?
I noticed a notice which is unrelated to this change but something in points. Are you aware or should I log a new issue?
Notice: Array to string conversion in /plugins/woocommerce-points-and-rewards/includes/class-wc-points-rewards-extend-store-endpoint.php on line 86
00c1ca4
to
31f7d6f
Compare
Cheers, Mike. Done!
Yep, this is fixed now following the rebase.
Strange, I'm not getting this notice, this line is an array of tags that should be allowed in |
7.3.5 |
Makes sense then since this change to |
After internal discussion at pca54o-1Gs-p2 I wanted to put this PR out there to see what folks think, the changes are made to stop third party extensions being able to modify the particulars of any snackbar notice, and control only whether it is shown to the user or not. An overview of the changes is:
true.How to test the changes in this Pull Request:
update/snackbar-filtering-functionin WooCommerce Points and Rewardsnpm run buildin the WC P&R directory.couponNamefilter tocouponsand update documentation #4312assets/js/filters.jschangesnackbarNoticeVisibilitytosnackbarNoticesand runnpm run build.Changelog