* Fix limit of events in CSV export
* Limit to 100 instead of 101
* Optimize listing events
* Fix typing error
* Limit events to 100 better
* Fix len condition for using broader events queryset
* Add regression test
* Adjust ClickhouseEventsViewSet
* Fix CH events limit in CSV export
* Fix typing and missing +1
* Use limit in _query_events_list
* Add test for bar charts
Since our charts are rendered on a canvas we can't really interact well
with it. Instead, we take a screenshot now (new dependency).
* Debug error in CI
* Make sure images are the same size on CI and locally
* Update plugin server to 0.10.3
* Don't strip plugin server version of nonexistent quotes
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
Co-authored-by: Michael Matloka <dev@twixes.com>
This only "affects" our team and local development. I got tired of
needing to reload after toggling a feature flag locally. This makes it
so that the newly edited flag is applied immediately.
* base table legend
* toggle visibility logic
* colors working
* display data in legend
* clean up types and conditions
* review-points
* missing constant from merge
* Make the table small
* disabled when only 1 is left and add label clickable
* add better label handling
* fix test
Co-authored-by: Tim Glaser <tim@glsr.nl>
* Fix links to people from Retention modal and Funnels.
More details under issue https://github.com/PostHog/posthog/issues/3480
* Fix funnel calculations on self-hosted
Broken by renames within https://github.com/PostHog/posthog/pull/3301
* Handle cached calculations in e2e test runner
When executing e2e tests, celery tasks are evaluated immediately. Previously
due to the caching the funnels never loaded as we overwrite the results immediately.
* Add test for navigating to persons from funnels
* Test for retention visualization and person navigation
* Extract const for a frequent if-statement
* Show bar graph
* Show bar chart breaking down by value
* Don't show interval filter when non-time based visualization
* Set axis color as expected
* Add percentage of total to bar graph
* Include action info in tooltip for value graph
* Support DashboardItem
* Mark prop as optional
* Convert new file to typescript
* Disable bar value for stickiness
* Don't colorize sql for output
* Handle setting array props as values
* Handle arrays exact/is_not property filters
Also updates tests to use parameterization
* Avoid autoclosing PropertyFilter popup
As key changes, old one got removed from DOM
* Improve filter UX
Don't allow filter to become multi-line and keep inputs the same size.
Previous flex={1} was doing flex: 1 1 auto which was messing things up
* Fix typescript issue
* Handle array lookups in postgres
* Update types
* Fix fixture to recreate tables
* Make replace spaces logic consistent with what was there before
* Handle list filtering better in postgres
* Update frontend tests
* Handle edge case: Switching between multi operator and single operators
* Update plugin server to 0.10.1
* Remove PLUGIN_SERVER_INGESTION for plugins tasks/images
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
Co-authored-by: Marius Andra <marius.andra@gmail.com>
* Clarify what anonymize_ips does
* Hide IP before event ingestion, not during (hides it also from the task queues and plugins)
* flip it around
* add IPs to tests that expected them to be there
* "Discard"
* test that everything works when ip is none
* Refactor bulk invites to use OrganizationInviteViewSet
* Refactor BulkInviteModal
* Flyby utils fix
* Make invitation button nicer
* Fix dropdown Invite button
* Fix invites/bulk response status
* Update test_organization_invites.py
* Fix Formula typing
* Fix test_invites_are_create_atomically
* Fix typing
* Update comment
* The to each
* Address feedback and introduce optimizations
* Fix tests
* Polish
* use single invite on user dropdown if email is not available
* Add unit tests for pluralize
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
* Upload static cohort using CSV, closes #2868
* fix tests
* Fix tests
* Fix e2e test
* Avoid double inserts
* Speed up query
* Move to params
* fix tests
* initial cleanup
* initial scaffold for cohort static logic
* intiial frontend changes
* initial working
* fix error on iterable
* stickiness people func refactor
* Use JSON instead of protobuf
* stickiness working
* clickhouse route
* unused import
* move button
* make interface easier to user
* clickhouse support
* restore cache decorator
* endpoint adjustment
* adjust how clickhouse handles inserting for static cohorts
* split out processing into pg
* use worker for clickhouse querying too
* add pg test
* ee test
* add input for cohort naming
* add stickiness test
* condition for when to show save cohort
* fix types
* minor fix
* remove repeats
* remove hardcoded id
* add date handling to trends cohort func
* remove print
* add link on success creation
* cohort working
* fix backend test
* fix cohort typescript
* remove unnecessary kafka topic
* remove brackets
* shift default
* raise exceptions when debug or test is true
* remove test flag
* move trends insight related components to different folder
* change get_earliest_timestamp
* remove extraneous condition
* fix test call
* put behind ff
* fix test x2
* fix tests
* restore exceptions hog
* fix tests
* restore exceptions hog
* fix test x20
Co-authored-by: Tim Glaser <tim@glsr.nl>