CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 09:29:28 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/WordPress/gutenberg.git
etag: W/"02ea274e1ed56db4fdd25148fc81941b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=o3wAsXnIkDqrEDmIH28522kUH2SVm%2BIbLI1jPbLQ1Z7c3KPGpTKuxAMSfFeLWO11feMTU1k7qVWLUj54NMU9rJbyGIxc0NKm2Ofs%2FitbgAB%2BeWk8wKlieDbcxmRt3MHE5yypMORBY5UAZbJg54o1IyzhcdpRByY1nVQ5%2BgoWQnQoZ6GrjOpU2jkpbjw%2BCCp5%2BxmxtP%2FlIAqAUPQ%2B378OP4XnCRA2Fr6rLuZXw25%2BtFkPwzTfw95S8jbmGDAl0cGjB1A05CgOwUDTlmvkMLnHCw%3D%3D--OCc%2FMUak%2Bxa0MxZP--bwPiHb3zPTK7wie1J%2BU5hA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1241942386.1760174967; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 09:29:27 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 09:29:27 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A7F6:2E6B02:521552:6F1A9D:68EA2377
Terms Query inspector controls revamp + add subterms option (#71633) · WordPress/gutenberg@0824ebc · GitHub



authored
Copy file name to clipboardExpand all lines: docs/reference-guides/core-blocks.md
Copy file name to clipboardExpand all lines: packages/block-library/src/term-template/block.json
Copy file name to clipboardExpand all lines: packages/block-library/src/term-template/edit.js
Copy file name to clipboardExpand all lines: packages/block-library/src/term-template/index.php
Copy file name to clipboardExpand all lines: packages/block-library/src/terms-query/block.json
Copy file name to clipboardExpand all lines: packages/block-library/src/terms-query/inspector-controls.js
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit 0824ebc


Terms Query inspector controls revamp + add subterms option (#71633)
* Split controls into separate files
* Add subterms control
* Extract Empty Terms control
* Change the default parent to false
* Extract hierarchy control and make it render conditionally
* Make the terms to show a radio
* Modify the query depends on high level filters
* Default to all terms when changing some attributes
* Pass terms to show via context
* Filter only children terms when subtree is chosen
* Assign default query for subterms option
* Add explanation to subterms option
* Add a guard if terms is null
* Add support for subtree on the frontend
* Fix lint
* Fix merge conflicts
* Make code more defensive
* Simplify the condition
* Add end dot to comment
* Fix lint
* Rename function to match file name
* Rename MaxTermsControls to MaxTermsControl to make it consistent with the rest of inspector controls
* Fix duplicated taxonomies when showing all and hierarchical
* Fix lint
Co-authored-by: kmanijak <karolmanijak@git.wordpress.org>
Co-authored-by: mikachan <mikachan@git.wordpress.org>
Co-authored-by: Marc-pi <mdxfr@git.wordpress.org>1 parent 2f61418 commit 0824ebcCopy full SHA for 0824ebc
File tree
Expand file treeCollapse file tree
14 files changed
+489
-256
lines changedFilter options
- docs/reference-guides
- packages/block-library/src
- term-template
- terms-query
- inspector-controls
Expand file treeCollapse file tree
14 files changed
+489
-256
lines changedCollapse file: docs/reference-guides/core-blocks.md
docs/reference-guides/core-blocks.md
Copy file name to clipboardExpand all lines: docs/reference-guides/core-blocks.md+1-1Lines changed: 1 addition & 1 deletion
- Display the source diff
- Display the rich diff
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1007 | 1007 |
| |
1008 | 1008 |
| |
1009 | 1009 |
| |
1010 |
| - | |
| 1010 | + | |
1011 | 1011 |
| |
1012 | 1012 |
| |
1013 | 1013 |
| |
|
Collapse file: packages/block-library/src/term-template/block.json
packages/block-library/src/term-template/block.json
Copy file name to clipboardExpand all lines: packages/block-library/src/term-template/block.json+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
|
Collapse file: packages/block-library/src/term-template/edit.js
packages/block-library/src/term-template/edit.js
Copy file name to clipboardExpand all lines: packages/block-library/src/term-template/edit.js+11-6Lines changed: 11 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
| 194 | + | |
194 | 195 |
| |
195 | 196 |
| |
196 | 197 |
| |
197 | 198 |
| |
198 | 199 |
| |
199 | 200 |
| |
200 |
| - | |
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
| |||
222 | 222 |
| |
223 | 223 |
| |
224 | 224 |
| |
225 |
| - | |
226 | 225 |
| |
227 |
| - | |
228 |
| - | |
| 226 | + | |
| 227 | + | |
229 | 228 |
| |
230 |
| - | |
231 |
| - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
232 | 237 |
| |
233 | 238 |
| |
234 | 239 |
| |
|
Collapse file: packages/block-library/src/term-template/index.php
packages/block-library/src/term-template/index.php
Copy file name to clipboardExpand all lines: packages/block-library/src/term-template/index.php+13-7Lines changed: 13 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
| |||
39 | 40 |
| |
40 | 41 |
| |
41 | 42 |
| |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
| 43 | + | |
| 44 | + | |
46 | 45 |
| |
47 |
| - | |
48 |
| - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 |
| |
50 | 56 |
| |
51 | 57 |
| |
|
Collapse file: packages/block-library/src/terms-query/block.json
packages/block-library/src/terms-query/block.json
Copy file name to clipboardExpand all lines: packages/block-library/src/terms-query/block.json+8-2Lines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
| 26 | + | |
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
30 | 35 |
| |
31 | 36 |
| |
32 | 37 |
| |
| |||
37 | 42 |
| |
38 | 43 |
| |
39 | 44 |
| |
40 |
| - | |
| 45 | + | |
| 46 | + | |
41 | 47 |
| |
42 | 48 |
| |
43 | 49 |
| |
|
Collapse file: packages/block-library/src/terms-query/inspector-controls.js
packages/block-library/src/terms-query/inspector-controls.js
Copy file name to clipboardExpand all lines: packages/block-library/src/terms-query/inspector-controls.js-239Lines changed: 0 additions & 239 deletions
This file was deleted.
Collapse file: packages/block-library/src/terms-query/inspector-controls/advanced-controls.js
packages/block-library/src/terms-query/inspector-controls/advanced-controls.js
Copy file name to clipboard+37Lines changed: 37 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + |
You can’t perform that action at this time.
0 commit comments