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

12924 Commits

Author SHA1 Message Date
timgl
927b41d6f0
fix: Remove sportshog during loading (#17106) 2023-08-21 11:39:21 +02:00
Paul D'Ambra
34742ddb70
feat: commenting can be even nicer (#17082) 2023-08-21 08:40:36 +00: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
Paul D'Ambra
64583fe038
chore: use buildjet for visual regression tests (#17098)
* like this?

* run if the workflow changed

* not 2 cpu

* 4 is enough oomph
2023-08-18 22:33:21 +01:00
Raquel Smith
39f58a0460
feat: add data model and initial screen for product-specific onboarding (#17081)
* add products scene

* hover effects on ProductCard

* support dynamic onboarding completed vals

* add onboarding json field to team

* increase width, center text

* add a feature flag

* Update query snapshots

* Update query snapshots

* Update UI snapshots for `chromium` (1)

* Update query snapshots

* make the field show up in the org response

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-18 21:26:36 +00:00
Paul D'Ambra
c9ce43b3c8
chore: fix story date (#17097)
* chore: fix story date

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-18 21:43:58 +01:00
Paul D'Ambra
e0dc9e2dd6
chore: cypress on buildjet (#17096)
* cypress buldjet maybe

* like this?

* try it on a matrix

* on 4 cpu

* typo
2023-08-18 19:23:38 +01:00
Paul D'Ambra
e69acd047c
chore: jest on buildjet (#17095)
* chore: jest on buildjet

* try this

* maybe 8:

* no 4
2023-08-18 17:58:51 +01:00
Michael Matloka
2dcb362629
fix(insights): Show group analytics in exported/shared insights (#17041)
* fix(insights): Show group analytics in exported/shared insights

* Also fix empty check mark

* Mock group types response in stories

* Update test assertions

* Also update frontend logic tests

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update propertyDefinitionsTableLogic.test.ts

* Fix an issue in group types viewset and add tests for good measure

More context here: https://posthog.slack.com/archives/C0428JHABK2/p1692361040699229

* Update query snapshots

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-18 16:58:41 +02:00
Ben White
302930f189
fix: Default Replay list duration (#17090) 2023-08-18 14:15:54 +01:00
Paul D'Ambra
b35a4c1dd7
feat: notebook filtering from notebooks table view (#17027)
* feat: filter notebooks in the notebooks table

* don't break other uses of the logic

* Comment

* Update frontend/src/scenes/notebooks/NotebooksList/NotebooksList.tsx

Co-authored-by: Ben White <ben@posthog.com>

* Update UI snapshots for `chromium` (2)

* wip

* fix

* Fix

* Update UI snapshots for `chromium` (2)

* more fangling

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* fix

* different labels

* Update UI snapshots for `chromium` (2)

* obey mypy

* setup backend for filtering as text

* setup backend for filtering as text

* ah but

* fix

* Update UI snapshots for `chromium` (1)

* move title search to backend

---------

Co-authored-by: Ben White <ben@posthog.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-18 13:40:30 +01:00
Xavier Vello
938f45beb5
fix(exports): hopefully fix onevent stalling by catching job producing errors (#17087) 2023-08-18 14:26:29 +02:00
Paul D'Ambra
9ff3e95aca
fix: group notifications by five minutes (#17077)
* fix: group notifications by minute

* query even less datA

* fewer queries and a five minute trunc

* with attribution
2023-08-18 11:22:20 +01:00
Michael Matloka
0d05aa19d0
fix(insights): Hide empty "Display" options section (#17044)
* fix(insights): Hide empty "Display" options section

* Don't use different color for options count
2023-08-18 11:34:31 +02:00
PostHog Bot
d87e4350a1
chore(deps): Update posthog-js to 1.77.0 (#17085) 2023-08-18 10:59:52 +02:00
Li Yi Yu
beec9074d4
feat(surveys): exclude users who have already seen survey wait period (#17064)
* add condition value for wait period

* do not allow for wait periods under 1 day

* 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-17 15:14:24 -04:00
Raquel Smith
4e53dc74b7
feat: sync distinct ids with billing (#16919)
* update billing distinct IDs on user join/leave org

* temporarily update on usage report send
to update existing orgs

* abstract a bit more

* update existing tests

* add billing_manager test for the method

* Update query snapshots

* specify date

* move outside the transaction

* cache the instance license

* use new instance license method in other places

* fix mypy and some tests

* Update query snapshots

* Update query snapshots

* fix caching in tests

* constrain try/except

* Update query snapshots

* make sure we hae license before update billing

* Update query snapshots

* Update query snapshots

* set to false if no instance license

* fix date

* Update query snapshots

* use correct var

* Update UI snapshots for `chromium` (1)

* clear license cache before running tests

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* fix tests

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-17 11:41:25 -07:00
Ellie Huxtable
ecf7a959dd
fix: Docker compose not picking up env for some reason (#17079)
Docker compose not picking up env for some reason

Will this help?
2023-08-17 15:48:15 +00:00
Tiina Turban
f2ff653a33
chore: metrics for step completions within webhooks (#17056) 2023-08-17 17:07:56 +02:00
Tiina Turban
3c40c8610b
chore: Allow impersonated users to trigger historical exports (#16979) 2023-08-17 16:20:43 +02:00
Ellie Huxtable
377018539d
feat: Use buildjet for ci-backend (#17069)
* ci-backend runs-on -> buildkite

* Use buildjet runners

* Go away old cache

* Fix deps

* Ensure to update the package registry

* Use bigger runners for django tests

* Use ARM for jobs with less concurrency

* Revert "Use ARM for jobs with less concurrency"

This reverts commit bcbf0d7524.

* Fix typo
2023-08-17 15:16:43 +01:00
Xavier Vello
4b5e41d2cc
chore(plugin-server): add tags to redisGet/Set (#17057) 2023-08-17 16:07:17 +02:00
Tomás Farías Santana
74267b0308
fix: Do not parse elements_chain (#17073) 2023-08-17 12:18:32 +00:00
Neil Kakkar
4aeb6d6577
fix(decide): Log all exceptions (#17061) 2023-08-17 10:29:39 +00:00
Tiina Turban
233aa15f2a
chore: Log for failing webhooks (#17062) 2023-08-17 11:30:43 +02:00
Ben White
c93426ae10
fix: Min value for Blobby lag (#17065) 2023-08-17 09:42:32 +01:00
David Newell
017d2fa041
fix: only handle external links (#17063)
only handle external links
2023-08-17 09:21:50 +01:00
Marius Andra
c051d68d4e
feat(data-tables): column configurator on other event tables (#17039)
* feat(data-tables): column configurator on other event tables, persistence setting

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* build schema

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-16 20:17:20 +02:00
David Newell
68cdc7f2b8
chore: remove Typography (#17024)
remove typography
2023-08-16 20:09:45 +02:00
Tomás Farías Santana
4edcc0fe99
feat: Create BatchExport from Export App (#16927)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-16 18:01:18 +00:00
Eric Duong
bc02bef1af
feat(data-warehouse): s3 global join/IN (#16820)
* backend basics for a view

* view parsing "working"

* add tests and make view name unique

* adjust tests

* api tests and edge cases

* typing

* try comment

* fix migration check

* 3 separate tabs

* working create and view view

* add validity checker

* update test

* update test

* Update query snapshots

* Update query snapshots

* add types

* update schema

* Update UI snapshots for `chromium` (2)

* update copy

* adjustments

* view definition

* adjust buttons and ux

* dummy

* edge case for IN operator on s3 table

* remove unnecessary migration

* remove console log

* naming

* Update query snapshots

* Update query snapshots

* update test

* modify statements

* remove ctes and use subquery

* Update query snapshots

* Update query snapshots

* use global join if left is events and right is s3

* add null check

* fix test views

* update tests

* abbreviate test

* abbreviate test

* Update test_s3_table.py

* Update test_database.py

* move IN handling from printer to resolver

* move to resolver

* short circuit

* explicit type check

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-16 14:00:42 -04:00
David Newell
0df3ce722e
fix: notebooks inserter icon (#17060) 2023-08-16 16:30:38 +01:00
Ben White
6f71de3574
fix: Crash on S3 upload issues (#17059) 2023-08-16 15:51:50 +01:00
Tomás Farías Santana
aa6b381ded
fix: Add support for Snowflake legacy export apps schema in BatchExports (#16928)
Co-authored-by: Tiina Turban <tiina303@gmail.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-16 16:07:40 +02:00
Ben White
e1dc70e635
feat: Batch Exports UI rework (#16926) 2023-08-16 15:06:09 +01:00
David Newell
8394a77b66
feat: support links as marks (#16805)
* Merge backlinks with links

* async node paste rule experiments

* paste inline nodes

* Basic mark based link

* cleanup imports

* click handlers

* click handling

* cleanup

* fix async typing

* 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>
2023-08-16 14:45:53 +01:00
Tiina Turban
a7db71670c
chore: enable app metrics for all (#16563) 2023-08-16 15:19:33 +02:00
Paul D'Ambra
8b174819e4
feat: notebook filtering by recordings presence (#16955)
* add filtering by recording

* document for API docs, only show API docs for Notebooks when in debug

* Update query snapshots

* add not working button

* wat

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

* Update UI snapshots for `chromium` (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 query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* wat

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* move logic interactions closer to thome

* Update query snapshots

* Update query snapshots

* wait for the editor before acting on it

* add a method for getting an arbitrary node position

* fix

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* why an array, yesterday me?

* fix

* contains style API filtering

* without no-op clicks

* fix

* Update UI snapshots for `chromium` (2)

* refresh notebook comment button on notebook created

* inline variable

* removes speculative change

* move knowledge around

* add timestamps to existing book in timestamp order

* Fi

* add a cypress test

* Update UI snapshots for `chromium` (2)

* somet stuff

* Update query snapshots

* slightly neater waiting for the editor

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* do we know editor is going to be present?

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* witha finally?

* add todo

* handle commenting when already in a notebook

* allow in-notebook commenting to insert in timestamp order

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* feat: add examples and extend notebook backend filtering to be more generic (#17032)

* feat: add examples and allow relatively generic notebook filtering

* depluralise and absence is truthy

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-16 13:00:25 +00:00
Li Yi Yu
31749e197b
fix(experiments): secondary results with average count fix (#16874)
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2023-08-16 12:53:52 +00:00
Neil Kakkar
05d36c2fa7
fix(flags): Ensure deleting dashboard doesnt delete flag (#17054) 2023-08-16 13:41:14 +01:00
Michael Matloka
52967ecda7
fix(insights): Properly use cached results when query restored (#16974) 2023-08-16 13:53:23 +02:00
Xavier Vello
5f941b4303
fix(ingestion): run processEvent apps on overflow and historical (#17049) 2023-08-16 13:38:16 +02:00
Ben White
a8ade37de5
fix: Recording ingestion metrics with proper lag metric (#17048) 2023-08-16 12:23:02 +01:00
Thomas Obermüller
2831b4c64f
fix(insights): fix refresh link z-index (#17047) 2023-08-16 13:10:01 +02:00
Michael Matloka
e74b2e7d46
fix(insights): Fully support aggregated session duration (#17043)
* fix(insights): Fully support aggregated session duration

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-16 13:07:19 +02:00
Neil Kakkar
c135dd78ae
chore(billing): Ensure we bill old clients for local evaluation (#17053) 2023-08-16 10:56:21 +00:00
Ben White
df3ba837b1
fix: Fix keying of kafka partition based on session_id (#17052) 2023-08-16 10:40:35 +00:00
Neil Kakkar
d08426d7cb
feat(flags): Integrates flag autocapture deeply into other components (#16982) 2023-08-16 10:07:46 +00:00
Michael Matloka
22ecc24847
fix: Fix switching back to previous project after auto-switch (#16941)
* fix: Fix switching back to previous project after auto-switch

* Remove cache updates that mess something up

This was a side change anyway.

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Remove weirdly not working response body assertion

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-16 10:00:02 +02:00
Li Yi Yu
d83cce9920
fix(surveys): do not show header for results insight viz (#17040) 2023-08-15 16:27:19 +00:00