0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-21 13:39:22 +01:00
Commit Graph

972 Commits

Author SHA1 Message Date
PostHog Bot
67a27595a6
chore(deps): Update posthog-js to 1.116.6 (#21126) 2024-03-25 05:53:56 -04:00
PostHog Bot
bc7770cd52
chore(deps): Update posthog-js to 1.116.5 (#21118) 2024-03-23 15:29:37 -04:00
PostHog Bot
3a995a5f9e
chore(deps): Update posthog-js to 1.116.4 (#21098) 2024-03-22 07:11:01 -04:00
Marius Andra
fa5a1d6102
feat(insights): string breakdowns (#21023) 2024-03-21 23:55:28 +01:00
PostHog Bot
bfe46620b4
chore(deps): Update posthog-js to 1.116.3 (#21047) 2024-03-20 11:00:36 -04:00
David Newell
dbee1bba58
chore: new icons preview (#20957) 2024-03-19 15:35:17 +00:00
Cory Watilo
c8545b9692
feat(3000): help & support panel (#20710)
* html for new support pane

* add algolia search component

* polish

* docs are not old anymore

* ux improvements

* add filters

* reset active option

* styles

* email an engineer button

* fix panel title

* add checkmark to resolved questions

* add result count to tags / allow tabbing through tags

* polish

* docs links

* tooltips

* inline support form

* remove unnecessary effect

* use correct color in tooltip

* Revert "tooltips"

This reverts commit 5603a65080.

* hook it up

* fix lockfile

* use iconinfo

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* reup lockfile

* Update UI snapshots for `chromium` (1)

* fix

* use std colors (except for purple)

* 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 unit.json

* Update docker-compose.dev-full.yml

* Update docker-compose.dev-full.yml

* upgrade @babel/runtime

* move to a regular dep?

* address pr feedback

* add stories

* handle arrowLeft and ArrowRight keydown

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-18 09:14:44 -07:00
PostHog Bot
fdc3d9be5c
chore(deps): Update posthog-js to 1.116.1 (#20974) 2024-03-18 09:25:42 -04:00
Michael Matloka
66eb25df44
test(vrt): Don't clip scene snapshots (#19677)
* test(vrt): Don't clip scene snapshots

* Upgrade Playwright to 1.33

* Replace `excludeNavigationFromSnapshot` with `includeNavigationInSnapshot`

* Tune locator

* Fix `EmptyStates` flakiness

* Fix `main` fallback

* Try a different way of selecting `main` with fallback

* Remove last `excludeNavigationFromSnapshot`

* Use `.Navigation3000__scene` instead of `body`

* Restore `overflow: visible` on navigation in tests

* Fix top bar overlapping

* More anti-clipping

* Actually fix clipping

* Fix `layout` parameter

* Fix `.classList.add()` use

* Remove empty `testOptions`

* Tweak `waitForSelector`

* Extend loader timeout

* Update Surveys.stories.tsx

* Update `UserPaths`'s `waitForSelector`

* Print test errors

* Revert "Print test errors"

This reverts commit 71d305f8d3de872467e2a47504eb602fba2c77a3.

* Capture whole scene in failure screenshot

* Fix `CommandBar` snapshotting

* Actually fix `CommandBar` snapshotting

* Also fix modals

* Force remount on snapshot retry

* Actually fix modal, sidebar, and paths snapshotting

* Fix observed flakiness

* Remove legacy theme from visual tests

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Fix sizing of `Toolbar` stories

* Fix typing

* Don't render zero-width funnel bar

* Attempt to fix more flakiness

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Tweak selectors

* Just hide the damn bar

* Don't render grid layout without `gridWrapperWidth`

* Use container query instead of React hook in `LemonBanner`

* Update SavedInsights.stories.tsx

* Explicitly size `LemonBanner`

* Update Surveys.stories.tsx

* Update UI snapshots for `chromium` (1)

* Include navigation in side panel snapshots

* Update UI snapshots for `chromium` (1)

* Dispatch resize

* Force settings sections in snapshots

* Re-resize

* Stabilize settings

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* 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>
2024-03-18 10:51:46 +01:00
PostHog Bot
bb9b0eed9c
chore(deps): Update posthog-js to 1.115.2 (#20955) 2024-03-15 12:05:00 -04:00
PostHog Bot
ac5aa91210
chore(deps): Update posthog-js to 1.115.1 (#20950) 2024-03-15 07:37:16 -04:00
PostHog Bot
d28a1285d5
chore(deps): Update posthog-js to 1.115.0 (#20924) 2024-03-14 09:57:07 -04:00
PostHog Bot
e096ed7009
chore(deps): Update posthog-js to 1.114.2 (#20869) 2024-03-12 11:35:58 -04:00
PostHog Bot
3a2792a814
chore(deps): Update posthog-js to 1.114.0 (#20857) 2024-03-12 08:09:01 -04:00
PostHog Bot
bd9c4df777
chore(deps): Update posthog-js to 1.113.4 (#20847) 2024-03-12 03:48:05 -04:00
PostHog Bot
9232eb96bf
chore(deps): Update posthog-js to 1.113.1 (#20824) 2024-03-11 11:53:42 -04:00
Michael Matloka
da0507d5f1
chore(deps): rm eslint-plugin-prettier, upgrade @typescript-eslint/parser (#20814)
* chore(dev): Remove `eslint-{config,plugin}-prettier`

* Upgrade `@typescript-eslint` and restore `eslint-config-prettier`

* Fix promise handling in a few spots

* 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>
2024-03-11 16:15:19 +01:00
PostHog Bot
8d972e797a
chore(deps): Update posthog-js to 1.113.0 (#20818) 2024-03-11 08:44:39 -04:00
PostHog Bot
3d73992761
chore(deps): Update posthog-js to 1.112.1 (#20782) 2024-03-11 07:48:55 -04:00
Juraj Majerik
6d1eb0f9db
chore(frontend): update kea-forms (2) (#20774) 2024-03-08 08:03:20 +01:00
Juraj Majerik
b955a89197
chore(frontend): update kea-forms (#20756) 2024-03-07 16:18:24 +01:00
PostHog Bot
390a000d68
chore(deps): Update posthog-js to 1.111.1 (#20733) 2024-03-06 10:19:11 -05:00
PostHog Bot
3c6e21857d
chore(deps): Update posthog-js to 1.111.0 (#20702) 2024-03-05 05:59:09 -05:00
David Newell
f4bcf48fa1
fix: resizeable insights (#20701) 2024-03-05 10:49:38 +00:00
David Newell
c35ef7f637
chore: remove unused code (#20677) 2024-03-04 10:37:38 +00:00
Marius Andra
b891d14e06
fix(frontend): no more "nope" (#20610) 2024-02-29 14:16:57 +01:00
PostHog Bot
17f4aadb81
chore(deps): Update posthog-js to 1.110.0 (#20603) 2024-02-28 06:20:18 -05:00
PostHog Bot
97e4751421
chore(deps): Update posthog-js to 1.109.0 (#20570) 2024-02-27 09:37:58 -05:00
PostHog Bot
0dbd56d675
chore(deps): Update posthog-js to 1.108.2 (#20505) 2024-02-22 08:58:10 -05:00
David Newell
6cd02e980a
chore: replace tooltip (#20160) 2024-02-22 12:43:51 +00:00
PostHog Bot
f8a7bc1477
chore(deps): Update posthog-js to 1.108.1 (#20497) 2024-02-22 07:03:05 -05:00
PostHog Bot
4cd9353e05
chore(deps): Update posthog-js to 1.108.0 (#20475) 2024-02-20 19:25:53 -05:00
PostHog Bot
d3c27a4617
chore(deps): Update posthog-js to 1.107.0 (#20464) 2024-02-20 10:54:22 -05:00
Thomas Obermüller
588055a0da
fix(tests): upgrade playwright (#20441) 2024-02-20 12:06:04 +00:00
PostHog Bot
ee326fa960
chore(deps): Update posthog-js to 1.106.3 (#20437) 2024-02-19 19:34:31 -05:00
PostHog Bot
eb931ee18a
chore(deps): Update posthog-js to 1.106.2 (#20406) 2024-02-19 07:10:28 -05:00
Paul D'Ambra
d5df038f16
fix: reduce toolbar bundle size by 60% (#20122)
* output analyzable build info for the toolbar

* don't use code snippet it adds half a meg

* Update UI snapshots for `chromium` (2)

* use esbuild visualizer instead

* fix

* allow treeshaking and remove circular dependency from imports toolbar uses

* fix

* lint the mjs files at the root of frontend folder

* no need to mention lemonui at all

* no ned to specify metafile

* don't allow posthog-js to sneak into the toolbar

* simpler date picker so fewer dependencies

* maybe this

* like this?

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* ragE

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* too easy to break things this way

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* around the houses

* Reset snapshots to master

* explain why there's a plugin

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* fix

* fix

* Update UI snapshots for `webkit` (2)

* fix

* Update UI snapshots for `webkit` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-19 11:39:15 +00:00
PostHog Bot
a271ea5ba3
chore(deps): Update posthog-js to 1.106.1 (#20403) 2024-02-19 05:34:05 -05:00
PostHog Bot
df9bcd39af
chore(deps): Update posthog-js to 1.106.0 (#20373) 2024-02-15 12:17:05 -05:00
PostHog Bot
856a12cb85
chore(deps): Update posthog-js to 1.105.9 (#20344) 2024-02-14 11:28:13 -05:00
Paul D'Ambra
a33ded1caf
fix: toolbar selector fangling (#20325) 2024-02-14 10:49:25 +00:00
PostHog Bot
57b298871f
chore(deps): Update posthog-js to 1.105.8 (#20290) 2024-02-13 05:43:31 -05:00
PostHog Bot
7dee343d80
chore(deps): Update posthog-js to 1.105.7 (#20254) 2024-02-11 05:41:36 -05:00
PostHog Bot
f12b64beac
chore(deps): Update posthog-js to 1.105.6 (#20220) 2024-02-08 14:00:31 -05:00
PostHog Bot
fc6cd4eeba
chore(deps): Update posthog-js to 1.105.5 (#20200) 2024-02-08 08:31:27 -05:00
PostHog Bot
e6861ad7c5
chore(deps): Update posthog-js to 1.105.4 (#20176) 2024-02-07 10:35:04 -05:00
PostHog Bot
180ba3c1d4
chore(deps): Update posthog-js to 1.105.3 (#20173) 2024-02-07 08:18:42 -05:00
Robbie
8a4c7d8fdf
feat(web-analytics): Support opening web analytics queries as either a trend or modal (#20148)
* Support opening web analytics queries as either a trend or modal

* make it not crash

* Strip embedded from new insight urls

---------

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2024-02-06 14:09:05 +00:00
Michael Matloka
8ad9ecf725
chore(dev): Speed up SCSS compilation (#20132) 2024-02-06 13:35:13 +01:00
Michael Matloka
6347750da6
test(dashboards): Add test for loading results on shared dashboards (#20146)
This fails currently – yay! Should pass after merging with master.
2024-02-06 12:09:16 +01:00
PostHog Bot
6ac6dc90c4
chore(deps): Update posthog-js to 1.104.4 (#20105) 2024-02-02 06:32:44 -05:00
PostHog Bot
f171df81dc
chore(deps): Update posthog-js to 1.104.3 (#20085) 2024-02-01 06:31:01 -05:00
PostHog Bot
fdd2d8f8a9
chore(deps): Update posthog-js to 1.104.2 (#20071) 2024-01-31 11:09:33 -05:00
PostHog Bot
ca40ab39dd
chore(deps): Update posthog-js to 1.104.0 (#20066) 2024-01-31 08:59:09 -05:00
PostHog Bot
f9d6062b23
chore(deps): Update posthog-js to 1.103.2 (#20061) 2024-01-31 06:25:35 -05:00
PostHog Bot
ad69f12b25
chore(deps): Update posthog-js to 1.103.1 (#19997) 2024-01-28 16:12:52 -05:00
PostHog Bot
8e8e483804
chore(deps): Update posthog-js to 1.103.0 (#19990) 2024-01-26 11:15:31 -05:00
Paul D'Ambra
0fdb1e0fe3
feat: dedupe incremental mutations for mobile replay (#19974)
* start passing context around instead of multiple parameters

* start passing a result and context back from conversions

* even more using the context and the results

* get id sequences under control

* manually run prettier

* add lint staged rules for ee TS code

* remove console logs

* start tracking ids as they are processedD

* Add a new test case and so update _all_ of the ids :/

* don't process the same add or update id more than once

* refactor similar closer together

* move keyboard style override into context

* snapshots

* remove constant

* need to fangle context in case select options ever starts to change it
2024-01-26 16:14:14 +00:00
PostHog Bot
51bae9d755
chore(deps): Update posthog-js to 1.102.1 (#19962) 2024-01-25 05:54:27 -05:00
PostHog Bot
f3f9ea7a40
chore(deps): Update posthog-js to 1.102.0 (#19949) 2024-01-24 10:25:10 -05:00
PostHog Bot
d935983f55
chore(deps): Update posthog-js to 1.101.0 (#19898) 2024-01-22 06:03:52 -05:00
Paul D'Ambra
4b12f76bc4
feat: patch canvas export into rrweb (#19861)
* feat: patch canvas export into rrweb

* like that?

* like that?
2024-01-19 13:41:19 +00:00
Michael Matloka
6a1af4952f
fix(lemon-ui): Fix labels on basic sparklines (#19816) 2024-01-17 16:36:18 +00:00
Tiina Turban
88cd774242
feat(pipeline-ui): Display spark graph in destinations table (#19718)
* 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>
2024-01-16 19:43:15 +00:00
Ben White
fab48d3aaf
feat: Add status page panel (#19741)
* Added status panel

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Added flag

* Fix

* Fix positioning

* Update UI snapshots for `chromium` (1)

* Fix

* Update UI snapshots for `chromium` (2)

* Fix

* Always-on badge graded by status

* Ignore `IconWithBadge` in library stories

* Reset UI snapshots

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Matloka <michal@matloka.com>
2024-01-15 15:49:37 +00:00
PostHog Bot
6c069c1850
chore(deps): Update posthog-js to 1.100.0 (#19764) 2024-01-15 10:44:39 -05:00
PostHog Bot
35e34dda93
chore(deps): Update posthog-js to 1.99.0 (#19762) 2024-01-15 10:13:19 -05:00
Ben White
33bfdff664
chore: Update tiptap (#19753) 2024-01-15 13:22:36 +01:00
Marius Andra
8ccdde769f
feat(frontend): implement project-based routing (#13474) 2024-01-15 10:31:54 +01:00
Julian Bez
9df89c0ebc
feat(api): Add Pydantic schemas in OpenAPI annotations (#19747)
Trying again #19408 with fixes
2024-01-15 09:19:10 +00:00
Julian Bez
cbc0ba83f5
revert: "feat(api): Add Pydantic schemas in OpenAPI annotations" (#19739)
Due to issue POSTHOG-P7X
2024-01-12 14:09:40 +00:00
Julian Bez
456af51cfd
feat(api): Add Pydantic schemas in OpenAPI annotations (#19408)
* Update schema to use discriminators and add Pydantic parser
2024-01-12 12:01:13 +00:00
PostHog Bot
3d3c449e67
chore(deps): Update posthog-js to 1.98.2 (#19723) 2024-01-11 11:32:59 -05:00
PostHog Bot
071c0c53d9
chore(deps): Update posthog-js to 1.98.1 (#19717)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2024-01-11 16:04:40 +00:00
PostHog Bot
5fd16318a9
chore(deps): Update posthog-js to 1.97.1 (#19684) 2024-01-09 12:45:17 -05:00
Thomas Obermüller
01c60350f0
fix(scripts): remove duplicate visual regression test script (#19673) 2024-01-09 16:46:56 +01:00
Thomas Obermüller
fec25c9086
chore(cleanup): remove legacy visual regression tests (#19527) 2024-01-09 15:00:17 +00:00
Michael Matloka
5c51230ea4
chore(frontend): Real Tailwind + Autoprefixer (#19051)
* chore(frontend): Real Tailwind + Autoprefixer

* Align some non-standard utility class usage with Tailwind

* Start using container queries

* Update tailwind.config.js

* Move PostCSS packages into prod dependencies

* Add EE

* Add larger spacings for properties other than width

* Fix spacing backward compat

* Add max-w-1/2

* Remove Tailwind normalization

* Ensure JIT analysis works

* Actually we don't need a container query for this

* Clean up more

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update production.Dockerfile

* Extend `fontSize` instead of replacing

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Fix production build

* Add clarification comment

* Update trends.cy.ts

* Fix `scale` usage

* Fix minor styling issues

* Upgrade to Tailwind 3.4

* Actually use `cssnano`

* Don't use `cssnano` in dev

* Solve annoying Tailwind logs

* Add comment explaining plugins being defined twice

* Fix side panel icon rotation

* Reset snapshots

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

* Fix dockerfile

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Fix up flag wrap

* Update UI snapshots for `chromium` (2)

* Fix

* 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>
Co-authored-by: Ben White <ben@posthog.com>
2024-01-08 13:26:12 +01:00
Ben White
1c5e7ad41c
chore: Updated posthog-js-lite (#19384) 2023-12-19 06:46:15 +01:00
PostHog Bot
9f646ba3e5
chore(deps): Update posthog-js to 1.96.0 (#19340) 2023-12-14 15:28:31 -05:00
PostHog Bot
6b5b801065
chore(deps): Update posthog-js to 1.95.1 (#19302) 2023-12-13 09:24:16 +00:00
PostHog Bot
74a06f13d4
chore(deps): Update posthog-js to 1.95.0 (#19299) 2023-12-12 18:51:15 -05:00
PostHog Bot
5c6fc5e063
chore(deps): Update posthog-js to 1.94.4 (#19276) 2023-12-12 08:28:36 -05:00
PostHog Bot
ca32acf6d0
chore(deps): Update posthog-js to 1.94.3 (#19269) 2023-12-12 06:22:38 -05:00
Michael Matloka
f1d8b555f4
test: Upgrade to Storybook 7.6 (#19203)
* test: Upgrade to Storybook 7.6

* 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-12-11 13:26:49 +01:00
Tom Owers
cfff36eae0
feat(bi): added support for goal lines on BI charts (#19185)
* Added tooltips to line charts and ensured consistent posthog styling + colours

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Export type from logic

* Fix type issue

* Added bar charts to BI

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Added support for goal lines on BI charts

* Fixed mutating state irectly

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-11 11:47:39 +00:00
PostHog Bot
152f482c3a
chore(deps): Update posthog-js to 1.94.2 (#19235) 2023-12-11 04:32:53 -05:00
PostHog Bot
536af78f81
chore(deps): Update posthog-js to 1.94.1 (#19225) 2023-12-09 06:52:41 -05:00
PostHog Bot
81d37ba99c
chore(deps): Update posthog-js to 1.94.0 (#19224) 2023-12-09 06:30:36 -05:00
PostHog Bot
d703290d8b
chore(deps): Update posthog-js to 1.93.6 (#19079) 2023-12-05 05:06:08 -05:00
PostHog Bot
f77e4cf6f9
chore(deps): Update posthog-js to 1.93.5 (#19078) 2023-12-05 04:27:55 -05:00
PostHog Bot
2fc0864feb
chore(deps): Update posthog-js to 1.93.4 (#19070) 2023-12-05 03:31:10 -05:00
Paul D'Ambra
16323959fd
feat: add ee licensed replay transformer (#18874)
first pass through using the EE licensed replay transformer in playback

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Newell <d.newell1@outlook.com>
2023-11-29 10:41:18 +00:00
Paul D'Ambra
a3ba101a54
chore: update es build (#18917)
* chore: update ESBuild

* chore: update ESBuild

* more logging collapsing

* Fix

* fiddling

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* end when finished if not --dev

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-28 14:33:21 +00:00
Michael Matloka
36ccfe64cd
style(frontend): Always order CSS properties in one way (#18652)
* style(frontend): Always order CSS properties in one way

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Expand `loadNotebooksContainingResource` Storybook mock

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-23 21:55:14 +01:00
Michael Matloka
6e51b92f3b
test(frontend): Further improvements to UI stability (#18851)
* test(frontend): Further improvements to UI stability

* Use `waitForPageReady()`

* Override playwright to always be 1.32.2

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update test-runner.ts

* 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-11-23 16:35:15 +01:00
David Newell
1961b5b6f1
chore: upgrade playwright (#18793)
* chore: upgrade playwright

* remove core

* upgrade container image

* use test-runner version
2023-11-23 13:51:01 +01:00
PostHog Bot
d6dd8d6095
chore(deps): Update posthog-js to 1.93.1 (#18838) 2023-11-23 04:39:50 -05:00
PostHog Bot
1def792349
chore(deps): Update posthog-js to 1.93.0 (#18834) 2023-11-22 18:36:14 -05:00
Ben White
d65a775a7c
chore: Upgrade test runner (#18794) 2023-11-22 16:24:37 +01:00
Michael Matloka
69becac200
chore(frontend): Sort imports (#18663)
* chore(frontend): Sort imports

* Fix Storybook build problem

* Try a different fix

* Fix another circular import

* Fix more circular imports

* Fix logic connection

* Ignore `cypress` in TS

* Don't check import order in logic types

* Fix another `connect()`

* Don't sort imports in Notebooks nodes code

* Fix another connection

* Increase specificity of .LemonButton against .Link

* Fix styling issues

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-22 15:07:34 +01:00
Ben White
9033d0822f
feat: Better floating of editing widget (#18780) 2023-11-22 12:30:20 +01:00
Paul D'Ambra
a5e2ca1361
feat: network payload capture draft 2 (#18736)
requires: PostHog/posthog-js#902

We don't want to support running posthog/network and rrweb/network plugin at the same time. These changes support that change
improve timeline display
allow raw json view for debugging
2023-11-21 18:29:00 +00:00
Thomas Obermüller
b846b65c2e
feat(3000): replace command icons (#18770)
---------

Co-authored-by: Cory Watilo <corywatilo@gmail.com>
2023-11-21 17:28:37 +01:00
PostHog Bot
0cafec3eb4
chore(deps): Update posthog-js to 1.92.0 (#18760) 2023-11-20 14:14:18 -05:00
Julian Bez
3cb88c07ab
chore(ruff): Add --fix to ruff check pre commit (#18650) 2023-11-20 15:31:00 +01:00
David Newell
0bbd150e7a
feat(3000): 3000 colors (#18545) 2023-11-20 11:53:12 +00:00
Julian Bez
ff4bfee4d9
feat(queries): Add possibility to run queries async (#18571) 2023-11-20 12:26:08 +01:00
Ben White
6676a1d504
feat: Refactor and simplify insights css (#18570) 2023-11-15 16:47:05 +00:00
PostHog Bot
3bd9713056
chore(deps): Update posthog-js to 1.91.1 (#18656) 2023-11-15 11:09:52 -05:00
Michael Matloka
74c0309735
test(frontend): Add stylelint (#18627)
* test(frontend): Add stylelint

* Remove ordering from the first step

* Further specify a few rules

* Fix a bunch of simple issues

* Add stylelint to pre-commit hooks and CI

* Remove orphaned package-lock.json

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* Retain `currentColor`

* Revert media queries change, and enforce modern colors

* Add TODOs to the config

* Fix a few more colors

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-15 15:11:27 +01:00
PostHog Bot
f77b981ca5
chore(deps): Update posthog-js to 1.91.0 (#18646) 2023-11-15 07:18:37 -05:00
PostHog Bot
f10da8b2d8
chore(deps): Update posthog-js to 1.90.2 (#18637) 2023-11-15 04:40:36 -05:00
PostHog Bot
a81c1c736a
chore(deps): Update posthog-js to 1.90.1 (#18636) 2023-11-15 04:20:40 -05:00
PostHog Bot
87ea15d201
chore(deps): Update posthog-js to 1.90.0 (#18633) 2023-11-14 20:02:10 -05:00
PostHog Bot
8271fcb80c
chore(deps): Update posthog-js to 1.89.2 (#18605) 2023-11-14 08:54:59 -05:00
PostHog Bot
a0db64e111
chore(deps): Update posthog-js to 1.89.1 (#18587) 2023-11-13 18:39:14 -05:00
Michael Matloka
1e095bf94c
chore(3000): Polish up support in the side panel (#18493)
* Tune height and text alignment of `LemonSegmentedButton`

* Always open the support form with a default support kind

* Rename "Support" to "Question" in the form

* Rename "Feedback" to "Support" outside the form

* Clean up panel header

* Use Central support icon

* Fix slider alignment in full-width mode

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Mark a transitioning LemonCollapse panel as busy

* Update UI snapshots for `chromium` (2)

* Fix `openSupportForm` typing

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-13 15:45:51 +00:00
PostHog Bot
413ea11d7a
chore(deps): Update posthog-js to 1.89.0 (#18573) 2023-11-13 10:22:22 -05:00
Michael Matloka
fded6fdf62
test: Regular checkup of visual regression tests (#18469)
* 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>
2023-11-13 15:32:10 +01:00
PostHog Bot
5d68a88675
chore(deps): Update posthog-js to 1.88.4 (#18528) 2023-11-09 13:11:23 -05:00
PostHog Bot
b3d88eaaee
chore(deps): Update posthog-js to 1.88.3 (#18496) 2023-11-08 16:17:49 -05:00
David Newell
d0181fb98e
chore: replace a ton of @ant-design/icons (#18394) 2023-11-08 15:51:39 +00:00
PostHog Bot
2645c58a3f
chore(deps): Update posthog-js to 1.88.2 (#18475) 2023-11-08 04:49:56 -05:00
Tiina Turban
41f8a4a9dd
chore: bump plugin-scaffolding version (#18032) 2023-11-07 14:47:38 +01:00
David Newell
6070407dfa
chore: upgrade react 18 (#17731) 2023-11-06 13:34:20 +00:00
PostHog Bot
5104064197
chore(deps): Update posthog-js to 1.88.1 (#18351) 2023-11-02 09:59:01 -04:00
PostHog Bot
2276274db5
chore(deps): Update posthog-js to 1.88.0 (#18339) 2023-11-02 06:13:35 -04:00
Ellie Huxtable
0257b2bcb9
chore: Use ruff formatter (#18207)
* Use ruff formatter

Ruff is now also a formatter! And it runs in a fraction of a second
across our whole codebase vs "I waited more than 30s and cancelled it
because I got bored".

* Config and command -> ruff

* Run 'ruff format .'

* Update query snapshots

* Run 'ruff format .'

* Fix format after commit hook

* Update query snapshots

* Fix type error - ignore comment moved

* Exclude hogql grammar from formatting and reverted grammar

* Run format

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tom Owers <tom@paace.co>
2023-10-31 13:41:57 +00:00
PostHog Bot
c010a4f487
chore(deps): Update posthog-js to 1.87.6 (#18296) 2023-10-31 06:30:09 -04:00
Ben White
280181a87b
feat(3000): Sidepanel for notebooks / feedback (#18204) 2023-10-31 10:02:53 +01:00
PostHog Bot
1f1995ac97
chore(deps): Update posthog-js to 1.87.5 (#18277) 2023-10-30 14:32:13 -04:00
Thomas Obermüller
ba570e19e5
feat(hackathon-3000): use protomap tiles from s3 (#18247) 2023-10-30 13:14:12 +00:00
PostHog Bot
1744d127ed
chore(deps): Update posthog-js to 1.87.4 (#18264) 2023-10-30 08:50:03 -04:00
PostHog Bot
40194d2044
chore(deps): Update posthog-js to 1.87.3 (#18259) 2023-10-30 05:18:36 -04:00
Michael Matloka
8f62e85c9d
chore(hogql): Full error & NULL handling in C++ parser (1.0.0) (#18240)
* chore(hogql): Be defensive against NULLs in the C++ parser

* Clean up on C++ exceptions

* Add to CONTRIBUTING guide

* Revert `AllowShortFunctionsOnASingleLine` change

* Update HogQLX additions too

* Bump version to 1.0.0

* Use new hogql-parser version

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-27 13:37:15 +02:00
PostHog Bot
fa58cb646a
chore(deps): Update posthog-js to 1.87.0 (#18205) 2023-10-26 11:19:05 -04:00
Robbie
09def8255e
feat(web-analytics): Add web analytics to posthog3000 (#18194)
* Add web analytics to posthog 3000

* Use IconPieChart for web analytics
2023-10-26 14:07:08 +01:00
David Newell
40bbf00423
chore: custom lint rules (#18206) 2023-10-26 12:11:38 +01:00
PostHog Bot
6cc24baeae
chore(deps): Update posthog-js to 1.86.0 (#18202) 2023-10-26 06:28:09 -04:00
PostHog Bot
1d375c0e5c
chore(deps): Update posthog-js to 1.85.4 (#18199) 2023-10-26 05:12:44 -04:00
Ben White
4412c2cbeb
feat: Person feed map (#18184) 2023-10-26 07:20:43 +00:00
Paul D'Ambra
367b44a8ed
feat: remember show advanced filters (#18170)
* feat: remember show advanced filters

* fix advanced filters check
2023-10-25 17:16:10 +01:00
David Newell
4fc05e34c3
chore: upgrade eslint (#18186) 2023-10-25 17:13:59 +01:00
David Newell
fe1ce5a556
feat: nested task lists (#18151) 2023-10-25 16:43:09 +01:00
PostHog Bot
7f516f03ca
chore(deps): Update posthog-js to 1.85.3 (#18175) 2023-10-25 04:18:30 -04:00
PostHog Bot
dcaf31d5e9
chore(deps): Update posthog-js to 1.85.2 (#18171) 2023-10-24 17:04:30 -04:00
PostHog Bot
5b3aea93c8
chore(deps): Update posthog-js to 1.85.1 (#18167) 2023-10-24 12:46:22 -04:00
PostHog Bot
ecb77fbac3
chore(deps): Update posthog-js to 1.85.0 (#18165) 2023-10-24 12:19:50 -04:00
PostHog Bot
7b17d2bb61
chore(deps): Update posthog-js to 1.84.4 (#18164) 2023-10-24 11:55:26 -04:00
PostHog Bot
48af664033
chore(deps): Update posthog-js to 1.84.3 (#18143) 2023-10-23 14:53:24 -04:00
dependabot[bot]
437445ec0e
chore(deps-dev): bump postcss from 8.4.18 to 8.4.31 (#17767)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.18 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.18...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 13:56:19 +02:00
PostHog Bot
4bb8e07d94
chore(deps): Update posthog-js to 1.84.2 (#18130) 2023-10-23 05:12:33 -04:00
Thomas Obermüller
1ac924c724
chore(deps): upgrade storybook to 7.5 (#18113) 2023-10-20 13:59:16 +02:00
PostHog Bot
bae6be9c00
chore(deps): Update posthog-js to 1.84.1 (#18096) 2023-10-19 11:28:32 -04:00
Robbie
4699850271
chore(insights): Making schema conversion from schema.ts to schema.py include everything in schema.ts (#18075)
* Convert all of schema.ts to schema.py

* Add explicit name to schema root

* Fix test
2023-10-19 09:54:42 +01:00
PostHog Bot
71ca57f347
chore(deps): Update posthog-js to 1.84.0 (#18069) 2023-10-18 12:52:15 -04:00
PostHog Bot
694ea0cb03
chore(deps): Update posthog-js to 1.83.3 (#18035)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2023-10-18 14:45:59 +01:00
Michael Matloka
abedb5c540
fix(deps): Update @posthog/icons to fix React peer dependency (#18043) 2023-10-17 22:00:50 +02:00
PostHog Bot
dbfd58e975
chore(deps): Update posthog-js to 1.83.2 (#18033) 2023-10-17 09:28:20 -04:00
Tiina Turban
b6efd06478
chore: Update plugin-scaffold to latest (#17930) 2023-10-17 12:26:35 +02:00
PostHog Bot
938e391f9a
chore(deps): Update posthog-js to 1.83.1 (#18014) 2023-10-16 15:35:10 -04:00
Michael Matloka
4a723ab02b
style(3000): Use new Central icons (#16463)
* style(3000): Use new Central icons

* Use prefixed icons

* Use new icons

* Remove `width` rule

* Change Lemon `IconNotebook` to Material

* Fix icon width

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Fix notebook icon coloring

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-16 10:24:47 +02:00
Michael Matloka
16a71f60c9
perf: Parse HogQL with C++ for a huge speedup (#17659)
* Add partial C++ parser of HogQL

* Support all the rules and add proper error handling

* Use `AlignAfterOpenBracket: BlockIndent`

* Reuse all the parser tests for the C++ backend

* Fix relationship between headers and implementations

* Add more error handling and fix minor issues

* Build both Python and C++ parsers in the package.json script

* Update ARRAY JOIN error assertion

* Improve timeit

* Move the C extension to the top level

* Refactor `vector_to_list_string`

* Build the parser on Linux

* Build wheels for the parser

* Simplify Linux build and fix macOS

* Fix Homebrew paths on x86 and don't fail fast in CI

* Set MACOSX_DEPLOYMENT_TARGET for C++20

* Set up QEMU for Linux ARM builds

* Publish the wheels on PyPI

* Avoiding Linux ARM emulation in CI for now

* Build sdist too

* Revert Dockerfile changes

* Fix PyPI publish

* Add README and optimize sdist build

* Use setup.py directly instead of build

* Use PyPI hogql-parser instead of local

* Also revert production-unit.Dockerfile

* Fix sdist upload and add Linux ARM back

* No Linux ARM build in the end

* Fix artifact uploading

* Do try building Linux ARM

We need this for prod.

* Use `npm` in `grammar:build`

`pnpm` is not available in that job.

* Fix formatting of hogql_parser

* Build everything on macOS

* Revert "Build everything on macOS"

Not so fast actually.

* Use hogql-parser=0.1.1

* Fix dylib in macOS wheel

* Bump hogql-parser version

* Fix missing module error

* Delete timeit.py

* Make error handling robust

* Format the C++

* Use `hogql-parser==0.1.1`

* Fix reserved keyword error assertions

* Use HEAD hogql_paresr in CI

* Fix `apt` usage

* Add some sudo in CI

* Ensure package will be releasable before build

* Bump version to 0.1.3

* Cover C++ `unquote_string` with tests

* Use BuildJet ARM runners for ARM builds

* Add some instructions

* Add HogQL version check to backend CI

* Update requirements.txt

* Use `setuptools` instead of the deprecated `distutils`

* Fix working dir in backend CI

* Align ANTLR versions

* Add test for "mismatched input"

This is thrown differently than other HogQLSyntaxExceptions in C++, so might help reveal what's going on with tests failing only on Linux CI and not macOS dev

* Add types and bump version

* Comment instead of failing version check

* Automate hogql-release version bump

* Fix checkout token

* Don't build hogql-parser if there were no changes

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Improve documentation

* Use new hogql-parser version

* Fix error start and end initialization

* Note `antlr4-cpp-runtime`

Co-authored-by: Marius Andra <marius.andra@gmail.com>

* Also remove NUL chars in C++

* Check ANTLR4 runtime archive checksum for security

* Note more decrefs to add

* Add vector size checks

* Use new hogql-parser version

* Don't support the `start` arg in C++ `parse_expr`

* Use new hogql-parser version

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Marius Andra <marius.andra@gmail.com>
2023-10-13 13:58:08 +00:00
Paul D'Ambra
5da50e633a
fix: throw error so test failures are not swallowed (#17926)
So obvious in retrospect

If you listen to the Cypress fail event without re-throwing then you swallow all test failures

"fun"

When reviewing #17919 I knew the Cypress tests would have to be failing which is what prompted me to check

Introduced in bbb7ed9 (July 10th!)
2023-10-12 00:51:47 +01:00
Ben White
03093a8ad9
feat: Reworked Playlist UI with Notebook support (#17802) 2023-10-10 14:50:17 +02:00
Neil Kakkar
b02d800047
feat(surveys): Add question html support (#17847) 2023-10-10 10:30:44 +01:00
PostHog Bot
0e85481bcd
chore(deps): Update posthog-js to 1.83.0 (#17871) 2023-10-09 20:51:43 -04:00
PostHog Bot
87331cae6f
chore(deps): Update posthog-js to 1.82.3 (#17852) 2023-10-06 11:38:07 -04:00
PostHog Bot
e657435690
chore(deps): Update posthog-js to 1.82.2 (#17827) 2023-10-05 16:36:34 -04:00
PostHog Bot
b758ac283a
chore(deps): Update posthog-js to 1.82.1 (#17787) 2023-10-04 13:37:12 -04:00
PostHog Bot
1db70fb875
chore(deps): Update posthog-js to 1.82.0 (#17769) 2023-10-04 09:10:53 -04:00
PostHog Bot
9255daa085
chore(deps): Update posthog-js to 1.81.4 (#17765) 2023-10-04 08:07:22 -04:00
PostHog Bot
4cb9a687dd
chore(deps): Update posthog-js to 1.81.3 (#17725) 2023-10-03 09:04:48 -04:00
David Newell
b9e358cac7
chore: replace react-json-view (#17713) 2023-10-03 10:44:31 +01:00
David Newell
10d8a9b909
chore: remove react-sortable-hoc dependency (#17711) 2023-10-02 14:30:01 +01:00
PostHog Bot
6016bdb6d6
chore(deps): Update posthog-js to 1.81.1 (#17625)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2023-09-26 14:48:30 +01:00
PostHog Bot
8597f7aa6c
chore(deps): Update posthog-js to 1.81.0 (#17604) 2023-09-26 10:48:26 +01:00
PostHog Bot
c16fb28dbe
chore(deps): Update posthog-js to 1.80.0 (#17603) 2023-09-25 11:03:46 -04:00
PostHog Bot
3004b88e6e
chore(deps): Update posthog-js to 1.79.1 (#17564)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2023-09-21 00:10:34 +01:00
Paul D'Ambra
bb61ee1fa1
chore: lint for browser compatability so humans don't have to (#17527)
* chore: lint for browser compatability so humans don't have to

* Doh

* Update UI snapshots for `chromium` (1)

* we already do not support opera mini

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-19 16:19:48 +01:00
Thomas Obermüller
26f29f11e4
chore(python): upgrade pydantic and datamodel-code-generator (#17477) 2023-09-18 15:05:46 +02:00
Michael Matloka
683512e61c
chore: Remove OptiPNG from local dev (#17490) 2023-09-18 13:51:53 +02:00
Tom Owers
c6edef3034
feat: Added a export csv/json button to data tables where export is available (#17402) 2023-09-14 17:40:33 +02:00
PostHog Bot
ba5c1c2c74
chore(deps): Update posthog-js to 1.78.5 (#17444) 2023-09-14 16:01:11 +02:00
PostHog Bot
3a7da52777
chore(deps): Update posthog-js to 1.78.4 (#17427) 2023-09-13 23:16:52 +02:00
Ben White
239173c904
chore: Update rrweb (#17382) 2023-09-13 16:36:01 +02:00
PostHog Bot
736b0fa35b
chore(deps): Update posthog-js to 1.78.2 (#17383) 2023-09-12 09:14:50 +00:00
PostHog Bot
a00aa241c7
chore(deps): Update posthog-js to 1.78.1 (#17341) 2023-09-07 14:34:28 +02:00
PostHog Bot
9c7607e995
chore(deps): Update posthog-js to 1.77.3 (#17317) 2023-09-05 14:14:09 +02:00
David Newell
5ed46b18bc
feat: add uniqueKey as a prop to query rendering (#17187)
* feat: add uniqueKey as a prop to query rendering
2023-08-31 13:40:18 +01:00
David Newell
d2f4217a2b
chore: migrate to dnd kit (#16962)
chore: migrate selectable person properties to dnd-sortable
2023-08-30 09:19:57 +01:00
David Newell
23c3b525b0
chore: remove unused dependency (#17196)
chore: remove unused dependency
2023-08-30 09:18:56 +01:00
Michael Matloka
59d4398646
ci(vrt): Stop the snapshot madness (#17163)
* 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>
2023-08-29 09:28:03 +02:00
PostHog Bot
d5dc435ab6
chore(deps): Update posthog-js to 1.77.1 (#17130) 2023-08-22 09:06:51 +02:00
Robbie
4e885e618d
style: Make eslint stricter, fix issues that came up (#17092)
* Make eslint stricter, fix issues that came up

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update query snapshots

* Update UI snapshots for `chromium` (1)

* Update query snapshots

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Try to fix Playwright flakiness and speed up visual snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Matloka <michal@matloka.com>
2023-08-21 13:28:29 +01:00
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
PostHog Bot
d87e4350a1
chore(deps): Update posthog-js to 1.77.0 (#17085) 2023-08-18 10:59:52 +02:00
PostHog Bot
ce6c05d971
chore(deps): Update posthog-js to 1.76.0 (#16973) 2023-08-10 10:50:17 +02:00
PostHog Bot
b0775bf7a7
chore(deps): Update posthog-js to 1.75.4 (#16957) 2023-08-09 15:29:33 +02:00
David Newell
756c018a53
chore: remove autosize input (#16894)
* replace autosize input with internal alternative

* remove dependency

* cleanup styles
2023-08-03 10:54:46 +01:00
David Newell
eb71304d5a
chore: upgrade html-webpack-plugin (#16892)
upgrade html-webpack-plugin
2023-08-03 10:11:54 +01:00
David Newell
fdec382ce4
chore: upgrade react-resizable (#16891) 2023-08-03 10:06:22 +02:00
David Newell
9fad7f4bab
chore: upgrade react-virtualized to support React 18 (#16890)
* chore: upgrade react-virtualized to support React 18

* 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-08-02 16:26:40 +01:00
Michael Matloka
d48446e9fe
chore(lemon-ui): Fix up table rendering following #16825 (#16875)
* chore: Update UI snapshots of tables

* Fix accidental header stickiness

* Fix some other weirdness too

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Fix minor styling issue

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-02 13:47:21 +02:00
David Newell
85b906c7c6
fix: recording timestamps (#16866)
* create notebook with paragraph

* focus editor at end only after creating a notebook from a comment

* upgrading tiptap had no effect on flush sync issue

* fix some flush sync issues

* fix floating inserter position and previous node lookup

* fix focus position typing
2023-08-02 09:50:00 +01:00
Arun Chaitanya
34f7a9d633
feat(insights): add % of total option to line, bar and area trend insights (fixes #13728, #11276) (#16699) 2023-07-31 09:29:22 +02:00
PostHog bot
f5c7900de9
chore(deps): Update posthog-js to 1.75.2 (#16771) 2023-07-26 10:10:23 +00:00
PostHog bot
838069d433
chore(deps): Update posthog-js to 1.75.0 (#16755) 2023-07-26 09:03:36 +02:00
PostHog bot
bfcd7c8654
chore(deps): Update posthog-js to 1.73.0 (#16679) 2023-07-20 05:53:46 -04:00
David Newell
91a71a531f
feat: add backlinks to notebooks (#16586)
* Backlinks editor extension

* add taxonomic filter

* fix escaping / opening behavior

* Add backlink node

* Backlink node design and behavior

* Cleanup iconography and selection state

* Stlying BEM

* Update triggering command
2023-07-20 10:43:40 +01:00
David Newell
c7b17ad413
chore: upgrade to Webpack 5 (#16648)
* chore: initial Webpack upgrade steps

* use over loaders

* include process

* add process package
2023-07-19 11:48:34 +01:00
PostHog bot
0490a2e13f
chore(deps): Update posthog-js to 1.72.1 (#16639) 2023-07-18 10:53:27 -04:00
PostHog bot
69096b3f5f
chore(deps): Update posthog-js to 1.72.0 (#16626) 2023-07-18 06:38:53 -04:00
Paul D'Ambra
2910288a72
fix: detect if player gets stuck (#16601) 2023-07-17 12:31:24 +01:00
PostHog bot
669b99d642
chore(deps): Update posthog-js to 1.71.0 (#16551) 2023-07-13 06:32:49 -04:00
PostHog bot
15feff5551
chore(deps): Update posthog-js to 1.70.2 (#16476)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2023-07-11 11:03:46 +01:00
PostHog bot
352250f652
chore(deps): Update posthog-js to 1.70.1 (#16454) 2023-07-10 06:30:38 -04:00
David Newell
ecf01801c2
feat: Notebooks links (#16388)
* Support external links

* Open notebook in sidebar when clicking link

* Links as marks not nodes

* Links as nodes again

* Fix white text when selecting a link

* Move logic to selector

* Convert selector with side-effects to action/listener combo

* Rebase fixes
2023-07-10 09:19:45 +01:00
PostHog bot
9ebf395d3f
chore(deps): Update posthog-js to 1.70.0 (#16427)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2023-07-07 13:54:15 +01:00
David Newell
7609f6e7f2
fix: editor simplification (#16383)
* fix: cleanup editor refs so first edit saves

* Use newly exposed editor in command menu

* replace floating menu

* Fix type names

* Fix Storybook test with empty content
2023-07-06 15:10:55 +01:00
David Newell
17bd3d146c
chore: upgrade tiptap to 2.0.3 (#16384) 2023-07-05 13:14:38 +01:00
PostHog bot
95ab050b14
chore(deps): Update posthog-js to 1.69.0 (#16385) 2023-07-05 06:26:12 -04:00
Michael Matloka
fa516b178f
chore(3000): Fix dark mode colors (#16108)
* chore(3000): Fix dark mode colors

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Use more `antd.less` options

* Consolidate `side` and `muted-light`

* Update tailwind.config.js

* Fix minor issues

* Fix more edge cases

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Remove flaky Number from InsightCard stories

* Update UI snapshots for `chromium` (2)

* Remove some old Ant style overrides

* Fix replay colors

* Fix filters banner

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-23 14:44:04 +02:00
PostHog bot
a3b848782a
chore(deps): Update posthog-js to 1.68.4 (#16199) 2023-06-22 10:10:10 -04:00
Harry Waye
ca9ba5e021
ci: top level prettier should just check frontend (#16178)
We already check within the plugin-server.
2023-06-21 16:15:18 +01:00
PostHog bot
e9ec59f9d1
chore(deps): Update posthog-js to 1.68.2 (#16155) 2023-06-20 15:03:33 +02:00
Ben White
687190fa89
feat: Remove flag for infinite scroller and fix issue with reloading (#16148) 2023-06-20 09:45:44 +00:00
Paul D'Ambra
7c521c55b2
fix: update monaco editor (#15993) 2023-06-12 08:53:54 +02:00
PostHog bot
b041ecf274
chore(deps): Update posthog-js to 1.67.1 (#15990) 2023-06-09 16:19:44 -04:00
PostHog bot
58f3e3d740
chore(deps): Update posthog-js to 1.66.1 (#15935) 2023-06-07 05:52:22 -04:00
PostHog bot
b916d8472e
chore(deps): Update posthog-js to 1.66.0 (#15927) 2023-06-06 15:37:57 -04:00
PostHog bot
d42740a4b4
chore(deps): Update posthog-js to 1.65.0 (#15920) 2023-06-06 12:53:24 -04:00
PostHog bot
3151e6a541
chore(deps): Update posthog-js to 1.63.5 (#15900) 2023-06-06 08:34:56 -04:00
PostHog bot
9d1e7836d6
chore(deps): Update posthog-js to 1.63.3 (#15871) 2023-06-02 11:42:31 -04:00
PostHog bot
d27343f29e
chore(deps): Update posthog-js to 1.63.2 (#15830) 2023-06-01 03:44:53 -04:00
Thomas Obermüller
401cdb08a0
fix(pnpm): use latest pnpm version (#15828) 2023-06-01 09:04:42 +02:00
PostHog bot
8f02ac42af
chore(deps): Update posthog-js to 1.63.1 (#15823) 2023-05-31 15:49:57 -04:00
PostHog bot
81d7bc1983
chore(deps): Update posthog-js to 1.63.0 (#15810) 2023-05-31 10:03:35 -04:00
PostHog bot
41c1999e83
chore(deps): Update posthog-js to 1.61.0 (#15792) 2023-05-30 10:47:50 -04:00
PostHog bot
fc30c59894
chore(deps): Update posthog-js to 1.60.0 (#15779) 2023-05-30 06:17:50 -04:00
PostHog bot
f0553ed7be
chore(deps): Update posthog-js to 1.59.0 (#15778) 2023-05-30 05:05:50 -04:00
PostHog bot
f8805145d2
chore(deps): Update posthog-js to 1.58.0 (#15742) 2023-05-26 04:17:45 -04:00
PostHog bot
7b7dde3f75
chore(deps): Update posthog-js to 1.57.4 (#15718) 2023-05-25 08:14:40 -04:00
Ben White
33113b0494
feat: Improved Notebooks UX (#15561) 2023-05-24 12:44:57 +02:00
PostHog bot
3e816cda08
chore(deps): Update posthog-js to 1.57.3 (#15669) 2023-05-23 08:06:31 -04:00
PostHog bot
e2aaddc1f3
chore(deps): Update posthog-js to 1.57.2 (#15589) 2023-05-17 09:06:42 -04:00
Thomas Obermüller
4779f2574c
chore(posthog-js): bump version to alpha (#15584) 2023-05-17 11:39:36 +00:00
PostHog bot
80a329df72
chore(deps): Update posthog-js to 1.57.1 (#15582) 2023-05-17 06:47:40 -04:00
Paul D'Ambra
8274275e3f
chore: update all the cypress dependencies (#15522) 2023-05-12 13:01:29 +01:00