[2.0.x] Ui Patterns library overview template nested components

Created on 17 April 2024, 2 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

Active

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

Comments & Activities

Production build 0.69.0 2024