etchteam / storybook-addon-marker

A Storybook Addon to add a Marker.io feedback button in Storybook
MIT License
2 stars 0 forks source link

Fix screenshot rendering without styles #19

Closed DanWebb closed 1 week ago

DanWebb commented 1 week ago

Adds a decorator which loads marker inside the preview instead of the manager, then a channel is used to communicate the feedback button click event to the marker SDK.

When marker gets loaded inside the preview it can load the story screenshot correctly and has the added benefit of removing the storybook UI from the screenshot.

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

DanWebb commented 1 week ago

:tada: This PR is included in version 4.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: