UI: Migrate to Storybook (#6507)
I originally planned to add component documentation, but as this dragged on and I found that JSDoc-to-Markdown sometimes needed hand-tuning, I decided to skip it and focus on replicating what was already present in Freestyle. Adding documentation is a finite task that can be revisited in the future. My goal was to migrate everything from Freestyle with as few changes as possible. Some adaptations that I found necessary: • the DelayedArray and DelayedTruth utilities that delay component rendering until slightly after initial render because without them: ◦ charts were rendering with zero width ◦ the JSON viewer was rendering with empty content • Storybook in Ember renders components in a routerless/controllerless context by default, so some component stories needed changes: ◦ table pagination/sorting stories access to query params, which necessitates some reaching into Ember internals to start routing and dynamically generate a Storybook route/control...
Showing
+187 -879
ui/.env
0 → 100644
ui/.storybook/addons.js
0 → 100644
ui/.storybook/babel.config.js
0 → 100644
ui/.storybook/config.js
0 → 100644
ui/.storybook/preview-head.html
0 → 100644
ui/.storybook/theme.js
0 → 100644
ui/.storybook/webpack.config.js
0 → 100644
Please register or sign in to comment