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
54dc442201
chore(deps): Update posthog-js to 1.134.0 (#22483) 2024-05-23 15:42:18 -04:00
David Newell
17c7e0d294
chore: date picker remove unused code (#22453) 2024-05-23 11:09:50 +01:00
PostHog Bot
c5db2a5a01
chore(deps): Update posthog-js to 1.132.3 (#22439) 2024-05-22 15:59:25 -04:00
PostHog Bot
52b711c05b
chore(deps): Update posthog-js to 1.131.2 (#22175) 2024-05-08 04:41:48 -04:00
PostHog Bot
fbc08d8e4b
chore(deps): Update posthog-js to 1.131.1 (#22174) 2024-05-08 03:36:04 -04:00
PostHog Bot
13d2915ffe
chore(deps): Update posthog-js to 1.130.2 (#22028) 2024-05-02 06:47:29 -04:00
PostHog Bot
23e80d0108
chore(deps): Update posthog-js to 1.130.1 (#21921)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2024-04-29 13:36:06 +02:00
PostHog Bot
eabf1f093e
chore(deps): Update posthog-js to 1.130.0 (#21884) 2024-04-26 05:14:41 -04:00
PostHog Bot
7e2cfa284c
chore(deps): Update posthog-js to 1.129.0 (#21819) 2024-04-24 12:29:10 -04:00
David Newell
671b053665
chore: upgrade sentry dependency (#21801) 2024-04-24 14:00:11 +01:00
Michael Matloka
d7d03b5985
feat(insights): HogQL calculation of saved legacy insights v4 (#21781)
* Revert "revert(insights): HogQL calculation of saved legacy insights v3 (#21778)"

This reverts commit c0be1d1412.

* Move HogQL in insight serialization to its own flag
2024-04-24 13:39:43 +02:00
Marius Andra
c0be1d1412
revert(insights): HogQL calculation of saved legacy insights v3 (#21778)
Revert "fix(insights): HogQL calculation of saved legacy insights v3 (#21720)"

This reverts commit 3ffa9acd75.
2024-04-23 23:17:47 +02:00
Michael Matloka
3ffa9acd75
fix(insights): HogQL calculation of saved legacy insights v3 (#21720)
* Revert "revert(insights): HogQL calculation of saved legacy insights v2 (#21718)"

This reverts commit 2f019a39ec.

* Fix `CACHE_ONLY` in place of `CALCULATION_ONLY_IF_STALE`

* Make `ExecutionMode` naming unmistakable

* Reset UI snapshots

* Account for #21707's `apply_dashboard_filters` change

* Make `QueryRunner` generic
2024-04-23 16:50:56 +02:00
David Newell
907221067e
chore: upgrade rrweb (#21734) 2024-04-23 15:44:16 +01:00
Julian Bez
5c80885f8e
feat(lint): Add unused-imports eslint plugin (#21750) 2024-04-23 10:26:20 +00:00
Ben White
c0b34067de
feat: Heatmaps toolbar code (#21630) 2024-04-23 07:52:44 +00:00
PostHog Bot
df053ee116
chore(deps): Update posthog-js to 1.128.3 (#21733) 2024-04-22 13:29:54 -04:00
Michael Matloka
2f019a39ec
revert(insights): HogQL calculation of saved legacy insights v2 (#21718)
Revert "fix(insights): HogQL calculation of saved legacy insights v2 (#21595)"

This reverts commit 3e2d28f233.
2024-04-22 11:53:04 +02:00
PostHog Bot
8c8f7bdcfa
chore(deps): Update posthog-js to 1.128.2 (#21708) 2024-04-22 04:40:57 -04:00
Michael Matloka
3e2d28f233
fix(insights): HogQL calculation of saved legacy insights v2 (#21595)
* fix(insights): HogQL calculation of saved legacy insights v2

This reverts commit a6314c6bb7.

* Only use cached results in `process_query` for insight serializer

* Fix type of results

* Rename `RecalculationMode` to `ExecutionMode`

* Fix typing more

* Properly support dashboard filters

* Hacky fix for schema.py

* Don't test legacy `generate_insight_cache_key` with `query`

* Fix importing & typing

* Fix typo

* Update test_query_runner.py

* Account for property filter groups in dashboard filters

* Do return stale result in CACHE_ONLY case

* Fix `execute_hogql_query` espionage

Wow, this was a pain to figure out, only was an issue in CI, because the trigger was `TestCohort::test_creating_update_and_calculating_with_new_cohort_query` running prior to `TestInsight:: test_insight_refreshing_query` – had to use trial and error.

* Fix typing even more

* Don't require `pnpm` for `schema:build:python`

Matters in CI.

* Fix `schema:build:python`

* Fix sed usage

* Move `schema:build:python` to a bash script

* Validate cache properly

Clarifies the `cached_response.is_cached = True` situation.

* Fix Python formatting

* Update UI snapshots for `webkit` (2)

* Add test to ensure /query/ and /inisghts/ use the same cache

* Update mypy-baseline.txt

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-22 10:30:18 +02:00
Julian Bez
a0fc086175
chore(deps): Upgrade ruff (#21648) 2024-04-19 14:19:10 +02:00
David Newell
479cd88c45
chore: make skip inactivity more subtle (#21660) 2024-04-19 09:16:43 +01:00
PostHog Bot
a62f09def8
chore(deps): Update posthog-js to 1.128.1 (#21650) 2024-04-18 09:54:41 -04:00
PostHog Bot
4e4a7b741c
chore(deps): Update posthog-js to 1.128.0 (#21645) 2024-04-18 07:40:01 -04:00
PostHog Bot
28b530befe
chore(deps): Update posthog-js to 1.127.0 (#21643) 2024-04-18 07:20:10 -04:00
PostHog Bot
18b2350e99
chore(deps): Update posthog-js to 1.126.0 (#21597) 2024-04-17 05:59:05 -04:00
PostHog Bot
a1880230fb
chore(deps): Update posthog-js to 1.125.0 (#21578) 2024-04-16 10:35:41 -04:00
PostHog Bot
a4d9eee0b1
chore(deps): Update posthog-js to 1.123.1 (#21573) 2024-04-16 09:54:56 -04:00
PostHog Bot
1fb3644671
chore(deps): Update posthog-js to 1.123.0 (#21570) 2024-04-16 09:16:03 -04:00
PostHog Bot
08339f6494
chore(deps): Update posthog-js to 1.122.0 (#21548) 2024-04-15 15:05:58 -04:00
PostHog Bot
5872f120d2
chore(deps): Update posthog-js to 1.121.4 (#21536) 2024-04-15 06:39:32 -04:00
PostHog Bot
2f5f6acdc4
chore(deps): Update posthog-js to 1.121.3 (#21532) 2024-04-15 04:57:11 -04:00
PostHog Bot
9e14771c4a
chore(deps): Update posthog-js to 1.121.2 (#21516) 2024-04-12 10:25:27 -04:00
PostHog Bot
f8c388bd97
chore(deps): Update posthog-js to 1.121.0 (#21464)
* chore(deps): Update posthog-js to 1.121.0

* Remove __preview_ prefix

---------

Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
Co-authored-by: Robbie <robbie.coomber@gmail.com>
2024-04-10 11:59:11 +00:00
PostHog Bot
5c4abdd8de
chore(deps): Update posthog-js to 1.120.5 (#21457) 2024-04-10 04:54:53 -04:00
PostHog Bot
4190c04fef
chore(deps): Update posthog-js to 1.120.4 (#21451) 2024-04-09 16:40:22 -04:00
PostHog Bot
d1d350f003
chore(deps): Update posthog-js to 1.120.3 (#21429) 2024-04-09 06:24:54 -04:00
Michael Matloka
909e7a9664
feat(support): Add quick "login as relevant customer" for staff users (#21408)
* feat(support): Add quick "login as relevant customer" for staff users

* Add tests for `Team.all_user_with_access_ids`

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Move `tailwind-merge` to prod deps

* Add padding to `NotFound`

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Satisfy mypy

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-08 17:57:26 +02:00
PostHog Bot
587044315e
chore(deps): Update posthog-js to 1.120.1 (#21405) 2024-04-08 10:09:09 -04:00
PostHog Bot
c3cf2ab9b7
chore(deps): Update posthog-js to 1.120.0 (#21398) 2024-04-08 07:20:59 -04:00
David Newell
4b1c253759
chore: upgrade rrweb for playback (#21368) 2024-04-08 11:37:09 +01:00
PostHog Bot
1c37884a23
chore(deps): Update posthog-js to 1.119.2 (#21397) 2024-04-08 06:35:45 -04:00
PostHog Bot
21543ed5c8
chore(deps): Update posthog-js to 1.119.1 (#21395) 2024-04-08 06:07:11 -04:00
PostHog Bot
487fb612ed
chore(deps): Update posthog-js to 1.119.0 (#21387) 2024-04-08 03:34:00 -04:00
PostHog Bot
c0bf8b3b3a
chore(deps): Update posthog-js to 1.118.1 (#21366) 2024-04-05 08:09:38 -04:00
PostHog Bot
d39849e2d0
chore(deps): Update posthog-js to 1.118.0 (#21340) 2024-04-04 09:54:18 -04:00
PostHog Bot
fefb38d5c1
chore(deps): Update posthog-js to 1.117.2 (#21313) 2024-04-03 14:30:19 -04:00
PostHog Bot
e4c7193e3e
chore(deps): Update posthog-js to 1.117.1 (#21312) 2024-04-03 13:57:20 -04:00
PostHog Bot
125dbaeb48
chore(deps): Update posthog-js to 1.117.0 (#21296) 2024-04-03 07:23:44 -04:00
PostHog Bot
e7f2eb9d4c
chore(deps): Update posthog-js to 1.116.7 (#21294) 2024-04-03 06:58:41 -04:00
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