Problem/Motivation
Using many blocks on the block layout administration page (/admin/structure/block) on large sites makes administration very hard.
As the module list for example already implements a simple javascript search to filter the results, the same would be very helpful to filter regions for blocks with the given name or category
Steps to reproduce
Proposed resolution
Implement a javascript filter which reduces the displayed block results to matches
Remaining tasks
Never hide the block regions.#62Add a control (checkbox?) for each block region to unhide filtered blocks within that region.#62- Do we need a way to clear all these controls? Assuming a checkbox, how should it be labeled: perhaps "Show all" or "Show all blocks in this region". Come up with some help text (description) for the filter, mentioning the override. #62
The filter should "float" like the bulk actions on the node list page#62Create Followup: Add a "clear" widget to the filter field. Currently the clear widget is browser based, should be for Core in general and accessible. #62Provide some sort of filter status about how many blocks are filtered for each of the block regions.#63- Currently there is no aural feedback about he filtering results #63
If you keep the filtering for the string "menu" and drag the Main navigation block up past the Primary menu heading until it sticks then the region in the select field changes to Header but there is no heading called Header.#63Improve the table drag icon that it reflects the possible drag directions instead vertical and horizontal all the time#3389317: Differentiate visually dragging with and without hierarchy. #63- Create followup: Dragging a block by the drag handle adds a * but if you change the block position via the select field no * character is shown. #63
- Aural interface for links and buttons is sort of redundant and impossible to distinguish #63
Add aria-pressed to the show filtered blocks button #66- Add reduced motion meta query to the move to results link. #70
- use hidden instead of filtered for the status lines (4 filtered this region) #72
Let the search filter behave like the bulk actions header#72Not all buttons reachable by the keyboard#76Indicate in the status line if there are no blocks in a block region#76If a block is moved by the region select field (when row weights is active) the hidden blocks of the block region are shown#80Status rows should always be right after to the block region row they describe.#80Visually highlight matches (in particular if show filtered is active for a block region) #80Filter box looks too prominent due to its height #80Enabled and disabled blocks are highlighted differently. Plus disabled might also have a too low color contrast. #86- Font size and touch target for the go to results link might be too small #86
- Adjust the micro copy of the status line to "x blocks filtered"#86
- Make sute the filter field set and table header are displayed correctly at the top of the page with the navigation module installed instead of the toolbar #106