You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Storybook has been updated to storybook 8 in this PR. Our stories are outdated, as the ComponentStory is not supported anymore. That's why we have to migrate all our stories.
Closes#675
Since in the newest storybook version ComponentStory is not available
anymore, it had to be deleted.
Now all stories use a Meta Object, which gives an outline for the
stories.
There are also no templates anymore, but a StoryObj, from which stories
can be created.
See reference
[https://storybook.js.org/docs/writing-stories#using-args](here)
To fix eslint errors, following lines were added:
`// eslint-disable-next-line react-hooks/rules-of-hooks`
Directory structure of stories was also changed.
![image](https://github.com/user-attachments/assets/7caacb81-73a4-40d1-8973-3f2e0d2dcb2e)
Short description
Storybook has been updated to storybook 8 in this PR. Our stories are outdated, as the ComponentStory is not supported anymore. That's why we have to migrate all our stories.
Resources
Steps
Structure
The text was updated successfully, but these errors were encountered: