Blocks Bulk Actions (BBA) UX Improvements
This module enhances the Block Bulk Actions project by improving the user experience for managing blocks. It adds features like filtering blocks by text and state, collapsing/expanding regions, selecting all blocks, and visual cues for block status and regions. It also reorganizes interface elements for easier access and provides a more stable bulk action process.
This module is an enhancement of the Block Bulk Actions (BBA) project. It takes what is already there and adds a bunch of extra UX modifications which make working with Blocks just a tiny bit easier.
This module does the following:
- Filter regions using text
- Filter blocks by state
- Adds collapsing and expanding region fieldsets
- Adds collapsing all and expanding all buttons
- Select All Blocks for a region
- Color code regions and block disabled state
- Move the "save" button to a static footer
- Move the "Region" demonstration link to a button in the footer bar
- Move "show row weights" to the footer bar
- Adds a number of selected blocks as a status to the footer bar
- Each region has a status of the number of blocks and the number of enabled and disabled blocks in the region
Important
The BBA module leverages the batch mechanism but I found it problematic with sites with tons of blocks. This has more to do with how the batch service writes serialized objects to the DB. Given this issue, I opted to revoke that process and build my own iterator. Now, whenever you are about to perform a bulk action, you will see a modal confirmation alert.
Admin theme compatibility
This module is new and requires testing with other admin themes, but for now it should work nicely with Claro and Adminimal.
Thanks
Big thank you to the creator of BBA to get the ball rolling!