Problem/Motivation

This is a followup issue for #1535868: Convert all blocks into plugins.

  • On admin/structure/block, the purpose of the "Block library" local action link is unclear and does not make sense out of context (for translation, accessibility, etc.)
  • "Block Library" is the label provided for BlockPluginUI in its annotation, and the PluginUI API apparently provides this local action automatically.

Proposed resolution

  • Change the link text to "Add block".
  • Decide if the annotation label should be changed directly, or if the link should be altered, or if the way the link is added by the plugin UI should be changed in general.

Remaining tasks

Related issues

CommentFileSizeAuthor
#4 block-label-1874584-4.patch642 byteskim.pepper
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xjm’s picture

Status: Postponed » Active
Bojhan’s picture

Assigned: Unassigned » Bojhan

Makin patch

xjm’s picture

Issue tags: +Block plugins
kim.pepper’s picture

Assigned: Bojhan » kim.pepper
Status: Active » Needs review
FileSize
642 bytes

I've attached a simple patch that renames the title from "Block Library" to "Add block".

Bojhan’s picture

Status: Needs review » Reviewed & tested by the community

Sorry, somehow this fell of my radar. RTBC

Dries’s picture

Do we want to leave the other references to 'library' in the UI/URLs?

droplet’s picture

Add Block is unclear. First glance at the page, I'd think "Add Block" == "Add Custom Block"

Bojhan’s picture

@droplet from my pov, is that simply a legacy thing. I dont think many new users will be confused, nor would it be a big hump for exciting users and its more consistent with local actions in general.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Yes, please.

I clicked around and didn't notice any other references to the term "block library," so I think we're good there.

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

YesCT’s picture

while discussing my clock confusion in irc, the concept of a block library was helpful.
Not having the button named library and having the 'Add block' button is good.
But
#1956362: Name the page that lists block plugins, now: Blocks and Add Blocks, better: Block Library
considers what to name the page that the 'Add block' button leads to.

xjm’s picture

xjm’s picture

Issue summary: View changes

Updated issue summary.