Skip to content

Conversation

@Mil4n0r
Copy link
Collaborator

@Mil4n0r Mil4n0r commented Mar 11, 2025

Checklist
(Check off all the items before submitting)

  • Build process is done without errors. All tests pass in the /lib directory.
  • Self-reviewed the code before submitting.
  • Meets accessibility standards.
  • Added/updated documentation to /website as needed.
  • Added/updated tests as needed.

Purpose
Some stories where having problems when executing their preVisit hook in the accessibility test due to defaultViewport: "reset" not being recommended anymore (as of the latest versions of storybook, this setting is the default behavior).

I was planning to add some improvements for viewport sizes using globals in this PR but they are part of storybook 9.0 and they are still in an alpha state, but they can be very interesting in the future, specially if we plan to add themes in storybook now that we are implementing our design tokens.

@GomezIvann GomezIvann merged commit 451fd2c into master Mar 11, 2025
3 of 4 checks passed
@GomezIvann GomezIvann deleted the Mil4n0r/fix_story_context_error branch March 11, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants