Create new List component for Umami

Created on 28 September 2023, about 1 year ago
Updated 2 February 2024, 10 months ago

Problem/Motivation

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 #3313520: Single directory components in core.

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 #3352256: [META] Move code from the experimental SDC module to core is not committed.

List component

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

This component is a good fit because we have at 2 lists and may have more.

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

  1. list.component.yml
  2. list.css
  3. list.twig

Testing instructions

  1. Check lists in bottom of recipe page

Feature request
Status

Needs work

Version

11.0 🔥

Component
Umami 

Last updated 19 days ago

Created by

🇷🇸Serbia finnsky

Live updates comments and jobs are added and updated live.
  • Needs frontend framework manager review

    Used to alert the fron-tend framework manager core committer(s) that a front-end focused issue significantly impacts (or has the potential to impact) multiple subsystems or represents a significant change or addition in architecture or public APIs, and their signoff is needed (see the governance policy for more information). If an issue significantly impacts only one subsystem, use Needs subsystem maintainer review instead, and make sure the issue component is set to the correct subsystem.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024