* feat(pipeline-ui): Display spark graph in destinations table
* Sync lint-staged paths with CI
Otherwise couldn't even merge with master due to `bin/build-schema.mjs` being linted in the pre-commit hook despite not being included by `tsconfig.json`. CI didn't notice this because it never ran on that file - so we shouldn't run on it locally either.
* Fix `pipelineAppMetricsLogic`
* Generalize `Sparkline`
* run prettier
* Mock metrics in all stories
* Speed Storybook up slightly
* Update UI snapshots for `chromium` (1)
---------
Co-authored-by: Michael Matloka <michal@matloka.com>
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: Michael Matloka <dev@twixes.com>
* Remove dark mode `KeyboardShortcut` color hack
* Ensure that top bar is always compact at bottom of scene
* Remove top bar renaming from Notebooks
* Refactor the experiment scene to use `PageHeader` properly
* Improve `EditableField` sizing
* Add top bar renaming to actions and playlists
* Sort KeyboardShortcut.scss
* Fix missing warehouse mocks and strictly prevent toasts
* Fix CompactList divider width
* Fix missing early return
* Fix random typos
* Fix casing of buttons
* Reorder definition view top bar buttons
* Update Cypress test
* Fix typo
Co-authored-by: David Newell <d.newell1@outlook.com>
* Update casing in E2E test too
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
---------
Co-authored-by: David Newell <d.newell1@outlook.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Disable double-tap-to-zoom in our app
* Add prominent scene title to breadcrumbs
* Render page-level actions next to breadcrumbs
* Fix overflow occasionally caused by `InsightTooltip`
* Fix word wrap
* Make spacing more relaxed
* Keep breadcrumb highlighted when popover active
* Resolve cyclic import
* Tune top bar sizing
* Fix import problem
* Fix a couple more issues in stories
* Update UI snapshots for `chromium` (1)
* Wait for loaders more reliably
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* test: Regular checkup of visual regression tests
* Fix billing gauge animation
Animations done in JS can't be stopped automatically by the Storybook test runner. CSS animations can, easily, and they are anyway the cleaner and more performant way of achieving the same here.
* Rename misleading feature flag `recentInsights` to `relatedInsights`
* Mock homepage endpoints to avoid error toasts
* Wait for the recordings list in the notebook node story
* Fix `featureFlagLogic`
* Wait for `.NotebookNode__content`
* Try to optimize
* Screenshot failures and upload as artifacts
* Fix remaining failures
* Increase timeouts
* Fix rendering of Survey stories
* Remove `clang-format`
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Fix alignment of series name in insights details
* Try to fix experiment story flakiness
* Include toasts in loaders
* Fix superfluous toast
* Fix un-awaited breakpoints
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* Make login snapshots slightly stabler
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Skip incorrect Surveys story
* Update UI snapshots for `chromium` (2)
* Revert msw upgrade
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* chore: make visual regression less sensitive to differences
* Update UI snapshots for `chromium` (1)
* git diff only after optipng has run
* git diff only after optipng has run
* Update UI snapshots for `chromium` (1)
* Update .storybook/test-runner.ts
* text
* no need to run lint staged... we've already run optipng
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* chore: report when falling back
* Update UI snapshots for `chromium` (2)
* wait for recordings to buffer in snapshots
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Remove redundant Playwright specs
* Increase tolerance in Playwright
* Wait for profile pictures to resolve
* Ensure scene is loaded before proceeding
* Always wait for loaders to disappear
* Disable Gravatars in snapshots
* Don't wait for loaders in more stories with loaders
* Improve resiliency of batch export story
* Fix one more loading story
* Unskip Playwright tests
* Improve inconsistencies
* Upgrade Playwright from 1.29.2 to 1.37.1
* Wait for images to load
* Unify code editors
* Properly wait for images to load
* Go back to Playwright 1.29.2
* Wait for loader selector in LemonTable stories
* 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>
* 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>
* 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>
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
* chore: use pnpm to manage dependencies
* Fix CI errors
* Don't report Docker image size for external PRs
* Fix pnpm-lock.yaml formatting
* Fix module versions
* Ignore pnpm-lock.yaml
* Upgrade Cypress action for pnpm support
* Set up node and pnpm before Cypress
* Fix typescript issues
* Include patches directory in Dockerfile
* Fix Jest tests in CI
* Update lockfile
* Update lockfile
* Clean up Dockerfile
* Update pnpm-lock.yaml to reflect current package.json files
* remove yarn-error.log from .gitignore
* formatting
* update data exploration readme
* type jest.config.ts
* fix @react-hook issues for jest
* fix react-syntax-highlighter issues for jest
* fix jest issues from query-selector-shadow-dom
* fix transform ignore patterns and undo previous fixes
* add missing storybook peer dependencies
* fix nullish coalescing operator for storybook
* reorder storybook plugins
* update editor-update-tsd warning to new npm script
* use legacy ssl for chromatic / node 18 compatibility
* use pnpm for visual regression testing workflow
* use node 16 for chromatic
* add @babel/plugin-proposal-nullish-coalescing-operator as direct dependency
* try fix for plugin-server
* cleanup
* fix comment and warning
* update more comments
* update playwright dockerfile
* update plugin source types
* conditional image size reporting
* revert react-native instructions
* less restrictive pnpm verions
* use ref component name in line with style guide
Co-authored-by: Jacob Gillespie <jacobwgillespie@gmail.com>