Updated: Comment #0

This is a sub-issue of #1875252: [META] Make the block plugin UI shippable. The custom block workflow has its own set of UI and UX issues on top of those that affect all block types. @Dries highlighted a number of these in his review in #1871772-111: Convert custom blocks to content entities and there's some further exploration in #1875252: [META] Make the block plugin UI shippable, but there are a lot of problems that are outside the scope of #2055853: [meta] Improve the place block UX; Separate interaction from the create block UX; Improve the existing blocks-by-theme layout, which is the current task there.

Here's a walkthrough of what happens when you try to add custom blocks. I'll edit in the issues that exist to try to address each step after I'm done posting.

  1. I first went to add a custom block type.

    1_custom_blocks.png
    #2062761: Update hook_help() for custom_block modules has been filed for the missing help text.
    #2062439: Provide listing of custom block entities fixes the missing button text.

  2. Once I create my block type, I end up back on the same list, as expected, but there's no indication what I can do next.

    2_where_next.png

  3. Spoiler alert: one has to click on the other "Blocks" link and go to admin/structure/blocks, then click "Place blocks". Neither of these things seem related to creating a new piece of block content.

    3_blocks_page.png

  4. This confusing form is no help, but it is what I need actually.

    4_place_blocks_screen.png

  5. After I click "Add custom block" I get this entirely different looking page that seems like a separate place:

    5_add_custom_block.png

  6. But it looks like I'm on the right track.

    6_block_form.png

  7. Until I'm thrown into yet another form.

    7_place_block_form.png

  8. And now I'm back here, five screens later. They all looked different. Where did my block go? I want to change the text in it to something that's not text text.

    8_admin_structure_blocks_again.png

  9. I forgot to set a region so I have to scroll down.

    9_scroll_down.png

  10. Clicking "configure" takes me to a form but not the one I want.

    10_same_form_again.png

  11. I back up and try the button I used the last time, even though I don't want to add a new one again.

    11_block_list_again.png

  12. Same form, but with a new row for my block!

    12_place_blocks_again.png

  13. ...And then I see yet another completely different looking screen. This threw me IRL. The problem is that this doesn't have the admin path entry it should and so we're thrown out of Seven and Overlay.

    13_editing_the_block.png

    #2062817: Custom block edit path is incorrect in hook_admin_paths() and the configure path is missing from the .info should fix this.

  14. Also my block is displayed here with contextual links, which really baffled me at 12:30a last night. I realized this morning that this is a side effect of #13.

    14_contextual_links.png

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xjm’s picture

FileSize
54.14 KB
xjm’s picture

Issue summary: View changes

Updated issue summary.

xjm’s picture

Issue summary: View changes

Updated issue summary.

xjm’s picture

Issue summary: View changes

Add list.

xjm’s picture

Issue summary: View changes

Updated issue summary.

xjm’s picture

Issue summary: View changes

Updated issue summary.

xjm’s picture

Issue summary: View changes

Updated issue summary.

xjm’s picture

Issue summary: View changes

Add markup.

xjm’s picture

Issue summary: View changes

Updated issue summary.

xjm’s picture

Issue summary: View changes

Updated issue summary.

xjm’s picture

Issue summary: View changes

Updated issue summary.

xjm’s picture

Issue summary: View changes

Updated issue summary.

xjm’s picture

Issue summary: View changes

Updated issue summary.

larowlan’s picture

Thanks for filing

larowlan’s picture

In my defence, a lot of this was present in the original BAP patch. The two form business was as directed and I'm not site how we resolve that without an embedded entity form aka inline entity form. Looking at the issues listed, I can't see one to put those back into one form. So I think we need one more issue?

Bojhan’s picture

Issue tags: +Usability

Gehehe, this is terrible.

Bojhan’s picture

Issue summary: View changes

.

andypost’s picture

currently custom block have no 'edit' link at all, operations and contextual links are different now.

PS: related #1956134: Provide helpful editing links on "admin/structure/block" for deriver blocks (menu, views, block content, etc.)

klonos’s picture

klonos’s picture

Related issues:

...also adding the issue mentioned by Andy in #5

sun’s picture

Given that the new Block system + UI is pretty much the heart of D8 site building, and

On the assumption that fixing the usability could very well require major API changes,

...shouldn't this be a beta blocker?

webchick’s picture

Status: Active » Postponed (maintainer needs more info)

I'd be curious to know how much of this is even relevant anymore. There was a big overhaul of block UI done last summer.

tim.plunkett’s picture

Status: Postponed (maintainer needs more info) » Needs work
Issue tags: +Needs issue summary update

A couple of things in that summary were just bugs, some were fixed by the Block UI overhaul.
But that focused on blocks, and this is specific to custom_block.module, which *does* still have some issues.

askibinski’s picture

alexpott’s picture

Component: custom_block.module » block_content.module

Moving to correct component

lokapujya’s picture

Related issues:

removed a duplicate related issue.

larowlan’s picture

Would be interested in another round of testing of HEAD to assess where this is at and what is still relevant after the major reworking from the last round of UX testing.

kattekrab’s picture

I'll try to dig into this over the next few days.

MattA’s picture

Notable changes since this issue was last updated:

  • The action button has been removed.
  • The process to add a custom block to a site has become worse from an UI (mix of modal and non-modal pages) and UX (more clicks in less obvious places) perspective.
  • The sidebar is gone.
  • Judging from the screenshots in 7 and 10, the region dropdown has actually moved lower?! It is even less likely to be noticed now (but #2361921: Re-order the 'place/configure block' form so it's focused on the task at hand. aims to fix that).

What has not changed:

  • The "place block" action still has not been separated from the "create and edit block content" action despite first being reported as a problem over 4 years ago.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

pameeela’s picture

@xjm can you review this issue and see whether you still feel it's relevant? There are so many changes to the block system since it was created. Obviously there are still UX issues, but I think it might be easier to close this and open new ones for remaining issues that are not already covered.

SKAUGHT’s picture

This issue is still very much at the level open to the community level working on it, not just the issue reporter. It is open/major, needs work

pameeela’s picture

@SKAUGHT if this is something you are following closely, it would help to progress this if you could update the issue summary. I hear what you are saying but this issue references a number of things that are outdated / obsolete and this makes it very difficult to contribute as it is not clear what needs to be done.

In cases like this it is often easier to close the outdated issue and open a new one with more up-to-date information about the state of things and what changes are being proposed/pursued.

SKAUGHT’s picture

as a developer, site-builder, trainer -- this is one of the types of issues i follow. As with many of my 'follows', open personal time to give is tough..

this being the parent issue is a bit of a junk pile of what's wrong. child issue #2738935 does give a cleaner generalized flow request to begin with to heal this group of UX/a11y problems.

outdated: using https://simplytest.me -- try out current drupal, current core themes.. update images, experieces. you too can help direct what the idea is... not just 'overall feasibility'. Everything is possible (:

pameeela’s picture

Issue tags: +Bug Smash Initiative

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

smustgrave’s picture

Wondering if anyone could provide an IS update based on what's still needed?

rkoller’s picture

@larowlan pointed me to this issue during the following discussion on Slack: https://drupal.slack.com/archives/C04AWT6FNEA/p1670105177756309 . Went through the points listed in the issue summary and came up with the following assessment and suggestions:

1. fixed - the block types page has a help text meanwhile and the add custom block types button has a label
2. improved but not fixed - the help text on the block types page provides a link to the custom block libraries blocks page. but the link is sort of buried in the help text. @aaronmchale coincidently opened an issue in the idea queue about providing additional methods of navigation in the administration interface on friday: #3325034: Providing additional methods of navigating the admin interface
3. fixed - the help text is more specific and the place block buttons got added to each section header instead of a single place blocks button on top
4. fixed - that got completely overhauled if you compare the screenshot with the current state.
5. the help text is still missing for /block/add?destination=/admin/structure/block/block-content but /node/add also doesn't have a help text. but one feature that might improve the add process might be the type_tray contrib module: https://www.drupal.org/project/type_tray. it adds the option to display a grid view instead of a list view also with the ability to assign thumbnails to the different available types. currently it is only providing that functionality for content types but there is the suggestion to extend it to blocks as well: https://www.drupal.org/project/type_tray/issues/3223588 . that way it would be a more visual experience where the user doesn’t have to rely onto reading entirely.
6. fixed or no action required in the first place?
7. fixed. after creating a block in core you are getting redirected to the custom block libraries blocks list. you don't directly get to the place block form for a block. for that you have to place a block on the block layout page.
it is only still a problem in case admin_toolbar is installed and you click the add custom block menu item. after creating a block with the add custom block form you get directly forwarded to the place block form. the user has no way to create a block that is not directly added to the front end.
there are currently two approaches to solve that. to add more control and convenience for a user that created a custom block content entity and KNOWS that a place block config entity has to be created as well #3325167: Revisit the redirect to 'add block' form in the 'add block content' form has with the suggested approach the option to click the save and place button. so no need anymore to save the block content entity go to the block layout page, get to the section the desired block should be added, click the place block button, find the block that was created, set the setting and finally create the custom block config entity.
the other option would be combining the content and config block screens #2738935: Combine Add & Configure Custom Block Screens which entails other problems to solve but that way things might be more clear and apparent to the user as well as less clicks might be need for navigation and configuration in general.
8. fixed - in core you always scroll from top when a block is added and the block in question is highlighted in light green -
same for the admin toolbar workflow. the only detail that might be improved if the section the block is added to is in the visible viewport it might be the better choice not to scroll for accessibility reasons. such a sudden unexpected scrolling might be a challenge as well as a visual and cognitive stress for some people.
9. fixed - in core you always scroll from top when a block is added and the block in question is highlighted in light green -
same for the admin toolbar workflow. the only detail that might be improved if the section the block is added to is in the visible viewport it might be the better choice not to scroll for accessibility reasons. such a sudden unexpected scrolling might be a challenge as well as a visual and cognitive stress for some people.
10. when i click configure in a blocklayout i would have expected also to see the content entity not only the config entity. combining the two as suggested in the linked child issue #2738935: Combine Add & Configure Custom Block Screens might solve that.
11. fixed or no action required in the first place?
12. fixed the edit operation is the only available option in the custom block libraries blocks list now.
13. fixed clicking edit brings you to the block contents edit form in admin and not to the front end anymore. and if you are in the front end and you have quick edit installed you are still able to configure and edit a placed block. the only detail that "might" be worth to consider, until yesterday i wasn't quite aware that blocks have a content entity and a config entity. you have the content block and the place block config form. with quick edit you are able to access each of the two forms, edit redirects you to the block edit form while configure block redirects you to the place block config form. the background is clearer to me now but the microcopy for those two options might be improved?
14. fixed i would consider that fixed? or does it still apply?

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.