Source library panels: from allowed to excluded providers

Created on 11 August 2025, 2 days ago

Problem/Motivation

This is a proposal from @just_like_good_vibes

in ComponentLibraryPanel and BlockLibraryPanel, we have providers configuration which is an allowed list (sometimes called "whitelist"): a provider need to be checked to be allowed.

When a DisplayBuilder profile config entity is created, there are some specific rules (which are OK):

  • for ComponentLibraryPanel: all active providers are allowed by default, except the themes activated but not really "active" by default, and except the one sfrom ComponentLibraryPanel::PROVIDER_EXCLUDE
  • for BlockLibraryPanel: all providers are modules, all active modules are allowed by default except the one from BlockLibraryPanel::PROVIDER_EXCLUDE

However, after a DisplayBuilder profile config entity is created, when we activate new themes and modules to the project, we need to go back the config entity and add the providers manually by checking the checkbox.

Proposed resolution

Reverse the list logic, check the boxes to exclude instead of to allow. So, new providers will be automatically added.

But first, let's discuss together before .

📌 Task
Status

Active

Version

1.0

Component

UI/UX/Islands

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024