[2.0.0-beta2] Ui Patterns library overview template nested components

Created on 17 April 2024, 8 months ago
Updated 9 September 2024, 3 months ago

Problem/Motivation

If i use the default ui-patterns-overview-page template shipped with the module Ui Patterns Library, the markup is broken : each new component is rendered inside the previous one.

Steps to reproduce

  • Create a least 2 components
  • Access to the /patterns overview page
  • Your second component markup is nested inside the first one

Proposed resolution

Just close the div of each component wrapper in the ui-patterns-overview-page template.

Remaining tasks

Fix the ui-patterns-overview-page template.

Suggestion

According to me, the overview page could be simpler to be used as a system of columns : one column for the quick links and the other one for the components.
Could we add some wrappers to make it easier by default ? Or should it be the job of the theme to override the overview template ?

📌 Task
Status

Fixed

Version

2.0

Component

UI Patterns Library

Created by

🇫🇷France herve

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024