A critical usability issue with Drupal 8 block UI arose in the process of building the new Drupal.com. The site builder, a drupalist with many years of experience working with Drupal 5, 6, and 7 created a custom block and then could not figure out where to go to edit it. She hunted around in th UI for more than half an hour (!) before finally giving up and coming to me for help.
Before just giving her the answer I asked her to walk through her process. Here is what she did.
- Opened structure
- Opened block layout
- Clicked "Create custom block"
- Built a new custom block (hand coded HTML)
- Saved the block, placed in a region with visibility settings for a specific page
- Later returned to block layout and found the block
- Clicked "configure"
- Saw no option to edit the HTML she had entered
- Started hunting around for where to do this
- Did not look in "custom block library" because that did not "seem like a place to edit things"
A simple solution would be to add to the drop-button: "edit original, edit parent" or some other text that indicates to the user both "go here to edit the content" and "this will bring you to the "parent" of this item".
Later on save we can say ""The content will be changed for all instances of this block not just [block instance name]."
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | Selection_001.png | 57.36 KB | raj45 |
Comments
Comment #1
larowlanContextual links are an option here too, which were once working
Comment #2
dawehnerOne small step would be to start moving the custom block paths under admin/structure/block, so for example have admin/structure/block/custom/add , just as idea. This is where I looked at, first time I saw that issue.
I don't see how this would block the release, Drupal is not totally impossible to use:
Corrected the issue metadata
Comment #3
tkoleary commentedChanged to Major
Comment #4
dawehner@tkoleary
I didn't wanted to sound harsh earlier, I think this discoverability issues are a huge deal, even for power users.
There used to be an issue which solved the problem for multiple various blocks (#1956134: Provide helpful editing links on "admin/structure/block" for deriver blocks (menu, views, block content, etc.)):
your proposed solution in the patch sounds perfect! On top of that the configure block form could
also link to the corresponding edit form. There is a similar approach for that in the views block already.
Comment #5
larowlan+1 to the 'provide helpful editing links issue'
Comment #6
larowlanblocked on #1956134: Provide helpful editing links on "admin/structure/block" for deriver blocks (menu, views, block content, etc.)
Comment #7
larowlanComment #8
larowlanComment #9
askibinski commentedrelated: #1164718: Improving the usability between "custom block" and "content"
Comment #10
larowlanComment #11
webchickComment #12
raj45 commentedUnder "Structure" > "Block layout", you can only edit a block's Title, Visibility and Region under "Configure block", so the only apparent access to editing the Body-field of a custom block is the quick-edit links, when viewing a page, by clicking on the pencil-icon and selecting "Edit".
I suppose it isn't possible to include the Body-field of a custom block at the top if you click on "Configure" on the "Block Layout", since that would be the most user-friendly?
A possible solution would be to add an "Edit"-link along with the "Configure block". See the image:
Comment #13
tkoleary commented@raj45
+1 to adding "edit" link
Comment #14
rootworkThis issue says it's blocked on #1956134: Provide helpful editing links on "admin/structure/block" for deriver blocks (menu, views, block content, etc.), but there hasn't been any activity on that issue since September. Is that still really true? Is this something we could do on its own if there's no longer motivation to address that larger issue?
Comment #16
tkoleary commented@rootwork
IMO this is still an important usability issue. We have added contextual links to these blocks on the front end (quickedit and edit custom block, edit menu, edit view etc.). I see no reason why we should not just match those exactly in the place block UI.
Comment #17
rootwork@tkoleary I agree, and I guess I'm confused why this is being blocked by another issue where there is no work being done on it. It seems like we could still do things here.
Comment #18
webchickYeah, I don't quite understand that either. Back to active unless a bit more rationale could be provided.
Comment #19
larowlan#1956134: Provide helpful editing links on "admin/structure/block" for deriver blocks (menu, views, block content, etc.) provides this
including an edit link for block content - i.e what is proposed in #12
This issue is a 'once off' fix for just block content, that one is a fix for menus, views and other blocks too.
I think we should be focused on the other one.
In fact I don't think this one should be postponed on it, I think it should be closed as a duplicate (my 2c).
There is no code or patches here, there are several over there.
Thoughts?
Comment #27
danchadwick commentedAdditional data point. Been a drupal developer since d6. I couldn't find the link (unless google found this issue). Also, very disappointed that custom blocks aren't config and can't be deployed as such.
Comment #28
skaughthave added Drupal9 tag to 1956134. give it attention.
Comment #34
smustgrave commentedAfter reading https://www.drupal.org/project/drupal/issues/1956134 and this I agree with @larowlan that this a duplicate and all effort should be applied to https://www.drupal.org/project/drupal/issues/1956134
If anyone disagrees please open with a justification.
Thanks!