-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Add Terms Query block #70720
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
Merged
Merged
Add Terms Query block #70720
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
7e8198d
Add Terms Query block
mikachan 001a8ae
Create test fixtures
mikachan 27a3b07
Make block experimental
mikachan 05cd427
Update docs
mikachan 1c28168
Update test fixture
mikachan 824d60d
Fix render_block_core_terms_query
mikachan 97cdd68
Fix render_block_core_terms_query
mikachan 37442c4
Use termQuery and termQueryId
mikachan fbad8e3
Remove separate showOnlyTopLevel option
mikachan eb6cf92
Merge branch 'trunk' into add/terms-query-block-container
mikachan 5b76c63
Update tests
mikachan d2d95c6
Update parsed fixture
mikachan 428f355
Update test fixture
mikachan 8dba15b
Add Core backport PR ref
mikachan 77efc0b
Update readme example
mikachan cc5f368
Remove term count styling for now
mikachan 5bcd841
Remove editorStyle
mikachan 96d2395
Move all inspector controls into TermsQueryInspectorControls
mikachan e29d786
Merge branch 'trunk' into add/terms-query-block-container
mikachan f50051e
Add Term Template block (#70747)
mikachan 1d807da
Add Term Template inner blocks (#71122)
mikachan e5fdc1e
Merge branch 'trunk' into add/terms-query-block-container
mikachan 9294f16
Use 6.9.0
mikachan d75b7c0
Remove ternary
mikachan 9979371
Add perPage param in editor
mikachan 56e244d
Remove wrapper div
mikachan 697b177
Add layout options
mikachan 9a96508
Add columns to grid layout
mikachan dbb3d2a
Use ToggleControlGroup for layout selection
mikachan f96f6f8
Tidy up styles
mikachan c0d3cda
Fix linting
mikachan 4ed2351
Fix more spacing
mikachan 677c0e8
Regenerate test fixture
mikachan 489ec29
Disable grid layout if show hierarchy is enabled
mikachan 208ab8c
Switch useMemo to useEffect
mikachan b170d83
Try using layout support rather than group blocks
mikachan b2023fa
Simplify layout controls
mikachan 755e79f
Regenerate fixtures
mikachan 2d3b4f2
Add layout controls to block toolbar
mikachan 3a0801a
Add innerblocks variable to variations
mikachan de054eb
Add term template class to frontend
mikachan 844e7ed
Merge branch 'trunk' into add/terms-query-block-container
mikachan 28048ca
Terms Query: add Max Terms control (#71358)
kmanijak b973dc3
Terms Query: Add link to term-data block bindings (#71376)
cr0ybot a187d83
Add missing class from editor
mikachan 7173f82
Add help text to layout controls
mikachan 45dfa23
Remove Block Variations readme section
mikachan 32013b6
Update packages/block-library/src/term-template/editor.scss
mikachan 8a0f499
Update packages/block-library/src/term-template/edit.js
mikachan a28366c
Update packages/block-library/src/terms-query/inspector-controls.js
mikachan f674fd4
Update packages/block-library/src/terms-query/inspector-controls.js
mikachan ee656b4
Update packages/block-library/src/terms-query/inspector-controls.js
mikachan 77210f4
Update packages/block-library/src/terms-query/index.php
mikachan bd974c7
Import layout icon
mikachan 2a6f7ce
Remove layout field from Terms Query
mikachan 9101b46
Remove unused context and attribute
mikachan d04f9ac
Remove Terms Query readme
mikachan 8fd0ca4
Remove $block conditional
mikachan 972d952
Allow all blocks in Term Template
mikachan ab582bf
Remove variations
mikachan 793337e
Revert "Remove variations"
mikachan fc9cb2d
Add namespace attr back
mikachan c37da74
Update term template block.json for variation API
mikachan e321549
Term Template: Use native layout controls (#71488)
mikachan 6e45569
Fix experimental block setting
mikachan 47423d4
Move Term Template to experimental array
mikachan 51bdfae
Update test fixtures
mikachan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update packages/block-library/src/terms-query/inspector-controls.js
Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.