Skip to content
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

Merge upstream #93

Merged
merged 168 commits into from
Sep 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
b446a37
Use the archive-product template to render product attributes pages (…
albarin Jul 28, 2022
02ceb0d
Bump mockery/mockery from 1.4.4 to 1.5.0 (#6703)
dependabot[bot] Jul 28, 2022
53f8fa4
Update dependency @types/jest to v27.5.2 (#6759)
renovate[bot] Jul 28, 2022
08798bc
Ensure addresses sync when loading the checkout shipping address bloc…
opr Jul 28, 2022
87af389
Update pull_request_template.md
nielslange Jul 29, 2022
03d909c
Add comment to prevent linting error on commented out code (#6789)
opr Jul 29, 2022
c4b443c
Update pull_request_template.md
nielslange Jul 29, 2022
a49cf63
Update dependency @types/wordpress__blocks to v11.0.5 (#6758)
renovate[bot] Jul 29, 2022
4e4df60
Update babel monorepo to v7.18.9 (#6719)
renovate[bot] Jul 29, 2022
4eed41d
Refactor external dispatch actions from being called inside useSelect…
senadir Jul 29, 2022
e075767
Add new icon for mini cart block (#6784)
danielwrobert Jul 29, 2022
1db184d
add new action for customer updates (#6792)
senadir Aug 1, 2022
28c2a68
Fix: Replace DropdownSelector with FormTokenField from Gutenberg (#6647)
dinhtungdu Aug 1, 2022
9d57054
Fix missing translations in inspector (#6737)
tarhi-saad Aug 1, 2022
33dfd70
fix proceed to checkout button (#6804)
senadir Aug 1, 2022
279d667
Remove compatibility notice from Mini Cart block (#6803)
dinhtungdu Aug 1, 2022
fa30e5f
Empty commit for release pull request
invalid-email-address Aug 1, 2022
218024b
Update 8.2.0 changelog
Aljullu Aug 1, 2022
85c42cc
Add 8.2.0 testing steps
Aljullu Aug 1, 2022
d844a35
Fix typo in 8.2.0 testing steps
Aljullu Aug 2, 2022
84f107a
Ensure package names display correctly if only one item is in package…
opr Aug 2, 2022
43c3037
Ensure package names display correctly if only one item is in package…
opr Aug 2, 2022
a14445c
Update 8.2.0 testing zip
Aljullu Aug 2, 2022
0bc0c75
Add option to hide/show price in Mini Cart block (#6796)
danielwrobert Aug 2, 2022
ac90d3b
Bumping version strings to new version.
Aljullu Aug 2, 2022
477b939
Remove empty element from changelog
Aljullu Aug 2, 2022
747a6e4
Release: 8.2.0 (#6806)
github-actions[bot] Aug 2, 2022
192ba58
Update version to 8.3.0-dev
Aljullu Aug 2, 2022
c5e03b2
Bump @wordpress/is-shallow-equal from 4.12.0 to 4.13.0 (#6710)
dependabot[bot] Aug 2, 2022
b744572
Bump AbleLincoln/push-to-sftp from 1.0 to 1.2 (#6808)
dependabot[bot] Aug 3, 2022
34657e0
Bump @wordpress/i18n from 4.12.0 to 4.14.0 (#6817)
dependabot[bot] Aug 3, 2022
0c77e02
Bump yoast/phpunit-polyfills from 1.0.2 to 1.0.3 (#6704)
dependabot[bot] Aug 3, 2022
f54dffb
Bump github/codeql-action from 1 to 2 (#6700)
dependabot[bot] Aug 3, 2022
4b64133
Bump johnbillion/wp-hooks-generator from 0.7.0 to 0.9.0 (#6705)
dependabot[bot] Aug 3, 2022
56177f2
Bump @wordpress/wordcount from 3.12.0 to 3.13.0 (#6711)
dependabot[bot] Aug 3, 2022
806bbcc
Bump @typescript-eslint/parser from 5.30.5 to 5.31.0 (#6809)
dependabot[bot] Aug 3, 2022
dc3a3f0
Empty commit for release pull request
invalid-email-address Aug 3, 2022
23c8e62
Ensure onChange is set for radio buttons in SavedPaymentMethodOptions…
opr Aug 3, 2022
74a24d8
delete renovate bot (#6824)
gigitux Aug 3, 2022
e270499
Bump @wordpress/api-fetch from 6.9.0 to 6.11.0 (#6833)
dependabot[bot] Aug 3, 2022
c1cecbc
E2E: Try improving product list loading state detection and fix Site …
dinhtungdu Aug 3, 2022
3b2c518
Update renovate configuration (#6836)
gigitux Aug 4, 2022
5ee0293
Bump mini-css-extract-plugin from 1.3.6 to 1.6.2 (#6714)
dependabot[bot] Aug 4, 2022
d1837eb
Release: 8.2.1 (#6826)
github-actions[bot] Aug 4, 2022
2696b84
Merge branch 'release/8.2.0' into trunk
wavvves Aug 4, 2022
4781380
fix markdownlint violation (#6853)
gigitux Aug 4, 2022
2e2cb99
Add missing label to dependabot configuration (#6848)
gigitux Aug 5, 2022
4ad7edb
Fix: Compare action should update its original comment instead of a n…
dinhtungdu Aug 5, 2022
ec33f8f
Fix: flaky tests related to setMaxPrice (#6856)
dinhtungdu Aug 5, 2022
9568e09
Add font-weight option to Mini Cart block text (#6760)
danielwrobert Aug 5, 2022
b61566a
Fix: Attribute filter flaky test (#6862)
dinhtungdu Aug 9, 2022
95edc5e
Fix: Override the description to prevent infinite loop (#6849)
dinhtungdu Aug 9, 2022
49d429f
Update billing address when shipping address gets change in Cart bloc…
Aug 10, 2022
5efb5a5
Add Style Attributes Hooks to blocks/hooks Directory. (#6870)
danielwrobert Aug 11, 2022
ec7cc45
Add a new structure and clearer steps for the WC Core PR section of t…
ralucaStan Aug 11, 2022
0ae997d
Register patterns under `patterns` folder and add filters pattern (#6…
albarin Aug 12, 2022
27fc1e0
Fix broken contributing links (#6876)
wojtekn Aug 12, 2022
c5bdcff
Add dismissible compatibility notice to sidebar when editing Cart and…
opr Aug 12, 2022
2eb3b63
Refactor Product Categories block to use block.json (#6875)
wojtekn Aug 12, 2022
7c6a5a5
Include Cart and Checkout Blocks when included in WC Core (#6805)
opr Aug 15, 2022
1b02987
Empty commit for release pull request
invalid-email-address Aug 15, 2022
c437d90
Bump version numbers and add changelog
Aug 15, 2022
ad9587f
Merge remote-tracking branch 'origin/release/8.3.0' into release/8.3.0
Aug 15, 2022
d88081c
Add testing notes
Aug 15, 2022
be442cb
Add global styles to Product Categories List block in WC core (#6906)
Aljullu Aug 16, 2022
4046f54
Add global styles to Product Categories List block in WC core
Aljullu Aug 16, 2022
7b165d0
add side effect to package (#6904)
senadir Aug 16, 2022
d5ded4b
add side effect to package
senadir Aug 15, 2022
3239e6d
Update testing instructions
Aug 16, 2022
32b189c
Empty commit
Aug 16, 2022
e0220a7
Fix linting
Aug 16, 2022
f4431fa
Update zip file with latest changes
Aug 16, 2022
3443976
Fix linting
Aug 16, 2022
5b80cce
Update changelog entries
tarhi-saad Aug 16, 2022
d68bd4a
Add _blank to terms link (#6908)
senadir Aug 16, 2022
08d0588
Bumping version strings to new version.
Aug 16, 2022
1ca8cee
Only show items if there are multiple packages in the cart (#6899)
opr Aug 16, 2022
fbf2a28
Price Filter Block Design update (#6877)
dinhtungdu Aug 16, 2022
597ebed
Release: 8.3.0 (#6897)
github-actions[bot] Aug 17, 2022
b50ec0b
Empty commit for release pull request
invalid-email-address Aug 17, 2022
fd8ec4d
Update version to 8.4.0-dev
Aug 17, 2022
eadaf25
Release: 8.3.1 (#6910)
github-actions[bot] Aug 17, 2022
2ae9e6a
Merge 8.3.1 patch release
Aug 17, 2022
986b3cf
Update version to 8.4.0-dev
Aug 17, 2022
7757b85
Product Query Block POC (Phase 1) (#6812)
gigitux Aug 18, 2022
d7f5353
Fix: flaky test related to setMaxPrice (#6917)
dinhtungdu Aug 18, 2022
446b59e
`Filter by Attribute` block settings design update (#6912)
albarin Aug 19, 2022
d524f43
Update Filter by Stock block (#6883)
tjcafferkey Aug 19, 2022
d8eba08
When converting the Filter Products by Price widget into the Filter b…
Aljullu Aug 22, 2022
71ce884
document add rest schema (#6960)
senadir Aug 22, 2022
89175d2
Make the inlineInput default to false to avoid changing existing bloc…
albarin Aug 23, 2022
7d97004
Update filter button styles (#6958)
albarin Aug 23, 2022
4ce5098
Product search block as core/search variation (#6191)
tomasztunik Aug 23, 2022
485598a
Style the Filter by Price block based on the wrapper width (#6943)
dinhtungdu Aug 24, 2022
23fd4df
support mdlint in husky (#6968)
senadir Aug 24, 2022
be8c003
Fix Product Query block hijacking all Query blocks queries (#6952)
sunyatasattva Aug 25, 2022
21a7a10
`Filter by Attribute` block design updates (#6920)
albarin Aug 25, 2022
457744e
Remove pattern file added by mistake (#6980)
albarin Aug 25, 2022
68aed32
Fix z-index issue in Filter by Attribute dropdowns (#6981)
Aljullu Aug 25, 2022
b1a2f96
Update folder-structure.md
nielslange Aug 25, 2022
9753089
Bump @storybook/react from 6.5.9 to 6.5.10 (#6858)
dependabot[bot] Aug 25, 2022
0cae8e1
Bump terser from 4.8.0 to 4.8.1 (#6727)
dependabot[bot] Aug 25, 2022
0ade6c8
Layout Updates to Active Filters Block (#6905)
danielwrobert Aug 26, 2022
2a0b3be
Fix a broken link in "available-filters.md" (#6971)
tarhi-saad Aug 26, 2022
1f706c1
Change Type for shipping_address and billing_address to object (#6974)
Aug 29, 2022
d2d809b
only load shipping countries when shipping is needed (#6901)
senadir Aug 29, 2022
6286a6f
Turn current page into the default Cart/Checkout page (#6867)
senadir Aug 29, 2022
6c68e0c
Remove the price filter setting label style (#6994)
albarin Aug 29, 2022
c410644
Add static class name for product-details (#6914)
alexflorisca Aug 29, 2022
9bf6e2b
Update `filter by stock` skeleton design (#6996)
albarin Aug 30, 2022
7e70c5a
Update version to 8.5.0-dev
tarhi-saad Aug 30, 2022
41035c5
Fix stock filter placeholder (#7009)
albarin Aug 31, 2022
6b0e4bf
Set default orderby to popularity (#7025)
tjcafferkey Aug 31, 2022
5a9a253
Remove __experimentalDuotone from block.json. (#7000)
danielwrobert Aug 31, 2022
0fe518a
Product Search E2E tests (#7005)
dinhtungdu Sep 1, 2022
71001ee
Add to the Product Image block the support for the Product Query bloc…
gigitux Sep 1, 2022
386d7e0
Fix pills in the `Filter by Attribute` block dropdown overlapping wit…
albarin Sep 2, 2022
824a92f
Update `filter by price` skeleton design (#6997)
albarin Sep 2, 2022
fef3c6c
Release: 8.4.0 (#7001)
github-actions[bot] Sep 2, 2022
db5b8e4
Fix experimental interface document link in release initial checklist…
Sep 5, 2022
940dea4
Bump @typescript-eslint/parser from 5.31.0 to 5.35.1 (#7004)
dependabot[bot] Sep 5, 2022
60bdfdb
Bump @wordpress/browserslist-config from 4.1.2 to 5.0.0 (#7003)
dependabot[bot] Sep 5, 2022
e964acd
Bump @actions/core from 1.9.0 to 1.9.1 (#6938)
dependabot[bot] Sep 5, 2022
8e518b8
Fix php format (#7050)
albarin Sep 5, 2022
f5888d1
Bump automattic/jetpack-autoloader from 2.11.6 to 2.11.7 (#6810)
dependabot[bot] Sep 5, 2022
fff4733
Bump core-js from 3.23.3 to 3.25.0 (#7051)
dependabot[bot] Sep 5, 2022
08db8a3
Bump commander from 9.3.0 to 9.4.0 (#6831)
dependabot[bot] Sep 5, 2022
3380a1f
Bump moment-timezone from 0.5.34 to 0.5.37 (#7022)
dependabot[bot] Sep 5, 2022
61514db
Bump @wordpress/dom from 3.2.7 to 3.16.0 (#7053)
dependabot[bot] Sep 5, 2022
df3776a
Bump @wordpress/autop from 3.12.0 to 3.16.0 (#7063)
dependabot[bot] Sep 6, 2022
a33a266
Update checkout-flow-and-events.md
nielslange Sep 6, 2022
93e208f
Bump wp-phpunit/wp-phpunit from 6.0.1 to 6.0.2 (#7067)
dependabot[bot] Sep 6, 2022
788e8a5
Bump @wordpress/deprecated from 3.12.0 to 3.16.0 (#7065)
dependabot[bot] Sep 6, 2022
ed3abbe
Fix corrupt Classic Template placeholders for specific products. (#7033)
tjcafferkey Sep 6, 2022
6e8b571
Update `filter by attribute` skeleton design (#6990)
albarin Sep 6, 2022
9f9acf9
Add default value to parameter #7060 (#7074)
gigitux Sep 6, 2022
d0e41b6
Add steps to retrieve products variations in Store API docs (#7076)
Sep 7, 2022
8bef079
Replace 'gutenberg_build_query_vars_from_query_block' filter with 'qu…
gigitux Sep 7, 2022
e6ed0f6
Suppress unnecessary warnings for old namespace aliasing (#7046)
wavvves Sep 7, 2022
c1a257c
Move experimental item under Feature Plugin group
danielwrobert Sep 7, 2022
5d6a088
Compare count with null to avoid rendering a 0 when count is 0 (#7073)
albarin Sep 8, 2022
876c126
Fix remove button alignment in Filter by Attribute block (#7088)
Aljullu Sep 8, 2022
ec07902
Make Active filters texts bigger (#7087)
Aljullu Sep 9, 2022
63a21c8
Fix broken table
nielslange Sep 9, 2022
9bec813
Active Filters Loading Placeholders (#7083)
tjcafferkey Sep 9, 2022
6cb49bc
Add Apply button placeholders to filters and adjust title margins (#7…
albarin Sep 9, 2022
0fecf2b
Fix formatting (#7105)
albarin Sep 9, 2022
7b01374
Update Active Filters "remove filter" icon to use Icon component (#7035)
danielwrobert Sep 9, 2022
f27456d
Featured Items: Remove inline style defaults for color options (#7036)
danielwrobert Sep 9, 2022
00a1174
Correct broken *.md links (#7108)
nielslange Sep 12, 2022
d4e3247
Improve public-facing texts and labels (#7045)
sunyatasattva Sep 12, 2022
66165fc
Fix pills in the Filter by Attribute block dropdown overlapping with …
Aljullu Sep 13, 2022
cd2d1cc
Fix invisible Reset filter button in some themes (#7111)
Aljullu Sep 13, 2022
928a6bb
Release: 8.5.0 (#7110)
github-actions[bot] Sep 13, 2022
20ce4c7
Update version to 8.6.0-dev
gigitux Sep 13, 2022
a647289
Fix e2e test - Filter products by stock block (#7137)
gigitux Sep 13, 2022
cb25c06
Add stale labels to PRs, exclude additional labels, prevent closing (…
opr Sep 13, 2022
ba34383
Run test that does snapshot only when Gutenberg is disabled (#7142)
gigitux Sep 14, 2022
c47abc4
Fix broken tables in available-filters.md
nielslange Sep 14, 2022
f72ab5a
Remove unused CSS selectors from Filter blocks (#7150)
Aljullu Sep 14, 2022
cb6dee5
Update automatic reviewer assignment to Woo FSE team name (#7143)
Aljullu Sep 14, 2022
1c3bdea
Use the eslint config at the root of the repo (#7149)
hsingyuc Sep 14, 2022
7f97ad6
Make chevron clickable in Filter by Product block input (#7139)
Aljullu Sep 15, 2022
f43ab74
Product Query: Fix pagination issue (#7109)
gigitux Sep 15, 2022
e9104a8
Add Dependabot documentation (#7141)
gigitux Sep 15, 2022
722baa2
Fix: Inner blocks control position for Cart Block (#6973)
Sep 16, 2022
060f63c
Fix indentation on payment method integration documentation (#7156)
opr Sep 16, 2022
0518c51
Merge remote-tracking branch 'upstream/trunk' into trunk
luisherranz Sep 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
root: true,
extends: [
'plugin:@woocommerce/eslint-plugin/recommended',
'plugin:you-dont-need-lodash-underscore/compatible',
Expand Down Expand Up @@ -29,11 +30,14 @@ module.exports = {
'@woocommerce/settings',
'@woocommerce/shared-context',
'@woocommerce/shared-hocs',
'@woocommerce/data',
'@wordpress/a11y',
'@wordpress/api-fetch',
'@wordpress/block-editor',
'@wordpress/compose',
'@wordpress/data',
'@wordpress/core-data',
'@wordpress/editor',
'@wordpress/escape-html',
'@wordpress/hooks',
'@wordpress/keycodes',
Expand Down
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Thanks for your interest in contributing to WooCommerce Blocks!

If you wish to contribute code, to get started we recommend first reading our [Getting Started Guide](../docs/contributors/getting-started.md).
If you wish to contribute code, to get started we recommend first reading our [Getting Started Guide](../docs/contributors/contributing/getting-started.md).

All other documentation for contributors can be found [in the docs directory](../docs/README.md).

Expand Down
4 changes: 2 additions & 2 deletions .github/automate-team-review-assignment-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ when:
- rubik
- author:
teamIs:
- kirigami
- woo-fse
ignore:
nameIs:
assign:
teams:
- kirigami
- woo-fse
22 changes: 17 additions & 5 deletions .github/patch-initial-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,23 @@ Each porter is responsible for testing the PRs that fall under the focus of thei

This only needs done if the patch release needs to be included in WooCommerce Core.

* [ ] Create a pull request for updating the package in WooCommerce core (based off of the WooCommerce core release branch this is deployed for).
- Create the pull request in the [WooCommerce Core Repository](https://github.com/woocommerce/woocommerce/) that [bumps the package version](https://github.com/woocommerce/woocommerce/blob/master/composer.json) for the blocks package to the version being pulled in.
- The content for the pull release can follow [this example](https://github.com/woocommerce/woocommerce/pull/27676). Essentially you link to all the important things that have already been prepared. Note, you need to make sure you link to all the related documents for the feature plugin releases since the last package version bump in Woo Core.
- The PR's changelog should be aggregated from all the releases included in the package bump. This changelog will be used in the release notes for the WooCommerce release. That's why it should only list the PRs that have WooCoomerce Core in the WooCommerce Visibility section of their description. Don't include changes available in the feature plugin or development builds.
- Run through the testing checklist to ensure everything works in that branch for that package bump. **Note:** Testing should include ensuring any features/new blocks that are supposed to be behind feature gating for the core merge of this package update are working as expected.
- [ ] Create a pull request for updating the package in WooCommerce core (based off of the WooCommerce core release branch this is deployed for).
- The content for the pull release can follow [this example](https://github.com/woocommerce/woocommerce/pull/32627).
- [ ] Increase the version of `woocommerce/woocommerce-blocks` in the `plugins/woocommerce/composer.json` file
- [ ] Run `composer update woocommerce/woocommerce-blocks` and make sure `composer-lock.json` was updated
- [ ] Add a new file similar to this one [plugins/woocommerce/changelog/update-woocommerce-blocks-7.4.1](https://github.com/woocommerce/woocommerce/blob/5040a10d01896bcf40fd0ac538f2b7bc584ffe0a/plugins/woocommerce/changelog/update-woocommerce-blocks-7.4.1) with a similar content as below. For the Significance entry we’ll always use `minor`, or `patch` when including a patch release

```
Significance: minor
Type: update

Update WooCommerce Blocks to 7.4.1
```

- The PR description can follow [this example](https://github.com/woocommerce/woocommerce/pull/32627).
- It lists all the WooCommerce Blocks versions that are being included since the last version that you edited in `plugins/woocommerce/composer.json`. Each version should have a link for the `Release PR`, `Testing instructions` and `Release post` (if available).
- The changelog should be aggregated from all the releases included in the package bump and grouped per type: `Enhancements`, `Bug Fixes`, `Various` etc. This changelog will be used in the release notes for the WooCommerce release. That's why it should only list the PRs that have WooCoomerce Core in the WooCommerce Visibility section of their description. Don't include changes available in the feature plugin or development builds.
- Run through the testing checklist to ensure everything works in that branch for that package bump. **Note:** Testing should ensure any features/new blocks that are supposed to be behind feature gating for the core merge of this package update are working as expected.
- Testing should include completing the [Smoke testing checklist](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/docs/internal-developers/testing/smoke-testing.md). It's up to you to verify that those tests have been done.
- Verify and make any additional edits to the pull request description for things like: Changelog to be included with WooCommerce core, additional communication that might be needed elsewhere, additional marketing communication notes that may be needed etc.
- After the checklist is complete and the testing is done, it will be up to the WooCommerce core team to approve and merge the pull request.
Expand Down
44 changes: 23 additions & 21 deletions .github/release-initial-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The release pull request has been created! This checklist is a guide to follow f
* [ ] Run `npm ci`
* [ ] Run `npm run package-plugin:deploy`. This will create a zip of the current branch build locally.
* Note: The zip file is functionally equivalent to what gets released except the version bump.
* [ ] Create the testing notes for the release.
* [ ] Create the testing notes for the release.
* [ ] For each pull request that belongs to the current release, grab the `User Facing Testing` notes from the PR's description. Be sure that the `Do not include in the Testing Notes is not flagged` checkbox is unchecked.
* [ ] Add the notes to `docs/internal-developers/testing/releases`
* [ ] Update the `docs/internal-developers/testing/releases/README.md` file index.
Expand Down Expand Up @@ -63,7 +63,7 @@ Each porter is responsible for testing the PRs that fall under the focus of thei
* Note: the script automatically updates version numbers on Github (commits on your behalf).
* **ALERT**: This script will ask you if this release will be deployed to WordPress.org. You should answer yes for this release even if it is a pre-release.
* A GitHub release will automatically be created and this will trigger a workflow that automatically deploys the plugin to WordPress.org.


## If this release is deployed to WordPress.org...

Expand Down Expand Up @@ -93,25 +93,27 @@ Each porter is responsible for testing the PRs that fall under the focus of thei

This only needs to be done if this release is the last release of the feature plugin before code freeze in the WooCommerce core cycle. If this condition doesn't exist you can skip this section.

* [ ] Remind whoever is porter this week to audit our codebase to ensure this [experimental interface document](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/docs/blocks/feature-flags-and-experimental-interfaces.md) is up to date. See Pca54o-rM-p2 for more details.
* [ ] Create a pull request for updating the package in the [WooCommerce Core Repository](https://github.com/woocommerce/woocommerce/) that [bumps the package version](https://github.com/woocommerce/woocommerce/blob/747cb6b7184ba9fdc875ab104da5839cfda8b4be/plugins/woocommerce/composer.json) for the Woo Blocks package to the version being pulled in.
* The content for the pull release can follow [this example](https://github.com/woocommerce/woocommerce/pull/32627).
* In the PR description you will link to all the important things that have already been prepared since the version you replaced. Note, you need to make sure you link to all the related documents for the plugin releases since the last package version bump in Woo Core.
* The PR's changelog should be aggregated from all the releases included in the package bump. This changelog will be used in the release notes for the WooCommerce release. That's why it should only list the PRs that have WooCoomerce Core in the WooCommerce Visibility section of their description. Don't include changes available in the feature plugin or development builds.
* Update the `plugins/woocommerce/composer.json` file and then run `composer update`.

* Since WooCommerce Blocks 7.4.0, the changelog entry for WooCommerce core must include the fields `Significance` and `Type`. In our case, we're using the following definition as seen on [plugins/woocommerce/changelog/update-woocommerce-blocks-7.4.0](https://github.com/woocommerce/woocommerce/pull/32627/commits/99bf4afd262280ad4e45386ce4ad00ce3425af93) file:
```
// We’ll always use minor, or patch when including a patch release
Significance: minor
Type: update

Woo Blocks 7.3.0 & 7.4.0
```
* Run through the testing checklist to ensure everything works in that branch for that package bump. **Note:** Testing should include ensuring any features/new blocks that are supposed to be behind feature gating for the core merge of this package update are working as expected.
* Testing should include completing the [Smoke testing checklist](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/docs/internal-developers/testing/smoke-testing.md). It's up to you to verify that those tests have been done.
* Verify and make any additional edits to the pull request description for things like: Changelog to be included with WooCommerce core, additional communication that might be needed elsewhere, additional marketing communication notes that may be needed etc.
* After the checklist is complete and the testing is done, it will be up to the WooCommerce core team to approve and merge the pull request.
* [ ] Remind whoever is porter this week to audit our codebase to ensure this [experimental interface document](https://github.com/woocommerce/woocommerce-blocks/blob/trunk/docs/internal-developers/blocks/feature-flags-and-experimental-interfaces.md) is up to date. See Pca54o-rM-p2 for more details.
* [ ] Create a pull request for updating the package in the [WooCommerce Core Repository](https://github.com/woocommerce/woocommerce/) that [bumps the package version](https://github.com/woocommerce/woocommerce/blob/747cb6b7184ba9fdc875ab104da5839cfda8b4be/plugins/woocommerce/composer.json) for the Woo Blocks package to the version you are releasing.
- The content for the pull release can follow [this example](https://github.com/woocommerce/woocommerce/pull/32627).
- [ ] Increase the version of `woocommerce/woocommerce-blocks` in the `plugins/woocommerce/composer.json` file
- [ ] Run `composer update woocommerce/woocommerce-blocks` and make sure `composer-lock.json` was updated
- [ ] Add a new file similar to this one [plugins/woocommerce/changelog/update-woocommerce-blocks-7.4.1](https://github.com/woocommerce/woocommerce/blob/5040a10d01896bcf40fd0ac538f2b7bc584ffe0a/plugins/woocommerce/changelog/update-woocommerce-blocks-7.4.1) with a similar content as below. For the Significance entry we’ll always use `minor`, or `patch` when including a patch release

```
Significance: minor
Type: update

Update WooCommerce Blocks to 7.4.1
```

- The PR description can follow [this example](https://github.com/woocommerce/woocommerce/pull/32627).
- It lists all the WooCommerce Blocks versions that are being included since the last version that you edited in `plugins/woocommerce/composer.json`. Each version should have a link for the `Release PR`, `Testing instructions` and `Release post` (if available).
- The changelog should be aggregated from all the releases included in the package bump and grouped per type: `Enhancements`, `Bug Fixes`, `Various` etc. This changelog will be used in the release notes for the WooCommerce release. That's why it should only list the PRs that have WooCoomerce Core in the WooCommerce Visibility section of their description. Don't include changes available in the feature plugin or development builds.
- Run through the testing checklist to ensure everything works in that branch for that package bump. **Note:** Testing should ensure any features/new blocks that are supposed to be behind feature gating for the core merge of this package update are working as expected.
- Testing should include completing the [Smoke testing checklist](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/docs/internal-developers/testing/smoke-testing.md). It's up to you to verify that those tests have been done.
- Verify and make any additional edits to the pull request description for things like: Changelog to be included with WooCommerce core, additional communication that might be needed elsewhere, additional marketing communication notes that may be needed, etc.
- After the checklist is complete and the testing is done, it will be up to the WooCommerce core team to approve and merge the pull request.
* [ ] Make sure you join the `#woo-core-releases` Slack channel to represent Woo Blocks for the release of WooCommerce core this version is included in.
* [ ] Search the release thread of the WooCommerce core version in WooCommerce P2 (example: p6q8Tx-2gl-p2).
* [ ] Subscribe to it, so you are aware of any news/changes.
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/close-stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60
days-before-close: 10
days-before-pr-stale: 7
days-before-close: -1
remove-stale-when-updated: true
exempt-issue-labels: 'priority: critical,priority: high,Epic'
exempt-issue-labels: 'priority: critical,priority: high,Epic,type: technical debt,category: refactor,type: documentation,plugin incompatibility'
exempt-pr-labels: 'priority: critical,priority: high,Epic,type: technical debt,category: refactor,type: documentation,plugin incompatibility'
stale-issue-message: "This issue has been marked as `stale` because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at. \n\n###### Internal: After 10 days with no activity this issue will be automatically be closed."
stale-pr-message: "This PR has been marked as `stale` because it has not seen any activity within the past 60 days. Our team uses this tool to help surface pull requests that have slipped through review. \n\n###### If deemed still relevant, the pr can be kept active by ensuring it's up to date with the main branch and removing the stale label - otherwise it will automatically be closed after 10 days."
stale-issue-label: 'stale'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# WooCommerce Blocks <!-- omit in toc -->

[![Latest Tag](https://img.shields.io/github/tag/woocommerce/woocommerce-gutenberg-products-block.svg?style=flat&label=Latest%20Tag)](https://github.com/woocommerce/woocommerce-gutenberg-products-block/releases)
[![View](https://img.shields.io/badge/Project%20Components-brightgreen.svg?style=flat)](https://woocommerce.github.io/woocommerce-gutenberg-products-block)
[![View](https://img.shields.io/badge/Project%20Components-brightgreen.svg?style=flat)](https://woocommerce.github.io/woocommerce-blocks/)
![JavaScript and CSS Linting](https://github.com/woocommerce/woocommerce-gutenberg-products-block/workflows/JavaScript%20and%20CSS%20Linting/badge.svg?branch=trunk)
![PHP Coding Standards](https://github.com/woocommerce/woocommerce-gutenberg-products-block/workflows/PHP%20Coding%20Standards/badge.svg?branch=trunk)
![Automated tests](https://github.com/woocommerce/woocommerce-gutenberg-products-block/workflows/Automated%20tests/badge.svg?branch=trunk)
Expand Down Expand Up @@ -66,7 +66,7 @@ Run through the ["Writing Your First Block Type" tutorial](https://wordpress.org

For deeper dive, try looking at the [core blocks code,](https://github.com/WordPress/gutenberg/tree/master/packages/block-library/src) or see what [components are available.](https://github.com/WordPress/gutenberg/tree/master/packages/components/src)

To begin contributing to the WooCommerce Blocks plugin, see our [getting started guide](./docs/contributors/getting-started.md) and [developer handbook](./docs/README.md).
To begin contributing to the WooCommerce Blocks plugin, see our [getting started guide](./docs/contributors/contributing/getting-started.md) and [developer handbook](./docs/README.md).

Other useful docs to explore:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ export const BLOCK_ICON: JSX.Element = (
<Icon icon={ archive } className="wc-block-editor-components-block-icon" />
);
export const BLOCK_DESCRIPTION: string = __(
'Display a list of categories belonging to a product.',
'Display the list of categories that are assigned to a product.',
'woo-gutenberg-products-block'
);
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const blockAttributes = {
export const attributes = {
showProductLink: {
type: 'boolean',
default: true,
Expand All @@ -19,6 +19,8 @@ export const blockAttributes = {
type: 'number',
default: 0,
},
isDescendentOfQueryLoop: {
type: 'boolean',
default: false,
},
};

export default blockAttributes;
Loading