tetarchus / storybook-addon-badges

An addon for Storybook to add badges to stories
https://tetarchus.github.io/storybook-addon-badges/
MIT License
1 stars 0 forks source link

Badges object polluting developer console in Chrome #40

Closed alexlibby closed 2 months ago

alexlibby commented 2 months ago

I've been using your storybook-addon-badges package for a while, and it's working very well in Storybook 8.2.9. However, I have noticed something that has made me a little curious:

If I run up Storybook (using default URL of localhost:6006), and browse from component page to component page, I see a badges object logged to console for each page I visit:

image

It's not causing me any issues and everything is running, but I'm wondering if there is a way to turn it off please, at least until I need it if not permanently? It's polluting the console log area a little too often - it would be great to only have it displayed when needed...

Any thoughts please?

For info - I'm using Chrome, Storybook 8.2.9, and the set up has one custom badge showing on each component page.

tetarchus commented 2 months ago

Apologies, I hadn't merged the latest changes fixing that - v1.0.3 should not pollute the console.

alexlibby commented 2 months ago

You star - thankyou! It works perfectly now :-)