0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 00:47:50 +01:00
Commit Graph

123 Commits

Author SHA1 Message Date
Marius Andra
c9ab01390a
fix(frontend): popover scrollbar css (#14519)
* fix(frontend): popover scrollbar css

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Fix regression

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Matloka <dev@twixes.com>
2023-03-07 16:56:17 +00:00
Thomas Obermüller
9df79ffb0c
fix(vrt): add mock date for dashboard snapshots (#14113) 2023-02-07 18:48:41 +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
Thomas Obermüller
f2bb78a27b
fix(storybook): don't use esbuild for storybook (#13883) 2023-01-23 23:46:29 +01:00
Thomas Obermüller
5a270da491
fix(vrt): temporarily deactivate insight tests (#13882) 2023-01-23 22:06:41 +01:00
Michael Matloka
d4c0631c96
test(persons-modal): Update persons modal snapshots (#13824) 2023-01-20 08:39:27 +00:00
Michael Matloka
3899ebca07
style(navigation): Fix sidebar overlay height and backdrop (#13764) 2023-01-18 13:52:30 +01:00
Michael Matloka
0ab64a0d77
style: Replace Ant icons with Lemon ones (#13738) 2023-01-17 14:57:38 +01:00
Paul D'Ambra
1783bfc96a
chore: show query id in insight error screens (#13735)
* chore: show query id in insight error screens

* fixes and one vrt update

* Polish up query ID presentation

* reorg and refactor

* without changing meaning of maybeShowX

* skip test that doesn't work

* update all the places that care about if insight is errored or timedout

* allow style on insightviz

Co-authored-by: Michael Matloka <dev@twixes.com>
2023-01-17 07:48:43 +00:00
Michael Matloka
2599ee2190
refactor(dashboards): Remove Ant icons from dashboards list (#13691)
* refactor(dashboards): Remove Ant icons from dashboards list

* Fix Storybook request mocking with decorator

* Add visual regression test

* Actually fix request mocking
2023-01-13 16:50:26 +01:00
Michael Matloka
c23809cbee
feat(lemon-ui): Add disabledReason as clear alternative for disabled (#13690)
* feat(lemon-ui): Add `disabledReason` as clear alternative for `disabled`

* Update Lemon-Button-displays-correctly-1-chromium-linux.png
2023-01-13 13:42:19 +01:00
Thomas Obermüller
45d103a1de
fix(e2e-vrt): update reference images (#13685) 2023-01-12 16:40:01 +00:00
Thomas Obermüller
03fa4a1777
fix(e2e-vrt): update reference images and add commit sha to storybook build (#13676)
* fix insight layout changes

* fix properties timeline for no properties

* fix docs

* use sha in storybook repo commit message
2023-01-12 15:01:49 +01:00
Michael Matloka
08c41aa468
chore(properties-timeline): Hide seekbar in no key properties case (#13597) 2023-01-09 16:44:30 +01:00
Michael Matloka
026b655edd
feat(properties-timeline): Highlight relevant properties (#13472)
* feat(properties-timeline): Highlight relevant properties

* Update snapshots

* Fix data shape bug

* Improve UX of timeline and forbid if persons-on-events off

* Change modal wording a bit

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-03 12:12:45 +01:00
Michael Matloka
48ec8b3b2a
feat(persons-modal): Show person properties timeline (#13442)
* feat(persons-modal): Show person properties timeline

* feat(lemon-ui): Add `active` state to `LemonBadge`

* Improve snapshot boundaries

* Fix `RawPropertiesTimelinePoint` import

* Add visual regression tests for persons modal

* Add loading spinner

* Delete PropertiesTimeline.tsx

* Clarify tooltips

* Delete index.tsx

* Make tooltips respond faster

* Give points more breathing room

* Add crowded points to timeline stories

* Add `propertiesTimelineFilterFromUrl` test

* Improve badge positioning

* Clarify tooltip more
2022-12-22 15:10:23 +01:00
Michael Matloka
bd1198f21d
feat(lemon-ui): Add active state to LemonBadge (#13455)
* feat(lemon-ui): Add `active` state to `LemonBadge`

* Improve snapshot boundaries
2022-12-22 13:29:05 +01:00
Paul D'Ambra
42f0f06b4a
fix(activity-log): Show extended descriptions again (#13415)
* fix: show or hide extended description

* Add a bit of margin

* Handle unsupported insights (retention)

* Instrument ActivityLog visual regression testing

* Remove "Persons Activity" screenshotting

* Return mock activity logs immediately

Co-authored-by: Michael Matloka <dev@twixes.com>
2022-12-20 18:24:53 +00:00
Thomas Obermüller
c15357e3fc
docs(playwright): replace yarn with pnpm in readme (#13278)
* docs(playwright): replace yarn with pnpm in readme

* use quotes for url

* replace for plugin-server
2022-12-13 10:03:50 +01:00
Thomas Obermüller
4a30e78b22
chore: use pnpm to manage dependencies (closes #12635) (#13190)
* 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>
2022-12-12 10:28:06 +01:00
Thomas Obermüller
e5636cd211
fix(vrt): disable flaky user paths test (#13185)
* fix(vrt): disable flaky user paths test

* allow max diff pixel ratio 0.01

* use test.skip instead of commenting out, and explain[C
2022-12-08 11:38:27 +01:00
Thomas Obermüller
ad1303a0fb
test(e2e-vrt): add playwright visual regression testing for storybook (#13065) 2022-12-07 11:40:56 +01:00