0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-30 19:41:46 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
Michael Matloka
954852f08b
feat(environments): Environment switcher, behind flag (#25009)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-01 17:08:37 +02:00
Michael Matloka
ea27af75af
fix(ui): Put the Matter "." on a diet (#24991)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-17 16:24:04 +00:00
Michael Matloka
30dbf91db9
chore(frontend): Use Tailwind's base (#24377)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-12 22:03:00 +00:00
Thomas Obermüller
c5dc3b7067
refactor(insights): remove filter based insights frontend side (#24076)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-20 08:02:02 +00:00
Ben White
40c0760d0b
fix: LemonField flex gap (#24278) 2024-08-09 08:15:30 +00:00
Tom Owers
5e86434d39
feat(bi): Bunch of features for BI (#24188)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-06 08:45:24 +00:00
Georgiy Tarasov
ee303a4ba4
feat(insights): first time for user math for Funnels (#24138)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-05 17:37:20 +02:00
Georgiy Tarasov
1a3a550cf5
chore(insights): rename the value field in multiple breakdowns (#23890)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Thomas Obermüller <thomas.obermueller@gmail.com>
2024-07-23 16:12:34 +02:00
camerondeleone
ed15742043
chore: remove beta tag from SQL insight insightNavLogic.tsx (#23757)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Eric Duong <eric@posthog.com>
2024-07-17 10:12:59 +00:00
Georgiy Tarasov
7a3e849521
feat(insights): multiple breakdowns in trends (#23158)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-09 09:12:47 +02:00
Thomas Obermüller
c0ee9f6af3
chore(deps): upgrade playwright to v1.45.0 (#23280) 2024-06-27 18:08:18 +02:00
Zach Waterfield
99767a50c2
feat(billing): subscribe to all products (client side) (#22768)
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-21 09:04:10 -07:00
Zach Waterfield
5c34f549a7
chore: remove pay gate page (#22931)
* add max width to pay gate description

* Remove pay gate page

* Update UI snapshots for `webkit` (2)

* make the pay gate buttons inline

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-13 07:51:11 +00:00
Raquel Smith
1109abd8e4
fix: flappy insight snapshot (#22781)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Paul D'Ambra <paul@posthog.com>
Co-authored-by: Paul D'Ambra <paul.dambra@gmail.com>
2024-06-12 23:06:54 +01:00
Sandy Spicer
9e2003c8d3
fix: filter width (#22615) 2024-05-31 14:16:48 -07:00
Zach Waterfield
6402f5aa4f
feat: teams plan to teams addon (#21741)
* Add flat rate product attribute

* Add flat rate addon pricing

* Clean up show upgrade card logic

* Update BillingProduct.tsx

* Update types.ts

* Improve upgrade button copy

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Get addon scroll to working

* Show addon feature list for teams

* Swap out ordering to look at addons for product features first

* Update support response times panel

* Move logic to kea billingLogic

* Update flat rate usage

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* udpate fixture types

* Fix merge conflict

* Update payGateMiniLogic.tsx

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Add a check for no addons for platform and support

* 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-05-01 16:06:40 -04:00
Julian Bez
cf2a4ee887
fix(insights): Fix bar chart height (#21707) 2024-04-23 14:39:24 +02: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
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
Raquel Smith
cdeaab3871
feat: support addon features for paygate mini (#21352)
* support addon features for paygate mini

* improve addon language

* fix

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* fix

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-04 21:04:00 +00:00
David Newell
ce403eee73
chore: replace antd Select component in ObjectTags (#20981) 2024-03-28 11:36:33 +00:00
Thomas Obermüller
20304feced
fix(insights): fix legacy transformation of properties (#21165) 2024-03-27 18:38:19 +01:00
Juraj Majerik
a11af27742
feat(experiments): new Experiment view (#21064) 2024-03-25 15:47:45 +01: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
David Newell
59b850a0b1
chore: replace icons with different names (#20685) 2024-03-05 09:39:12 +00:00
Thomas Obermüller
588055a0da
fix(tests): upgrade playwright (#20441) 2024-02-20 12:06:04 +00:00
David Newell
8f7a5c9a67
chore: replace icons with package equivalents (#20378) 2024-02-19 16:27:55 +00:00
Julian Bez
10dc8728d6
fix: Improve export asset, reduce breakdown limit (#20206)
* reduce breakdown limit from 1000 to 500
  * it was making too huge CH queries
* remove auto-retry
  * mostly the export fails hard, no point in retrying
* remove sync checking with timeout
  * we don't probably want to keep requests open that long if not needed
  * one simple way makes less problems, less code
* ignore network errors in frontend polling
  * we don't want to say it failed when the server never told us so
* simplify error handling
* simplify url param handling
* rearrange some conditions for readability
* handle some concurrency issues
* add output for funnel "time to convert" results
2024-02-09 09:47:41 +00:00
Thomas Obermüller
e1c68da4bf
chore(3000): remove feature flag (#19416) 2023-12-27 09:52:28 +01:00
David Newell
8c21377411
chore: snapshot all of 3000 (#19480) 2023-12-22 11:38:21 +00:00