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
4e44ff85d9
chore(deps): Update posthog-js to 1.151.0 (#24085) 2024-07-30 14:15:10 -04:00
Sandy Spicer
a29f4081d3
fix: bump chart-js version (#24058) 2024-07-29 15:14:09 -07:00
Dylan Martin
cf3a55b395
feat(surveys): add support for a 7 point likert scale (#23956)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-25 19:15:53 +00:00
PostHog Bot
82d617c72a
chore(deps): Update posthog-js to 1.149.2 (#23955)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-25 12:15:45 +01:00
PostHog Bot
c7f565830f
chore(deps): Update posthog-js to 1.149.1 (#23943) 2024-07-24 06:18:32 -04:00
PostHog Bot
591b5af11b
chore(deps): Update posthog-js to 1.149.0 (#23908) 2024-07-23 07:59:29 -04:00
PostHog Bot
99925c2528
chore(deps): Update posthog-js to 1.148.2 (#23897) 2024-07-22 17:26:51 -04:00
PostHog Bot
dc37a686bb
chore(deps): Update posthog-js to 1.148.1 (#23878) 2024-07-22 04:50:27 -04:00
Dylan Martin
f2575a0b39
feat(surveys): adds targeting changes to the survey revision history (#23834)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-19 22:39:13 +00:00
PostHog Bot
b9d9d11742
chore(deps): Update posthog-js to 1.146.3 (#23681)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2024-07-12 15:29:26 +01:00
PostHog Bot
031f74f025
chore(deps): Update posthog-js to 1.146.1 (#23654) 2024-07-11 15:41:21 -04:00
PostHog Bot
522009fad4
chore(deps): Update posthog-js to 1.146.0 (#23607) 2024-07-10 12:04:06 -04:00
PostHog Bot
82d5ffe7ac
chore(deps): Update posthog-js to 1.145.1 (#23592) 2024-07-10 05:26:51 -04:00
Juraj Majerik
d1e240eeef
fix(eslint): lint cypress files (#23548) 2024-07-09 09:59:53 +00:00
Georgiy Tarasov
a197a5dad7
fix: patch dayjs to fix the utc timezone bug (#23527)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-08 17:39:55 +02:00
Cory Watilo
dbc7487618
chore(3000): Adds newer products to Help side panel (#22715)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: eric <eeoneric@gmail.com>
Co-authored-by: David Newell <david@posthog.com>
2024-07-08 15:38:47 +01:00
PostHog Bot
a7d8660744
chore(deps): Update posthog-js to 1.145.0 (#23513) 2024-07-08 05:52:46 -04:00
PostHog Bot
52e8c578c4
chore(deps): Update posthog-js to 1.144.2 (#23499) 2024-07-05 16:33:07 -04:00
PostHog Bot
96fea967be
chore(deps): Update posthog-js to 1.144.1 (#23467) 2024-07-04 05:36:01 -04:00
PostHog Bot
a5d3df846d
chore(deps): Update posthog-js to 1.144.0 (#23446) 2024-07-03 11:48:49 -04:00
Juraj Majerik
a1c2038c07
fix(posthog-js): fix changed surveys bundle name + upgrade posthog-js (#23397) 2024-07-03 08:42:16 +02:00
Paul D'Ambra
dd4be4fc3f
feat: remove non-hogql replay filtering (#23345)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-02 09:46:15 +01:00
Thomas Obermüller
c0ee9f6af3
chore(deps): upgrade playwright to v1.45.0 (#23280) 2024-06-27 18:08:18 +02:00
PostHog Bot
730a9c093a
chore(deps): Update posthog-js to 1.141.4 (#23252) 2024-06-26 06:48:34 -04:00
PostHog Bot
592c02ee81
chore(deps): Update posthog-js to 1.141.3 (#23237) 2024-06-26 04:32:55 -04:00
PostHog Bot
4dc0bf2486
chore(deps): Update posthog-js to 1.141.1 (#23230) 2024-06-25 09:54:38 -04:00
Dylan Martin
f49e0af963
feat(surveys): add configurable delay to popup surveys (#22780)
* initial commit

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* fixing the ui a bit

* write tests for the survey_popup_delay api

* remove todos that were todone

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update frontend/src/scenes/surveys/SurveyCustomization.tsx

Co-authored-by: Phani Raj <phani@posthog.com>

* Update frontend/src/types.ts

Co-authored-by: Phani Raj <phani@posthog.com>

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* code review feedback

* add hour max to survey delay

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* not sure how this was reverted, but it's back now

* was this it?

* was this it?

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* use latest version of posthog-js to activate the survey popup delay features

* forgot to commit the lockfile

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Phani Raj <phani@posthog.com>
2024-06-24 23:07:42 +00:00
PostHog Bot
186711f00f
chore(deps): Update posthog-js to 1.140.1 (#23161) 2024-06-21 13:44:44 -04:00
PostHog Bot
0a2b3b7fb7
chore(deps): Update posthog-js to 1.140.0 (#23146)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2024-06-21 16:23:48 +02:00
PostHog Bot
30532a5768
chore(deps): Update posthog-js to 1.139.8 (#23140) 2024-06-21 04:10:20 -04:00
PostHog Bot
9021b79681
chore(deps): Update posthog-js to 1.139.7 (#23138)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2024-06-21 08:56:13 +02:00
PostHog Bot
7b9bf83f36
chore(deps): Update posthog-js to 1.139.6 (#23128) 2024-06-20 21:28:19 +01:00
PostHog Bot
f19e5a9643
chore(deps): Update posthog-js to 1.139.5 (#23114) 2024-06-20 09:30:13 -04:00
PostHog Bot
77d9d8503d
chore(deps): Update posthog-js to 1.139.4 (#23107) 2024-06-20 07:00:01 -04:00
PostHog Bot
d155529a90
chore(deps): Update posthog-js to 1.139.3 (#23064) 2024-06-18 18:27:46 -04:00
Marius Andra
5ec6d44b4c
feat(hog): syntax highlighting for monaco (#23043) 2024-06-18 10:56:44 +00:00
PostHog Bot
7710c62fd2
chore(deps): Update posthog-js to 1.139.2 (#22984) 2024-06-14 11:10:13 -04:00
PostHog Bot
dc786b98cc
chore(deps): Update posthog-js to 1.139.1 (#22897) 2024-06-12 14:40:40 -04:00
PostHog Bot
9a2f08e50e
chore(deps): Update posthog-js to 1.139.0 (#22858) 2024-06-10 14:44:54 -04:00
PostHog Bot
d868ee9c81
chore(deps): Update posthog-js to 1.138.3 (#22836) 2024-06-10 12:05:06 -04:00
Paul D'Ambra
4e657b41aa
chore: dependency wrangling (#22829)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-10 09:49:47 +01:00
PostHog Bot
025b353809
chore(deps): Update posthog-js to 1.138.2 (#22831) 2024-06-10 03:49:36 -04:00
Dylan Martin
10bad1fc90
feat(surveys): posthog changes to support rendering (and not rendering) HTML in surveys (#22699)
* adds a beforeUnload condition to the survey editing experience so that users don't accidentally refresh the page and lose their survey edit progress.  Also fixes an issue where the initial survey creation process never set the isEditingSurvey state to true.

* remove this footer, it's superfluous if we have a sticker header

* omg linter chill I'm DEBUGGING

* Update UI snapshots for `chromium` (2)

* handle the  button logic, and fix the issue where the editing sessions were incorrectly persisting

* remove old log

* remove console logs

* add copy for survey wait period

* don't use local posthog-js

* use published version of posthog-js

* ah it was the LOCKfile

* Update UI snapshots for `chromium` (2)

* don't include this beforeunload stuff that is buggy

* clean more stuff

* default to text for the editor experience of new surveys if no values exist

* commit this for now

* remove log to satisfy the build

* oh jeez this isn't good

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* drawing the rest of the owl

* need to implement these changes too

* use my type everywhere

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* some bad merge resolutions

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* new changes

* fix formatter

* more ruff formatting

* adding some stories, wahey

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* added tests for the new API behavior

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* bring back og test

* a line

* self-review feedback

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* messed up formatting

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* rewrote the components to handle differentiating between tabs and survey content

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* a few more small tings

* proposal for content type setting

* this all works for the non-locked mode, let's get it working for locked stuff now

* this handles all the necessary state management, but still renders the HTML

* this allows us to not render the HTML if the paywall up

* deps

* temporary, I don't want to commit these

* juraj CR feedback

* don't commit the local version of the linked dep

* add permissions to render html to story

* fix selector

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2024-06-06 15:01:24 -04:00
PostHog Bot
fbad2ae0cc
chore(deps): Update posthog-js to 1.136.8 (#22708) 2024-06-05 08:05:16 -04:00
PostHog Bot
f62679f498
chore(deps): Update posthog-js to 1.136.7 (#22674) 2024-06-04 12:35:38 -04:00
Juraj Majerik
6a097d7f4c
chore(surveys): refactor survey preview (#22617) 2024-06-04 15:30:33 +00:00
PostHog Bot
5b20353d45
chore(deps): Update posthog-js to 1.136.5 (#22642)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2024-06-03 20:59:35 +01:00
PostHog Bot
3a7e09de48
chore(deps): Update posthog-js to 1.136.4 (#22630) 2024-06-03 07:09:47 -04:00
PostHog Bot
b6e3cbb759
chore(deps): Update posthog-js to 1.136.1 (#22568) 2024-05-29 12:56:12 -04:00
Tom Owers
5e00b6b1aa
feat(data-warehouse): Added SSH tunnelling option for postgres syncs (#22511)
* WIP

* SSH tunnel for postgres

* Remove unused class

* Updated mypy

* Tests and security

* Added tests for data import

* Update UI snapshots for `chromium` (2)

* Added upterm to debug CI

* Removed hogvm test

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Updated requirements

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Use the correct wheel version

* Update query snapshots

* Update query snapshots

* Restore skipped tests in action

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Skip hogvm tests

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Use ActivityEnvironment for data import tests

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Move test

* Update query snapshots

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-29 15:49:53 +01:00
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