[2.0.x] Keep patterns directory structure when converting them to components

Created on 20 May 2025, 5 months ago

Problem/Motivation

In 1.x we could organize our patterns in subdirectories. When converting them to components using the drush script, this structure is lost. On projects with a lot of patterns/components, it can be very tedious to reorganize them all.

Steps to reproduce

  1. Create a pattern in a subdirectory of templates/patterns (eg: templates/patterns/atoms)
  2. Run the drush script

Expected: the component is created in an "atom" directory
Current: the component is created in the "components" directory directly

Proposed resolution

Keep the directory structure when creating components.

🐛 Bug report
Status

Active

Version

2.0

Component

UI Patterns Library

Created by

🇫🇷France duaelfr Montpellier, France

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