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

13963 Commits

Author SHA1 Message Date
Raquel Smith
4c87ff9a33
feat: add membership level to user / person data (#18332)
* add member level to user analytics metadata

* send event when level changed

* fix mypy

* remove org id from properties

* Update query snapshots

* Update query snapshots

* fix tests

* fix tests

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-21 14:58:33 -08:00
rkph
b4ecb4dff2
fix(ui): Fix content hiding bug on page by setting height to 100% (#18804)
Signed-off-by: phukon <rikiphukon16@gmail.com>
2023-11-21 22:31:10 +00:00
Cory Watilo
e71297deb9
chore(3000): only use secondary text color in 3000 (#18796)
* only use secondary text color in 3000

* 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>
2023-11-21 20:35:15 +00:00
Paul D'Ambra
c085ae8e43
fix: URL vs Name display for Performance Entries (#18797) 2023-11-21 19:50:51 +00:00
Bianca Yang
ecd525644d
feat: Update the organization customer email upon signup (#18724)
* Update the organization customer email upon signup

* Only do this is the person signing up is the owner of the org and there isn't already a
  stripe subscription associated with the org

* undo local changes that shouldn't be in prod

* small tweaks to match backend

* fix test

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: Bianca Yang <bianca@posthog.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-21 10:39:37 -08:00
Paul D'Ambra
a5e2ca1361
feat: network payload capture draft 2 (#18736)
requires: PostHog/posthog-js#902

We don't want to support running posthog/network and rrweb/network plugin at the same time. These changes support that change
improve timeline display
allow raw json view for debugging
2023-11-21 18:29:00 +00:00
Cory Watilo
d868e27001
chore(3000): Updated more icons (#18762)
* updated icon package

* updated side panel, info icons

* added pin filled icon

* updated icons, some text, keywords

* updated star

* swapped backwards label

* latest icon package

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: Michael Matloka <michal@matloka.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-21 17:47:27 +00:00
Paul D'Ambra
61e25b8bb7
fix: frontend CI path detection (#18789) 2023-11-21 17:42:42 +00:00
Li Yi Yu
7851f14cc0
fix(surveys): add min version requirement for version banner so it stops always showing after every update (#18781)
* add min version requirement for surveys

* use local compare and sneak in survey type event usage
2023-11-21 17:26:40 +00:00
Cory Watilo
5e42266639
chore(3000): Dark mode improvements (#18784)
* contrast secondary text from title

* removed unnecessary project home hr in 3000

* fixed dark border color

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-21 11:47:48 -05:00
Thomas Obermüller
41f7799f2f
feat(command-bar): add storybook stories (#18776) 2023-11-21 17:28:54 +01:00
Thomas Obermüller
b846b65c2e
feat(3000): replace command icons (#18770)
---------

Co-authored-by: Cory Watilo <corywatilo@gmail.com>
2023-11-21 17:28:37 +01:00
Paul D'Ambra
1862e4b5b1
fix: disable rrweb network plugin code for switchover (#18783) 2023-11-21 16:12:06 +00:00
Li Yi Yu
9283edfc73
fix(surveys): json stringify only if value is not a string (#18782)
json stringify if value is not a string
2023-11-21 11:01:56 -05:00
Neil Kakkar
d056580b3f
fix(actions): Don't cascade delete actions on user deletion (#18777) 2023-11-21 14:20:02 +00:00
Juraj Majerik
1b7c39576a
fix(feature flags): show the Projects tab to all users (#18769) 2023-11-21 14:58:37 +01:00
Thomas Obermüller
dfc9d31259
feat(3000): add 3000 styles for keyboard shortcut (#18766) 2023-11-21 14:57:10 +01:00
Neil Kakkar
f34d89ca1b
fix(flags): Alter constraints to not delete flags and experiments (#18514) 2023-11-21 13:44:16 +00:00
David Newell
636a64427b
chore: remove unused owner component (#18772) 2023-11-21 13:24:27 +00:00
Michael Matloka
9c58a934dd
style(3000): Make new style switch more clickable (#18773)
* style(3000): Make new style switch more clickable

* Use LemonSwitch in app config
2023-11-21 14:19:15 +01:00
David Newell
c6e04911d3
chore: remove antd input (#18771) 2023-11-21 12:02:23 +00:00
David Newell
b2a1dfd3fd
chore: remove DropdownSelector (#18768) 2023-11-21 11:55:14 +00:00
Robbie
bdda7c4ba7
feat(web-analytics): Change device type to pie (#18515)
* Change device type to Pie chart and show labels

* Fix schema types

* Make pie slices clickable

* Reduce insight min-height on web dashboard

* Update frontend/src/scenes/web-analytics/WebTabs.tsx

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

---------

Co-authored-by: Ben White <ben@posthog.com>
2023-11-21 11:44:21 +00:00
David Newell
f92525c681
fix: data colors for plugins (#18767) 2023-11-21 11:09:50 +00:00
Juraj Majerik
17204002c5
chore(cohorts): change cohorts cache key type (str -> int) (#18744) 2023-11-21 12:08:37 +01:00
Paul D'Ambra
f1c1c66b1e
chore(ci): skip fe when no changes (#18670)
* chore:skip fe ci when no changes

* remove buildjet reference

* fix

* fix

* fix

* fix

* fix
2023-11-21 11:55:05 +01:00
Ben White
e7dfae797f
feat: Switch 3000 (#18765) 2023-11-21 11:50:07 +01:00
David Newell
217b365850
fix: use default color icon 3000 (#18721) 2023-11-21 09:45:56 +00:00
David Newell
7a3df93168
fix: survey response scrollbars (#18758) 2023-11-21 09:45:39 +00:00
David Newell
d7fefa4612
chore: add more metrics to notebooks (#18761) 2023-11-21 09:45:10 +00:00
Tomás Farías Santana
420d5cc066
feat: Heartbeating and asyncio for BigQuery batch exports (#18741)
* feat: Heartbeatting support for BigQuery

* refactor: Wrap blocking IO in asyncio.to_thread

* chore: Enable heartbeat timeout
2023-11-21 10:37:42 +01:00
Julian Bez
63640ffe44
feat(queries): Set ClickHouse max execution time higher for async queries (#18747) 2023-11-21 09:56:00 +01:00
Ben White
0e15477a01
fix: Some issues with onboarding for 3000 (#18746) 2023-11-21 08:40:56 +00:00
PostHog Bot
0cafec3eb4
chore(deps): Update posthog-js to 1.92.0 (#18760) 2023-11-20 14:14:18 -05:00
Thomas Obermüller
cc2d6f0ab0
feat(3000): add data colors (#18753) 2023-11-20 18:51:01 +00:00
David Murphy
73efda37a8
feat(django): allow elements chain as string for certain teams (#18701)
* Adding flag in decide response to allow returning elements chain as a string; related PR: https://github.com/PostHog/posthog-js/pull/823

* Created a separate env var to control this behavior in https://github.com/PostHog/posthog-cloud-infra/pull/2314

* Update query snapshots

* Add env var

* Update query snapshots

* Formatting

* Just use a boolean

* Add test for when ELEMENT_CHAIN_AS_STRING_TEAMS is set and not set

* Fix test

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-20 10:26:43 -08:00
Thomas Obermüller
2a3945be20
feat(search): more search improvements (#18705) 2023-11-20 17:43:54 +00:00
Ben White
897a458446
fix: Circular imports issue (#18518)
* Removed all models in favour of "permanent" mounting

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Fix

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

* Fixed up mounting

* Update UI snapshots for `chromium` (2)

* Fixes for permanent mount

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

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

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Fix api to not have a dependency on logics

* Tried fixing import situation

* Update UI snapshots for `chromium` (2)

* Move deleteWithUndo

* Update UI snapshots for `chromium` (1)

* Fix utils imports

* Moved some things around

* Fixes

* fix up cyclic deps issue

* Moved more types

* Moved things around...

* Fixes

* Remove issue

* Fix

* Update UI snapshots for `chromium` (2)

* Fixed import issue

* Update UI snapshots for `chromium` (2)

* Fixed up api import

* Update UI snapshots for `chromium` (1)

* Fixed the imports!!!!!!

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

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

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Fix imports

* Fix

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Fixes

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Fix

* Fix

* Fix

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-20 18:26:08 +01:00
David Newell
ec9c4cf6ce
fix(lemon-ui): Clearable side action button sizing (#18755) 2023-11-20 18:25:01 +01:00
Ben White
619c75937d
fix: Paste rules into notebooks (#18756) 2023-11-20 17:08:07 +00:00
David Newell
39967bab88
fix: button overflow (#18752) 2023-11-20 16:01:07 +00:00
Robbie
6a380b8de2
feat(web-analytics): Disable world map when geoip app is not enabled (#18745)
Disable world map when geoip app is not enabled
2023-11-20 14:33:56 +00:00
Julian Bez
3cb88c07ab
chore(ruff): Add --fix to ruff check pre commit (#18650) 2023-11-20 15:31:00 +01:00
Xavier Vello
27cb3b2bb1
feat(decide): allow to enable new capture for all but given teams (#18748) 2023-11-20 15:30:43 +01:00
Neil Kakkar
a22edc8faf
fix(experiments): Don't rerender on every input change (#18750) 2023-11-20 14:15:08 +00:00
Robbie
a9528ad4fa
feat(web-analytics): Filter test users from web analytics (#18751)
Filter test users from web analytics
2023-11-20 13:54:59 +00:00
Julian Bez
9a5c644cc7
fix(hogql): Fix query for array of values (#18742)
Fixes #18651
2023-11-20 14:34:19 +01:00
Michael Matloka
c04b5df60f
feat(3000): Allow renaming the current item from the top bar (#18709)
* Allow renaming items via breadcrumbs

* Support 3000 renames in insights, dashboards, and notebooks

* Make all breadcrumbs keyed

* Cancel renaming on navigation away

* Fix EditableField mode sync

* Clarify things a bit

* Restore tuned line height

* Tune insight metadata tags margin

* Add missing breadcrumb keys

* Fix unexpected promises

* Fix dashboard tags margin

It was using a class only defined in `Insight.scss`, so the class didn't actually work in dashboards.

* Fix remaining merge conflict

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Fix a double breadcrumb

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-20 14:25:26 +01:00
Suchith Krishna S Donni
443fb80dc6
fix(cohorts): Alerting functionality when user enters wrong details while creating cohort (#18689)
Co-authored-by: Sukrutha <sukrutha@Sukruthas-MacBook-Air.local>
2023-11-20 12:34:44 +00:00
David Newell
0bbd150e7a
feat(3000): 3000 colors (#18545) 2023-11-20 11:53:12 +00:00