[META] Create Single Directory Components for the Umami theme

Created on 4 June 2023, over 1 year ago
Updated 18 June 2024, 5 months ago

Problem/Motivation

As part of our roadmap to stable ( 🌱 Single Directory Components module roadmap: the path to beta and stable Active ), we want to include some Single Directory Components into Drupal core's front-end facing themes.

Let's have this issue to track all the efforts in this direction. Ideally, we'll have one issue per attempted component linked as a children to this one.

Instructions

  1. Create a new issue for Drupal core β†’ with the title: Create new SDC component for Umami (name). Make sure to change name to the actual component's name.
  2. Paste the Component Issue Template, and fill in the specifics about the chosen component.
  3. Add the SDC Sprint DrupalConNA 2023 tag to the issue, if you are creating it during DrupalConNA 2023.
  4. Add the newly create issue as a child of this issue. And leave a comment here.

Component Issue Template

<h3 id="summary-problem-motivation">Problem/Motivation</h3>
Single directory components (SDC) is a new way to theme Drupal. Instead of scattering related files around your theme, they're contained to one directory. The primary issue for SDC is at 
            
              
              
              ✨
              Single directory components in core
                Active
              
            .

The Demo Umami team has decided that their theme can depend on an experimental module like SDC. This allows us to have the work in this ticket merged even when 
            
              
              
              πŸ“Œ
              Move code from the experimental SDC module to core
                Fixed
              
             is not committed.

<h4><em>Name</em> component</h4>

As part of SDC's roadmap (see 
            
              
              
              🌱
              Single Directory Components module roadmap: the path to beta and stable
                Active
              
            ), we want to convert Umami components to use SDC. For this task I'm choosing the <em>Name</em> component, which includes markup, CSS, and JS.

This component is a good fit because: <em>enter details</em>

This component involves the following Twig templates, CSS, JS, assets, and libraries:

<ol>
  <li><em>List involved files and systems here</em></li>
</ol>

<h3>Testing instructions</h3>

<ol>
  <li><em>Add testing instructions here.</em></li>
  <li><em>Point out any automated tests that cover this component's refactor.</em></li>
</ol>
🌱 Plan
Status

Active

Version

11.0 πŸ”₯

Component
single-directory componentsΒ  β†’

Last updated 2 days ago

Created by

e0ipso Can Picafort

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024