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
I'm finding myself discovering errors or changes I'd like to make to geoprocessing function results after reviewing them in Storybook. Re-running the tests and generating new example results does not appear to update the storybook output, either via hot-reload or a manual refresh. I'm having to restart Storybook entirely.
The text was updated successfully, but these errors were encountered:
This is a known issue (to me anyway) with storybook losing it's storiesOf functionality in the latest version 8. Their proposed methods for migrating (using the indexer) felt too low-level and undocumented for me to figure out 6 months ago. I figured the community would come up with a higher-level solution.
So I punted (for now) and created genReportStories script as a user-space solution, which has the downsides you mention. You have to regenerate the stories manually on storybook startup. Maybe there's a way to trigger the regeneration in user-space outside of storybook, or maybe there's a solution out there now that better hooks into storybook.
I used the latest version 8 of storybook because it gave the needed Vite support as the builder, and best shot of working out of the box in an esm node environment.
I'm finding myself discovering errors or changes I'd like to make to geoprocessing function results after reviewing them in Storybook. Re-running the tests and generating new example results does not appear to update the storybook output, either via hot-reload or a manual refresh. I'm having to restart Storybook entirely.
The text was updated successfully, but these errors were encountered: