Introduce Single Directory Components

Created on 12 April 2023, over 1 year ago
Updated 16 May 2023, over 1 year ago

Problem/Motivation

Following the recent requested changes in Drupal core around theming with single directory components, we are creating a new branch with the intention of implementing this structure. There are numerous tickets in core related to this but we are mostly following this issue: https://www.drupal.org/project/drupal/issues/3313520 ✨ Single directory components in core Active

Proposed resolution

Initial attempt at implementing this will be utilizing the SDC module as we figure out what the transition possibly away from the Components! module will be. After additional discussion we are refocusing to support the SDC components module as that is closer inline to what is being ported into Drupal Core.

View SDC Module here: https://www.drupal.org/project/sdc β†’

✨ Feature request
Status

Fixed

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jldust

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

Comments & Activities

  • Issue created by @jldust
  • First commit to issue fork.
  • @b-ry opened merge request.
  • πŸ‡ΊπŸ‡ΈUnited States b-ry

    @pixelwhip @brentrobbins Please take a look at this initial pass at getting single directory components integrated into Prototype. Please let me know there are any issues. Here is the Merge request

  • Status changed to Needs review over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States jldust

    Thanks so much for getting this started! After some additional discussion I've gone ahead and switched the 5.x branch to support the SDC components module as that is closer inline to what is being ported into Drupal Core. This needs additional review prior to the initial release of the 5.x-alpha branch.

  • πŸ‡ΊπŸ‡ΈUnited States jldust
  • πŸ‡ΊπŸ‡ΈUnited States b-ry

    Right on! Looks good to me.

  • Status changed to RTBC over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States jldust

    Documenting conversations for visibility:

    We will be creating a 5.0.x tag supporting SDC on D9 & then add a 5.1.x that supports D10, the only difference between these branches will be the difference of supported SDC & Core versions.

    This will allow D9 sites that are not yet ready to move to D10 utilize SDC, however after November the 5.0.x branch will no longer be supported.

    Thanks all for helping dig into the code and for your feedback!

  • Status changed to Fixed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States jldust
  • Status changed to Fixed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States jldust

    The new initial 5.x branches have been released.

Production build 0.71.5 2024