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

806 Commits

Author SHA1 Message Date
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