Repository navigation
Global Styles: filter and indicate blocks that have custom styles #81373
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 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
c247330
Global Styles: add predicate for blocks with user styles
ramonjd 6b3bc56
Global Styles: indicate blocks that have user styles
ramonjd fd1c32d
Global Styles: import VisuallyHidden from @wordpress/ui
ramonjd 3cee8ef
Global Styles: add filter for blocks with user styles
ramonjd fad9022
Global Styles: remove filter tests that asserted a copy of the logic
ramonjd b60cf21
Global Styles: add changelog entry for block list filter
ramonjd 186331b
Global Styles: tell apart the two empty states in the block list
ramonjd 1da774e
Global Styles: summarize what changed on each block in the block list
ramonjd 692af90
Tests: match the Heading row by prefix in push-to-global-styles
ramonjd e93ecc9
Global Styles: drop the "Changed:" prefix from the block summary
ramonjd b2519a2
Global Styles: say "No blocks found" when a search comes up empty
ramonjd b582168
Global Styles: mark customized blocks with a dot rather than a summary
ramonjd ea85b2f
Global Styles: match the block list empty state class to its markup
ramonjd 818fff5
Global Styles: do not announce a result when the block list is empty
ramonjd 06a1b96
Remove block types item BEM styles
ramonjd 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
Global Styles: tell apart the two empty states in the block list
When the list came back empty it always said "No blocks found.", which reads as a search result even when the search box is empty and the Customized filter is what emptied the list. Split the message so a filtered-but-empty list says the user has not customized anything yet, and move the search row's spacing onto the grid-unit scale.
- Loading branch information
commit 186331ba2c39a8c6e2db8f3ad94261b3275c8321
Some comments aren't visible on the classic Files Changed page.
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
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.