Excluded Paragraphs Still Appear in Layout Paragraphs Browser Widget

Created on 29 January 2025, 2 months ago

Problem/Motivation

When configuring Layout Paragraphs, the exclusion settings do not fully apply in the browser widget. While excluded paragraphs are not usable, they still appear in the modal.

Steps to reproduce

  1. Install the layout_paragraphs module.
  2. Navigate to Layout Paragraphs Limit Settings:
  3. /admin/config/content/layout_paragraphs/limit
  4. Select paragraphs to include or exclude.
  5. Edit a page and select a layout where the limit is applied.
  6. Observe that excluded paragraphs still appear in the modal but cannot be used.

Proposed resolution

Ensure that the excluded paragraphs do not appear in the Layout Paragraphs browser widget by adding a validation check.

Remaining tasks

  1. Implement the fix to properly hide excluded paragraphs.
  2. Test to confirm that exclusions apply correctly in the browser widget.

User interface changes

  1. The Layout Paragraphs browser widget should no longer display excluded paragraphs.

API changes

  1. None expected.

Data model changes

  1. None expected.
πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΏπŸ‡¦South Africa ashrafomar Cape Town

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

Comments & Activities

Production build 0.71.5 2024