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
- Install vartheme_bs5 5.0.11, or the latest dev, on a fresh site.
- Open the Accordion block or Accordion container story in Storybook.
- See the 404 for
js/components/accordion-init.jsin 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
Issue fork vartheme_bs5-3638411
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
Comment #4
rajab natshah✅ Released in vartheme_bs5 5.0.12