Problem/Motivation

Based on this thread in Drupal Slack I have noticed that it might be hard for new people to figure out how to add content into empty slots.

It's not really intuitive to have the content for slots in Libraries → Blocks.

Proposed resolution

I think there are few things we could consider:

  1. Make Blocks a View island instead of a Library island so it can live in the sidebar buttons so people can easily find this
  2. Rename Blocks which sounds like Drupal blocks into just Content which can be a mixed set of available things (fields, blocks, other widgets)
  3. Rename Libraries to Components to clearly indicate that people can find their SDCs there – I think even if we show Presets in there this could still live under the name of Components

User interface changes

  • Blocks will be called Content to avoid confusion
  • Content tab will be moved out into its own sidebar button
  • Libraries will be renamed to Components

We could use the puzzle icon for Components so they don't need to share the same icon like this:

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

yannickoo created an issue. See original summary.

yannickoo’s picture

Issue summary: View changes
pdureau’s picture

Rename Blocks which sounds like Drupal blocks into just Content which can be a mixed set of available things (fields, blocks, other widgets)

Careful about "content" wording, we already have a plan to allow editing content from Display Builder: #3529245: Add "content edit" panel

Make Blocks a View island instead of a Library island so it can live in the sidebar buttons so people can easily find this

Instead of playing with the type of islands (View, Library...), I would propose to add a setting in LibrariesPanel with

But the most important is to keep the implementation simple and solid, so if this proposal make a mess, let's explore an other way.

nickolaj made their first commit to this issue’s fork.

nickolaj’s picture

Status: Active » Needs review

Renames "Libraries" to "Components" and "Blocks" to "Content" for clearer UI terminology that better reflects the actual functionality.

pdureau’s picture

Status: Needs review » Needs work

Hi @nickolaj, thanks for your contribution.

I am afraid the change proposed here is not the expected one:

  • as I said, let's be careful with using "Content" as a panel name. It may be confusing.
  • the "real" proposed change is a direct access to libraries panels from the sidebar buttons "so people can easily find this"