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

8814 Commits

Author SHA1 Message Date
timgl
5780a285d7
perf(insights): Speed up loading properties (#11037)
* perf(insights): Speed up loading properties

* paginator that doesn't count with manual limit and offset

* fix tests and types

* remove console.log

* one more test that relied on count

* add a full count to every row

* make a query context object that can be used to count or return results

* silence unrelated homepage error

* minimise change surface

* minimise change surface

* override less of the pager

Co-authored-by: Paul D'Ambra <paul@posthog.com>
2022-08-17 16:19:09 +01:00
Neil Kakkar
4d47d149b3
fix(breakdowns): Don't clash with materialised person properties (#11346) 2022-08-17 12:50:32 +00:00
Joe Martin
905781695d
style(emails): Tweaks to emails sent by PostHog (#11302)
* Update-Papercups-Greeting

Updated Papercups greeting to point to existing docs.

* App email improvements

* m

* Update posthog/templates/email/fatal_plugin_error.html

* Delete Papercups.tsx

* Delete Papercups.tsx

* Update posthog/templates/email/first_ingestion_reminder.html

* Update posthog/templates/email/fatal_plugin_error.html

Co-authored-by: Joe Martin <84011561+joethreepwood@users.noreply.github.com>

Co-authored-by: Michael Matloka <dev@twixes.com>
2022-08-17 12:34:29 +00:00
Neil Kakkar
5440a29cf5
chore(plugin-server): Update posthog-node version (#11343) 2022-08-17 12:10:29 +00:00
Michael Matloka
db0221713b
fix(ui): Restore EventBufferNotice margins (#11342) 2022-08-17 12:59:37 +02:00
GitStart
8ef04d084b
feat: make it easier to create new insights (that aren't trends) (#11291)
add data-attr to buttins

Co-authored-by: GitStart <gitstart@users.noreply.github.com>
2022-08-17 12:57:00 +02:00
PostHog bot
164e015100
chore(deps): Update posthog-js to 1.29.0 (#11321)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2022-08-17 10:17:14 +01:00
Michael Matloka
af6f7f5afe
chore(demo): Give PostHog team members staff privileges in demo env (#11292)
* chore(demo): Give PostHog team members staff privileges in demo env

* Add tests

* Remove debug changes

* Update typing and add `is_staff` for existing users

* Update test

* Fix mocking and address feedback

* Debug CI

* Fix issue with tests

* Finally fix the tests

* Add comment

* Update signup.js

* Retain `attr` on email collision error
2022-08-17 10:21:28 +02:00
Paul D'Ambra
b051578f0b
fix: de-foo-ify the taxonomic filter field (#11339) 2022-08-17 08:00:50 +00:00
Paul D'Ambra
dd82d54087
fix: lemonify and fix annotation table (#11319)
* fix: lemonify and fix annotation table

* border all annotation type tags

* don't limit to 2 any more :/

* remove story file that crept in

* simplify diff

* move the buttons

* defuckulate calendar icons
2022-08-17 08:48:02 +01:00
Paul D'Ambra
e30f824cda
feat: no button muted alt (#11278)
* insight card primary alt

* lemon input side icon primary alt

* remove button muted alt

* turn on critical a11y testing for home page

* remove muted alt from scss

* de muteify the password input
2022-08-17 08:43:40 +01:00
Alex Gyujin Kim
5233a4ab0b
refactor(recordings): consoleLogsListLogic (#11152) 2022-08-16 16:18:24 +00:00
timgl
fdf64dc5a1
fix(plugins): Fix editing source code (#11326) 2022-08-16 15:33:05 +00:00
Ben White
8c765d2c3c
fix: Instance Settings visuals (#11323) 2022-08-16 14:12:58 +00:00
Ben White
b29dc480b2
fix: Slack channel listing (#11322)
* fix: Slack channel listing

* Fixed method name

* literal not union

* test name typo

Co-authored-by: Paul D'Ambra <paul@posthog.com>
2022-08-16 14:39:20 +01:00
Ben White
2ce684d354
fix: Width for search inputs (#11318)
* fix: Width for search inputs

* Fixes
2022-08-16 14:07:35 +01:00
Ben White
3a41f73027
fix: Selection of breakdown type for feature flags (#11314) 2022-08-16 15:06:34 +02:00
Ben White
f5557e27b1
feat: Improve AlertBanner readability for warning colors (#11320) 2022-08-16 14:59:06 +02:00
Michael Matloka
ba86613c8e
fix(insights): Show UTC as fallback project timezone (#11212)
* fix(insights): Show UTC as fallback project timezone

* Update FunnelLineGraph.tsx
2022-08-16 14:01:35 +02:00
Ben White
b873bf2cff
fix: Show recordings for a Person even if disabled for the project (#11313)
* fix: Show recordings for a Person even if disabled for the project

* Correct typos

* More typos
2022-08-16 13:49:54 +02:00
Ben White
842e663049
fix: Removed autofocus option for Persons (#11315)
Removed autofocus option for Persons
2022-08-16 12:47:38 +01:00
timgl
54de02fc50
chore: Use depot again for production builds (#11316)
Revert "fix: move back to docker builds for production deployment job only (#10881)"

This reverts commit e8e28e5d0b.
2022-08-16 10:31:31 +00:00
timgl
653da38e83
fix(billing): Show warning at right moment (#11312) 2022-08-16 09:27:40 +00:00
Ben White
b7cdbb505b
feat: LemonInput & TextArea (#11261) 2022-08-16 11:07:50 +02:00
Neil Kakkar
a3d6317fb0
fix(person-on-events): When breaking down by person properties, ignor… (#11296)
fix(person-on-events): When breaking down by person properties, ignore materialised columns
2022-08-16 10:00:53 +01:00
Ben White
c9f45e5eaa
fix: Added missing exception catch to dns verification (#11311) 2022-08-16 08:45:16 +00:00
Michael Matloka
66b05c0d74
refactor: Clarify == null (#11303) 2022-08-16 10:16:59 +02:00
Ben White
8d90b1075c
feat: Lemonify org settings (#11257) 2022-08-16 09:58:18 +02:00
Ben White
a5f2d00cca
feat: Lemonify project settings (#11253) 2022-08-16 09:53:53 +02:00
Karl-Aksel Puulmann
8b0056192d
chore(plugin-server): Update prettier and eslint to latest (#11288)
* chore(plugin-server): bump prettier and eslint

* Solve new warnings/errors
2022-08-16 09:44:52 +03:00
Karl-Aksel Puulmann
4332c15e4b
chore(plugin-server): Update node-schedule to 2.1.0 (#11286)
Changelog: https://github.com/node-schedule/node-schedule/blob/master/CHANGELOG.md
2022-08-16 09:44:44 +03:00
Karl-Aksel Puulmann
2c19a62d67
chore(plugin-server): Update sentry packages to 7.1.0 (#11284)
* chore(plugin-server): Update sentry packages to 7.1.0

Changelog can be found at https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md

* Update imports
2022-08-16 09:44:31 +03:00
Yakko Majuri
676ba1c6dd
feat: lower exportEvents batches even more (#11305)
* feat: lower exportEvents batches even more

* fix code quality
2022-08-15 15:22:48 -03:00
Harry Waye
966e67cc14
chore: preserve the signature of wrapped timed view functions (#11304)
For example django_prometheus will use the Django view function name for
deciding on metric viewfunc label values, which prior to this are all
called `posthog.logging.timing.wrapper`.
2022-08-15 18:42:17 +01:00
Yakko Majuri
77274f5ca8
feat: enable conversion buffer for everyone (#11299)
* feat: enable conversion buffer for everyone

* disable buffer in tests by default
2022-08-15 12:22:11 -03:00
Yakko Majuri
d75ac3e7f2
revert: increase batch sizes for exportEvents (#11300)
Revert "feat: increase batch sizes for exportEvents (#10855)"

This reverts commit b8e177af26.
2022-08-15 14:58:01 +00:00
Neil Kakkar
9712f65111
fix(feature-flags): Speed up and improve groups ff query (#11295)
* fix(feature-flags): Speed up and improve groups ff query

* clean up

* clean up

* make snapshots resilient
2022-08-15 14:57:32 +01:00
Karl-Aksel Puulmann
6bf71eece7
chore(plugin-server): Restart async migration if status.FAILED (#11297)
This is happening on cloud as a result of autoscaling killing pods with
sigterm
2022-08-15 13:24:26 +00:00
Michael Matloka
2a7aa4e7cd
ci: Don't run stale bot on forks (#11289)
* ci: Don't run stale bot on forks

* Rename `docker-image-test.yml` to accurate `ci-e2e.yml`
2022-08-15 10:38:15 +02:00
GitStart
fb640dae11
feat: after duplicating an insight, take me to the edit view (#10975)
update branch

Co-authored-by: GitStart <gitstart@users.noreply.github.com>
2022-08-15 10:26:34 +02:00
Michael Matloka
7bd3cac2f5
refactor(plugin-server): Unify event types (#10612)
* Simplify Event, ClickHouseEvent, PreIngestionEvent, IngestionEvent

* Unify `ClickhouseEventKafka` with `RawEvent`

* Fix imports

* Eliminate PostgresSessionRecordingEvent

* Parse `Event.elements_chain` too

* Update process-event.test.ts

* Update tests

* Make `IngestionEvent['timestamp']` consistent

* Update tests

* Restore `PreIngestionEvent` vs. `PostIngestionEvent` split

* Update worker.test.ts

* Improve typing a bit

* Update tests to work with mandatory `DateTime`

* Remove ClonableIngestionEvent

* Rename RawEvent -> RawClickHouseEvent

* Rename Event -> ClickHouseEvent

* Update prepareEventStep tests

* Update convertToIngestionEvent behavior back to master

* Update tests to compile

* Use branded types for ISO/Clickhouse timestamp string disambiguation

* Test for parseRawClickHouseEvent()

* Update each-batch tests

* Tests for clickHouseTimestampToDateTime()

Co-authored-by: Karl-Aksel Puulmann <oxymaccy@gmail.com>
2022-08-15 10:54:09 +03:00
posthog-contributions-bot[bot]
c5e63a4572
chore(contributors): 🤖 - Add danielthedifficult as a contributor 🎉 (#11281) 2022-08-12 16:51:49 +02:00
Daniel
497f5f678c
fix: add persistent volumes to docker-compose-hobby (#11256)
* Add persistent volumes to docker-compose-hobby

Per the discussion in https://github.com/PostHog/posthog/issues/10792, implemented the "Kessel Fix" in less than a parsec.

* Add warning text to user prompts to avoid data loss

Following discussion with PH team, we wanted to give users the information needed to properly manage the data in their installation and avoid potential data loss.
2022-08-12 15:31:24 +01:00
Michael Matloka
e4e4c98f79
ci(docker): Fix Docker image test job on forks (#10982)
* ci: Fix Docker image test job on forks

* Delete e2e_matrix.json

* Update PostHog/posthog check
2022-08-12 15:40:14 +02:00
Neil Kakkar
2276bacd52
chore(feature-flags): Bump posthoganalytics version (#11149)
* chore(feature-flags): Bump posthoganalytics version

* update
2022-08-12 14:29:36 +01:00
Harry Waye
0af72c9c6f
ci(docker): pass docker image via artifacts (#11262)
* ci(docker): pass docker image via artifacts

Previously we were relying on pulling from ghrc.io. This doesn't work
for external PR contributions. Instead we:

 1. only push if we are the `PostHog/posthog` repo
 2. save the output docker image tar to an artifact
 3. load this when running Cypress tests

These tests are required for merges so it's extra important that we can
do this to accept contributions.

* fix output -> outputs

* push separately

* fix load command

* push all tags

* all tags

* debug available images

* use type=docker

* path is a dir

* Use docker imageid instead of digest

* typos

* output tar size instead of using the repo manifest

* fix image name in summary

* output raw string from jq
2022-08-12 13:16:03 +00:00
Michael Matloka
7821d28fe7
fix(project-settings): Fix wonky Pending Invites UI (#11277)
* fix(project-settings): Fix wonky Pending Invites UI

* Reduce diff
2022-08-12 12:44:39 +02:00
Paul D'Ambra
a22901c8e5
fix: put wrapping flex div back (#11275)
fix: put wrapping flex div back
2022-08-12 10:44:52 +01:00
Paul D'Ambra
adaf26db5e
chore: fix a spelling mistake (#11274) 2022-08-12 08:39:27 +00:00
Paul D'Ambra
46b9d7e1fe
chore: reduce LemonSelect surface area (#11273)
* fix: lemon select clear button was escaping its parent

* dangling class applied

* remove redundant usage of type and status on LemonSelect

* remove type and status prop

* don't need the flex wrapper anymore

* Really remove type and status prop

* only allow small or unsized selects

* have small and large stories

* have small and large stories

* Exclude unused active button prop from select

* switch to pick from omit
2022-08-12 09:22:50 +01:00