fix: #3627274 Remove the two dead accordion library references

accordion-scripts declared js/components/accordion-init.js, which does not exist, nor does the js/components/ directory. It was the only declared JS in the theme missing on disk, and it was attached twelve times from two story files, so all nine accordion stories requested a 404. Separately accordion-block.component.yml depended on vartheme_bs5_rightup/accordion-styles, which is defined nowhere.

Neither affected behaviour: the components declare bs-collapse-script (which exists) and accordion-container has its own JS, both auto-attached by SDC.

This MR drops the dead library block, the undefined dependency, and the six attach calls in accordion-block.stories.twig. The other six live in accordion-container.stories.twig, which also carries a story-arg fix, so they ride along in the MR for #3627276 rather than splitting one file across two MRs.

Issue: https://www.drupal.org/project/vartheme_bs5_rightup/issues/3627274

Verified afterwards: the libraries file parses with 34 entries, zero declared JS files missing on disk, zero components referencing an undefined theme library.

AI-Generated: Yes

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release
Edited by Rajab Natshah

Merge request reports

Loading
Loading