* add global withFeatureFlags story decorator
* add more examples for insight cards
* Update UI snapshots for `chromium` (2)
* use cached results for all dashboard placements
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Adds a hook in preview.tsx where global storybook mocks could be added
passes the same default mocks that are used in Jest tests into that hook
merges those mocks with any provided by the mswDecorator for a particular story
* storybook form stories
* improve form story
* improve form story
* chore(npm): upgrade typescript
* upgrade kea-forms
* upgrade to new kea-forms with better value/onChange support
* fix feature flags form
* fix few other forms
* update stories
* sort and description
* Put building block component stories under "Lemon UI"
* Use `LemonTable` in `icons` story
* Add Lemon UI overview
* Update `LemonRow` JSDoc
* Fix story titles
* Fix `LemonTable` header height
* Update some stories
* Fix `IconMagnifier` size
* Use `Spinner` in `LemonSwitch` loading state
* Use `Spinner` in `LemonSwitch` and make `LemonRow` mandatory
* Move `LemonTextArea` to "Lemon UI" in Storybook
* Update Lemon UI.stories.mdx
* Fix some buttons
* Refactor `LemonSwitch` a bit and add stories
* Refactor `AlertMessage` a bit and add stories
* Remove old `IconRocket`
* Add `LemonModal` story
* Refactor `LemonCheckbox` stories
* Update Lemon UI.stories.mdx
* Tune styles
* Update `LemonSpacer` (`LemonDivider`) and `LemonRow` disabled state
* Add `Lettermark` and `Splotch`
* Add `LettermarkColor.Default`
* Fix imports
* Update LemonSwitch.stories.tsx
* add tips
* rename newDashboardForm to newDashboardLogic
* don't be tight with words
* remove unused code
Co-authored-by: Michael Matloka <dev@twixes.com>
* thrown an explicit error if can't render react app (shown on the toolbar authorize scene)
* remove reverse logic connection
* upgrade kea, remove deprecated code
* don't permanently auto-connect this logic
* add few direct connections
* remove automatic mount
* fix few extra setState calls
* improve howto create stories
* refactor new dashboard form
* use new form component for flags
* new flag story
* refactor scene stories to use <App />
* add even more default mocks
* fix two bugs
* fix more test issues
* increase the quality of mocked data
* fix new dashboard redirect logic, simplify code even further
* fix test
* update docs
* add storysource
* get source loading to work
* rename DataDisplay to Components, must opt out of code panels
* clean up scene names in code
* default to docs view, start with welcome page, fix more stories
* clean up page names, add howtos
* set view modes
* storybook filters scenes
* event list preview
* rename some stories
* support ctx.f() in mocks
* redo story
* rename some
* all insights card and list views
* wrap LineGraph in an error boundary
* fix charts not loading on storybook
* new trends graphs
* new insight stories
* separate to clean
* rearrange stories
* fix bug in storybook with mock data
* convert to TS, fix static path deprecation
* wrap all scenes with KeaStory, deprecate getReduxState
* remove old text
* don't complain about postcss
* remove ApiSelector, revert to ".js" main
* preview ".ts"
* fix msw
* move kea story
* fix urls
* add /decide handler
* mount logics that are there on app
* reduce boilerplate
* refactor history list storybook api
* separate data