Upgrade storybook version & fix accessibility panel

What does this MR do and why?

  • upgrade Storybook to v7 (the highest that still works with Vue 2). I was able to use the auto-migration script, but had to then adjust a couple of things myself.
  • fix runtime errors
  • add storybook:doctor script for easier maintenance in the future

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2025-03-24_at_13.10.39 Screenshot_2025-03-24_at_13.07.11
⚠️ WARNINIG: FLASHING CONTENT Screen_Recording_2025-03-24_at_13.09.39 Screenshot_2025-03-24_at_13.08.22

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Checkout the branch and go to gitlab/storybook
  2. Run yarn install
  3. Run Storybook scripts from package.json and make sure it is possible to build the Storybook and inspect components in the browser. Accessibility tab should not be flickering and should show you the results.

Related to #505768 (closed)

Edited by Paulina Sedlak-Jakubowska

Merge request reports

Loading