Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Default Compound install adds Tabs template but not the Tabs component #54

@mark-casias

Description

@mark-casias

Expected Behavior

When you install compound without any additional components, and enable the theme, we should still be able to see the site with out error.

Current Behavior

White screen of death because Drupal can not find the @molecules/tabs/tabs.twig referenced by themes/custom/${themename}/templates/navigation/menu-local-tasks.html.twig

mitigated by installing the component manually.

Possible Solution

Option 1: Install tabs component by default.
Option 2: rename menu-local-tasks.html.twig to menu-local-tasks.html.twig.example with instructions on how to enable once tabs component is added.
Option 3: Install template file with component?

Steps to Reproduce (for bugs)

  1. Install Compound
  2. Build (or Develop)
  3. Enable Theme
  4. Able to open themed page
  5. WSOD

Context

WSOD when giving an example training was very off putting (then again I probably should

Your Environment

  • Version used: Compound 1.5.0
  • Browser Name and version:All
  • Operating System and version (desktop or mobile):OS X Monterey with DDev.
  • Link to your project:N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions