Block UI Overhaul
TagsDrupalDrupal 8Drupal Planet
Blocks have always been a major site building tool in Drupal, but not one without limitations. Notably, a block could only be configured one way, and placed into one region on each theme. Now in Drupal 8, a block can have many different configurations, and can be placed into as many regions as needed in any theme. This was a major effort and was a big accomplishment for the Blocks and Layouts (SCOTCH) initiative.
However, along with this new functionality, the Block UI has become more complex. It forced a new workflow for placing blocks using a new set of extra paths under the block listing. It also buried the block creation workflow underneath this block placement workflow.
Much time has been spent in issues debating how to improve the usability regressions in these interfaces and forms. Initially these were coupled to and blocked by a new Layout UI, which was not completed in time for Drupal 8. The scope has been reduced to direct improvement of the UI and workflows we have in core already, while greatly improving the Block UI user experience.
By combining block placement with the block listing screen, the block placement UX flow and the block creation UX flow can be separated.
Mockup of new block UI jointly developed by Kevin O'Leary, Bojhan Somers, and the SCOTCH team.
Having helped rewrite the Block API, I'm well aware of the current UI pitfalls. I will be working on this for the next several weeks thanks to a sponsorship from Acquia. The work covers any needed API-level changes as well as the obvious visual changes. #1875252 is the meta issue which has the details and discussion, while #2055853 is the actionable issue. I'm very excited to help implement these new designs, and will be posting regular patches. Please help me by giving these patches technical review. Together we can make the Block UI more intuitive and help users discover the new power of Drupal 8 blocks.