Problem/Motivation

The accordion-scripts library in vartheme_bs5.libraries.yml points at js/components/accordion-init.js, which is not in the package. #3583314 moved that file to components/molecules/accordion-container/accordion-container.js and left the library on the old path.

Only the accordion *.stories.twig files attach the library, so live pages are fine, but Storybook gets a 404.

4.1.x does not have this library and is not affected. Horizon Aid and The Rightup do not reference the file either.

Steps to reproduce

  1. Install vartheme_bs5 5.0.11, or the latest dev, on a fresh site.
  2. Open the Accordion block or Accordion container story in Storybook.
  3. See the 404 for js/components/accordion-init.js in the browser console.

Proposed resolution

Point accordion-scripts at components/molecules/accordion-container/accordion-container.js, where the behavior lives now. The library name stays, so anything attaching it keeps working.

Remaining tasks

  • ✅ File an issue
  • ❌ Addition/Change/Update/Fix
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support
  • ➖ User Guide Documentation support
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Reviewed by a human
  • ❌ Code review by maintainers
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes
  • ❌ Release

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rajab natshah created an issue. See original summary.

  • rajab natshah committed f0a84979 on 5.0.x
    fix: #3638411 Point the accordion-scripts library at the accordion...
rajab natshah’s picture

Status: Active » Fixed
Issue tags: +vartheme_bs5-5.0.12

✅ Released in vartheme_bs5 5.0.12

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.