0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00
Commit Graph

7443 Commits

Author SHA1 Message Date
Dylan Martin
f592bd5340
fix(surveys): fix broken NPS survey results (#22647)
* save work for a bit

* remove logs and implement change

* clean up

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* added postgres migration

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update posthog/migrations/0420_set_all_survey_responses_to_be_strings.py

Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>

* Update UI snapshots for `chromium` (2)

* fix the query

* modified the migration a bit and added a test

* fix some type errors

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* test a reg'lar

* 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` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* explicitly set up relations, hopefully avoiding the hedgehog_config errors

* Update posthog/migrations/0420_set_all_survey_responses_to_be_strings.py

Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>

* removed merge migration

* 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` (1)

* Update UI snapshots for `chromium` (2)

* 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: Neil Kakkar <neilkakkar@gmail.com>
2024-06-05 14:08:48 -04:00
Thomas Obermüller
822b5dbce5
feat(hogql): implement query based funnel cards (#22710) 2024-06-05 16:49:38 +00:00
David Newell
cb560522aa
feat: UniversalFilters (#22707) 2024-06-05 15:30:30 +01:00
Michael Matloka
2fd08f6717
fix(activity): Fix live events host (#22709)
* fix(activity): Fix live events host

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-05 15:22:25 +02:00
Thomas Obermüller
0c388ffe49
feat(hogql): use query based dashboard cards for trends (#22400) 2024-06-05 13:00:39 +00:00
David Newell
17a376c57c
chore: abstract PropertyFilters logic (#22625) 2024-06-05 11:42:00 +01:00
Juraj Majerik
7d29130947
fix(feature flag): fix schedule enable/disable toggle (#22703) 2024-06-05 10:40:48 +00:00
Tom Owers
1900f80627
feat(data-warehouse): Add breakdown by data warehouse person properties (#22685)
* Add breakdown by data warehouse person properties

* Added warehouse support to breakdowns on funnels

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Added unit test

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-05 10:32:42 +00:00
Eric Duong
029518664b
chore(data-warehouse): update sources UI in form (#22695)
* update sources

* 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)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-05 11:21:52 +01:00
Michael Matloka
395ae82a14
feat(insights): Increase HogQL and CSV export row limit (#22637)
* feat(insights): Increase HogQL and CSV export row limit

* Update query snapshots

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-05 09:31:47 +00:00
Michael Matloka
18e3bd16d4
fix(login): Don't show note about regions on hobby (#22627)
* fix(login): Don't show note about regions on hobby

* 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-06-05 11:27:12 +02:00
Nikita Vorobev
1f3d6b8664
feat(alerts): init data model and CRUD (#22554) 2024-06-05 09:12:26 +02:00
Raquel Smith
8e900a26e6
feat: allow viewing of activity side panel when impersonating (#22682) 2024-06-04 21:35:33 +00:00
Raquel Smith
52b2c40ff6
feat: change language on person profile popup (#22648) 2024-06-04 14:03:54 -07:00
Raquel Smith
86c64f9be7
fix: remove feature gate for action description (#22687)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-04 13:29:57 -07:00
Tiina Turban
354422a305
feat: pipeline-ui-3000 batch export runs (#22552) 2024-06-04 19:00:59 +00:00
Julian Bez
1d437c171c
fix(insights): Fix dashboard export size again (#22671) 2024-06-04 17:36:23 +00:00
Juraj Majerik
53af2e463a
fix(experiment): fix MDE modal insight query (#22680) 2024-06-04 19:14:48 +02:00
Eric Duong
a3935ef6af
chore(data-warehouse): revert update states (#22681)
Revert "chore(data-warehouse): update states (#22580)"

This reverts commit 2dcef5cff9.
2024-06-04 16:54:27 +00:00
Eric Duong
894a659064
chore(data-warehouse): add beta notice (#22646)
* add pricing notice

* Update UI snapshots for `chromium` (2)

* change pricing to beta notice

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* change zendesk logo

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-04 15:55:40 +00:00
Thomas Obermüller
bec807f878
fix(properties): fix invalid property filters (#22656) 2024-06-04 17:55:13 +02:00
Juraj Majerik
6a097d7f4c
chore(surveys): refactor survey preview (#22617) 2024-06-04 15:30:33 +00:00
Eric Duong
2dcef5cff9
chore(data-warehouse): update states (#22580)
* add data warehouse source tables into pipeline ui

* add empty state

* types

* ui

* total rows synced column

* use active instead of completed and failed is error

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* fix test

* change enum

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-04 11:11:45 -04:00
Paul D'Ambra
57078709d7
fix: console warning from the toolbar (#22660)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-04 14:24:07 +00:00
Tiina Turban
e61ccb4b54
feat: Pipeline UI: metrics page use insights like date selection (#22601) 2024-06-04 16:12:13 +02:00
David Newell
dbe4827de9
feat: add ability to sort path filter rules (#22633)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-04 15:03:51 +01:00
Eric Duong
75f5c7c4a9
chore(insights): remove flag hogql-insights-preview (#22651)
* remove flag

* cleanup

* killing code

* update image exporter

* mypy baseline

* test_insight_cache

* kill tests that don't work anymore

* remove settings

* test passes

* test pass

* mypy fixes

* remove commented code

* rename and add capture back in

* remove references to feature flag

* remove the falg

* comment out failing test

* Update UI snapshots for `chromium` (1)

* fix jest

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Fix storybook test

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: Alexander Spicer <aspicer@gmail.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tom Owers <owerstom@gmail.com>
2024-06-04 13:08:32 +01:00
Zach Waterfield
e612088c52
feat: live events feed (#22302)
* initial commit

* initial commit

* fix up some types

* Add team id

* add client side filters

* check live events in onboarding

* add eventsource

* clean up live table logic

* add event source module

* Delete eventsManagementDescribers.tsx

* update event source usage

* Update liveEventsTableLogic.ts

* Update UI snapshots for `chromium` (2)

* add team live events token

* Delete liveEventsTableLogic.ts

* Update types.ts

* switch to use window event source

* improvements / feature flags

* cleanup

* update the live event host

* Update UI snapshots for `chromium` (2)

* remove event source lib

* fix up event source types

* Clean up live events view

* Delete eventsManagement.ts

* Update SDKs.tsx

* improve live event typing

* add better loading for the table

* update the live events table columns

* add last batch timestamp check

* add toast for error

* rename events management to activity

* Hookup proper team id

* Update start

* Fix types

* Update some tests

* Put SDKs back with no live event changes

* Update verifiedDomainsLogic.test.ts.snap

* Update verifiedDomainsLogic.test.ts.snap

* 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 query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Use `preserveParams()` in redirect from old URL

* Clean up UI and refactor tabs

* Update E2E tests

* Update UI snapshots for `chromium` (2)

* Don't hide "Reload" when live events available

* Remove unused import

* Update UI snapshots for `chromium` (2)

* Improve local batching reliability

* Make console error clearer

* Clarify directory structure

* Update UI snapshots for `chromium` (2)

* Jot down source of `EventSource` type

* Remove unused scene code

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update a11.cy.ts

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Remove any effects for users with flag off

* Update UI snapshots for `chromium` (1)

* 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: Michael Matloka <michal@matloka.com>
Co-authored-by: Michael Matloka <dev@twixes.com>
2024-06-04 11:33:42 +00:00
Juraj Majerik
fd67f7d1bd
fix(billing UI): fix success color (#22634) 2024-06-04 09:12:14 +02:00
Zach Waterfield
30f2e844ee
chore: remove onboarding reverse proxy ff (#22638)
* turn off the onboarding reverse proxy ff

* Update onboardingLogic.tsx

* Update onboardingLogic.tsx

* Update UI snapshots for `chromium` (2)

* 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-06-03 20:37:01 -04:00
Zach Waterfield
bf745b7da4
chore: remove the email-verification-ticket-submission ff (#22639)
* Remove the email-verification-ticket-submission ff

* 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)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-03 20:36:14 -04:00
Zach Waterfield
9f5551acbe
fix: add a product check first for some features (#22581)
* add a product check first for some features

* Update payGateMiniLogic.tsx

* Update payGateMiniLogic.tsx

* Update payGateMiniLogic.tsx
2024-06-03 20:54:52 +00:00
Zach Waterfield
5ef5937904
chore: remove addon confirm modal and show message instead (#22616)
* Remove addon confirm modal and show message instead

* 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)

* Update UI snapshots for `chromium` (2)

* Update BillingProductAddon.tsx

* 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 billing mock date

* Update BillingProductAddon.tsx

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-03 16:06:43 -04:00
Bianca Yang
e239ccfecf
feat: Remove FF code for enabling sr in pa onboarding (#22643)
* remove ff code

* 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)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-03 12:57:59 -07:00
Thomas Obermüller
f3aab093bf
fix(hogql): derive cache keys from pydantic model_dump (#22465) 2024-06-03 15:34:05 +00:00
Neil Kakkar
cf44d9db1c
fix(flags): Better code snippets (#22589) 2024-06-03 14:59:28 +00:00
Michael Matloka
e3f75263e4
chore(insights): Consolidate HogQL flags to hogql-insights-preview (#22631) 2024-06-03 15:44:56 +02:00
Tom Owers
d224da5d01
feat(hogql): type system (#22587)
* restore wip

* add numeric operator signatures

* Fix all the unit tests

* Improvements to type system

* Updatd mypy

* Fixed mypy issues

* Fixed property types

* Fixed mypy issues

---------

Co-authored-by: eric <eeoneric@gmail.com>
2024-06-03 12:49:01 +01:00
Paul D'Ambra
3ccc2c2a10
chore: add a data attr (#22621) 2024-06-03 12:25:14 +01:00
Frank Hamand
e4594b44a0
remove unnecessary deleteRecordSuccess call in managed proxy (#22475)
this was just to restart polling back in the dark ages before we always
ran the poll check
2024-06-03 08:57:14 +01:00
Eric Duong
f39b6bd4ad
feat(data-warehouse): data imports pipeline UI (#22553)
* add data warehouse source tables into pipeline ui

* add empty state

* types

* ui

* total rows synced column

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* add tooltip

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-02 16:58:35 -04:00
Sandy Spicer
9e2003c8d3
fix: filter width (#22615) 2024-05-31 14:16:48 -07:00
Sandy Spicer
074b4340f0
fix(insights): fix stacked line chart (#22598) 2024-05-31 12:35:46 -07:00
Raquel Smith
0132ff6ade
feat: add person profiles instructions to SDKs (#22403)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-31 17:52:58 +00:00
Tomás Farías Santana
2534f77c30
revert: Make port a tel (#22609) 2024-05-31 16:54:06 +00:00
Marius Andra
72c6d7fb2c
feat(hogql): inline filters into subqueries (#22468) 2024-05-31 10:45:56 +02:00
Sandy Spicer
9cdbbcfefc
feat: move query performance polling to its own celery task in a performant manner (#22497) 2024-05-30 22:25:08 -07:00
Paul D'Ambra
67135f8f73
feat: control heatmap settings from in-app heatmap page (#22522)
Co-authored-by: David Newell <d.newell1@outlook.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-30 20:31:53 +01:00
Raquel Smith
b49fe0ce73
feat: unhide the person profiles UI for those who have access (#22595)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-30 18:58:49 +00:00
Bianca Yang
6acfaf55f5
feat: Final piece of deprecating available features, DB references (#22402)
* remove db ref

* update the migration

* remove referencess from test fixture jsons

* some more removals

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update UI snapshots for `chromium` (1)

* Update query snapshots

* fix migration

* add reverse sql

* fix the migration

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* 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 query snapshots

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

* i think i finally fixed the migration issue

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* update migration post merge

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-30 16:41:22 +00:00