Marius Andra
8075e42879
chore(storybook): upgrade storybook to 7.3 ( #17078 )
...
* feat(kea): typegen path cleanup and delete unused files
* bump
* 3.2.2
* typegen upgrade to 3.3.0
* storybook 7.3
* upgrade storybook to 7.3
* try using #storybook-root instead of #root
* try using #storybook-root instead of #root (2)
* try using #storybook-root instead of #root (3)
* try using #storybook-root instead of #root (4)
* switch out argTypes.defaultValue with args
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
---------
Co-authored-by: Thomas Obermüller <thomas.obermueller@gmail.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-21 09:32:49 +02:00
Michael Matloka
adbffe3584
test(vrt): Disable Firefox snapshots ( #15846 )
2023-06-01 14:33:21 +00:00
Michael Matloka
5bdfb4ac6d
fix(icons): Restore Redeem icon ( #15694 )
...
* fix(icons): Restore `Redeem` icon
* Snapshot all the icons
2023-05-24 12:49:53 +00:00
Ben White
33113b0494
feat: Improved Notebooks UX ( #15561 )
2023-05-24 12:44:57 +02:00
Michael Matloka
a94a9901d9
fix(taxonomic-filter): Show definition popovers again ( #15598 )
2023-05-22 09:15:17 +02:00
Michael Matloka
348aee94ce
feat(3000): Update project homepage ( #14746 )
...
* Fix "Ctrl" and "Alt" display in `KeyboardShortcut
* Update colors for a less tan light theme
* Add styles for primary and secondary 3000 buttons
* Add Breadcrumbs 3000
* Revert button padding fix
Extracted out into #14750 .
* Update UI snapshots for `chromium` (1)
* Restore command palette
* Hide superfluous elements from 3000 homepage
* Restyle all buttons for PostHog 3000 without custom `status`
* Update UI snapshots for `chromium` (1)
* Use "keyboard shortcut" rather than "hotkey" consistently
* Fix current place breadcrumb being translucent
* Use 3000 style more for buttons and popovers
* Fix exporter visual regression
* Update UI snapshots for `chromium` (1)
* Fix typing
* Remove divider
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Increase UI snapshot failure threshold to avoid tab flakiness
* Add some code comments
* Improve buttons styling
* Update UI snapshots for `chromium` (1)
* Tune padding better
* Update UI snapshots for `chromium` (1)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-17 13:26:57 +01:00
Michael Matloka
ab6f079be7
test(frontend): Tune visual regression test failure threshold ( #14766 )
...
* Don't take snapshots of the feedback scene
Also fixes some typing.
* Change approach to loading Gravatars to avoid flakiness
* Reduce SSIM failure threshold and use more accurate algorithm
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `firefox` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* Increase failure threshold a bit
* Go back to bezkrovny
Looks like `fast` is causing some inexplicable errors.
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `firefox` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-16 16:05:07 +01:00
Michael Matloka
666766429c
test(frontend): Eliminate flakiness of snapshots with charts ( #14590 )
...
* Retry pixel data check approach to canvas snapshots
* Increase canvas timeout
* Always make canvases blank
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* Update snapshots but only clear canvas explicitly
* Update UI snapshots for `chromium` (1)
* Revert "feat(dev): warn about recursive data structures in kea actions (#14573 )"
This reverts commit 77d5cf7b08
.
* Update UI snapshots
* Increase memory limit
* Don't wait between clearing canvases and taking snapshot
* Update UI snapshots for `chromium` (1)
* Try an in-app approach to chart blanking
* Update UI snapshots for `firefox` (2)
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-08 18:06:32 +01:00
Michael Matloka
631ba8c946
test(frontend): Improve reliability of visual regression tests ( #14422 )
...
* test(frontend): Ensure 100% reliability of visual regression tests
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Use OptiPNG in CI
* Update UI snapshots for `chromium` (1)
* Don't rely on pre-commit hook for image compression
* Allow waiting for selector instead of constant delay
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `webkit` (2)
* Add extra insight rendering conditions
* Set strict timeouts for visual regression test jobs
* Optimize OptiPNG step
* Fix histogram selector
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Ensure non-blank canvas
* Fix blank canvas detection and auto-detect `waitForLoadersToDisappear`
* Use `Spinner` for loading state in `MonacoEditor`
* Make timeout limits less strict
* Update UI snapshots for `chromium` (2)
* Improve blank canvas detection further
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (2)
* Tune selectors
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Try a different way of ensuring graphs are rendered
* Update UI snapshots for `webkit` (2)
* Increase `waitForLoadersToDisappear` initial UI wait
* Update UI snapshots for `webkit` (2)
* Make it easier to see what file wasn't pushed
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* Fix `timeout-minutes`
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* Add extra wait for canvases
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-02 21:11:03 +00:00
Michael Matloka
1c2d74fe8b
test(frontend): Automatically update UI snapshots in CI ( #14391 )
...
* Update UI snapshots with comment instead of failing on change
* Make a few stories more reliable
* Remove unused snapshots in CI
* Update query snapshots
* Update `webkit` UI snapshots
* Update `chromium` UI snapshots
* Update `firefox` UI snapshots
* Shard visual regression tests
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `webkit` (2)
* Fix remaining issues
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* Improve reliability of insights snapshots
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Improve reliability of login/signup snapshots
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update .github/workflows/storybook-chromatic.yml
Co-authored-by: Thomas Obermüller <thomas.obermueller@gmail.com>
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Thomas Obermüller <thomas.obermueller@gmail.com>
2023-02-24 19:33:39 +00:00
Michael Matloka
2f36cfff7c
refactor(frontend): Replace Tabs
with LemonTabs
(1/2) ( #14191 )
2023-02-13 17:13:07 +01:00
Michael Matloka
0ae6902c4a
test(frontend): Optionally track snapshots for Firefox and Safari ( #14175 )
2023-02-10 12:50:43 +01:00
Michael Matloka
406b6d9357
test(frontend): Cover practically all the Storybook tests with snapshots ( #14001 )
2023-02-03 13:06:21 +01:00
Michael Matloka
489edd1cc0
test(frontend): Test more Storybook stories automatically ( #13947 )
2023-01-30 19:30:18 +01:00
Michael Matloka
adacf8ffb4
test(frontend): Automatically test Storybook stories with snapshots ( #13839 )
2023-01-27 15:51:35 +01:00