- 🇦🇺Australia acbramley
There's been lots of work in this space recently, I think we need an IS update or maybe it's better to close this and create a new meta if there are another bunch of improvements to be made?
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.
I first went to add a custom block type.
#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.
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.
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.
hook_help()
This confusing form is no help, but it is what I need actually.
After I click "Add custom block" I get this entirely different looking page that seems like a separate place:
But it looks like I'm on the right track.
Until I'm thrown into yet another form.
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.
I forgot to set a region so I have to scroll down.
Clicking "configure" takes me to a form but not the one I want.
I back up and try the button I used the last time, even though I don't want to add a new one again.
Same form, but with a new row for my block!
...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.
#2062817: Custom block edit path is incorrect in hook_admin_paths() and the configure path is missing from the .info → should fix this.
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.
Postponed: needs info
11.0 🔥
block_content.module
Makes Drupal easier to use. Preferred over UX, D7UX, etc.
Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
There's been lots of work in this space recently, I think we need an IS update or maybe it's better to close this and create a new meta if there are another bunch of improvements to be made?