-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Display Block Information by matching block variations #27469
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
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
69be2ab
getBlockTypeWithVariationInfo selector, BlockDescription component an…
ntsekouras 20eeea3
revert BlockCard component and make the passed attributes top level w…
ntsekouras 1647ae0
remove BlockDescription
ntsekouras 4d5b176
change InserterPreviewPanel to use BlockCard with passing top level p…
ntsekouras 23d0f61
create new custom hook for block's display information
ntsekouras 93013a8
use new hook in BlockInspector
ntsekouras 5fab0e5
revert BlockIcon and augment BlockTitle
ntsekouras 42271d8
Navigation List View update
ntsekouras c94f11c
remove previous selector
ntsekouras 9926c72
refactor BlockSwitcher to function component and use the new hook
ntsekouras ae9f53a
change hook
ntsekouras 1697329
use CreateSelector and declare WPBlockDisplayInformation typedef
ntsekouras 0784acf
revert BlockSwitcher to handle in separate PR
ntsekouras 88fd610
remove getBlockDisplayInformation selector
ntsekouras 6b8169b
add `isActive` API for block variations to use for trying to find a m…
ntsekouras ec4aa29
doc for `isActive` in block variation
ntsekouras 4b261bb
jsdoc fix
ntsekouras 37949ca
address review feedback part 1
ntsekouras 2f6598e
fix BlockTitle tests
ntsekouras a8a8302
rename hook to `useBlockDisplayInformation`
ntsekouras 9675f07
fix export
ntsekouras 113f761
useBlockDisplayInformation README
ntsekouras 0f720b6
move login in useSelect
ntsekouras 410fc74
e2e tests
ntsekouras 8501b34
blockTitle extra safeguard that existed before
ntsekouras 1763959
Update docs
ntsekouras 65a8910
Update docs
ntsekouras 9ec01e6
Update docs
ntsekouras 9ec1bee
Update docs
ntsekouras 89c480c
rewordings
ntsekouras 438831a
remove experimental status
ntsekouras bef032b
small refactoring
ntsekouras 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
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
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
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
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
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
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
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
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
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.