* first try
* add entity query
* fix type issues
* used in trends
* fix test
* change select format
* change var
* add cohort filter
* add cohort conditions
* change pdi to distinct_ids
* change get to post api
* tests
* fixed bug
* isort
* make funnels endpoint backwards compatible, add test to check this
* descriptive comment
Co-authored-by: Alex Kim <alexkim@Alexs-MacBook-Pro-2.local>
Duration measure/verify a hypothesis - are we seeing some (> 500) errors
due to them taking too long?
Previous full url was useless due to search parameters
* Re-add refresh button, respect refresh in API
Also `internal` dashboard always refreshes all.
How it works under the hood - if refresh param is passed, we call cache
updating code before returning the cached results. This bypasses the
need to fetch data from /api/insight and other endpoints which are not
embedding-aware
Mostly solves https://github.com/PostHog/posthog/issues/3609 and
provides a workaround for https://github.com/PostHog/posthog/issues/4587
* Show "last refresh time" in dashboard.
* Remove individual refresh buttons according to TODO
* Add tests
* mypy fix
* fix UI
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
* split up files and organize code
* set up definition drawer and logic and add tagging
* add change owner selection
* definition description editing working
* definition drawer graph and events table
* remove graph logic for now
* small fixes
* property definition doesn't have an owner
* minor tweaks
* lots of small fixes
* show tags on table, disable editing for posthog events, fix tags autocomplete
* fix font sizes and alignment
* allow event limiting and hide behind feature flag again
* linter things
* test fix
* lint
* clean up events limit
* limitOffsetPagination in events
* ignore type
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
* simplify cypress nav menu clicks
* clean unused annotations code
* don't blank all cohorts when deleting one
* add data-test-filters-loading to better target loading indicators in tests
* preload user via django
* create django app context
* persist feature flags in localStorage
* add preflight into app context
* return undefined if no context
* keep user as `null`, it'll be overriden before anything renders anyway via `afterMount`
* remove broken and unused user code
* call `registerInstrumentationProps` when preloading `preflight`
* for cypress premium tests: add a search param to opt-out of using the preloaded context, so we could intercept the users api call
* move scene override to sceneLogic to prevent seeing the login screen when logged in
* open the next scene if login has an url
* merge if to avoid bug
* minor comment clarifications
* refactor afterLoginRedirect()
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
* make sure to add table name to prop clauses so that event/person properties column isn't vague
* pass table name when formatting breakdown query
* add test
* added conversion window in days to funnel trends
* convert floats to ints so that the query doesn't break
* use kea breakpoints instead of debouncing lib
* put conversion input behind ee check
* move event and property definitions to models, refactor models to import via component if user present
* rename Logic to Model
* add personPropertiesModel
* refactor sessionFilters to use personPropertiesModel
* remove personProperties from inside propertyFilterLogic and use the model
* break ternary
* fix cohort and feature flag tests (for virutalized lists)
* remove unused export
* better feature flag logic connection
* hide development overlay until CSS loads
* refactor the way feature flags are loaded for the app
* show a spinner only after a second
* type fix
* simplify active scene
* allow copy/pasting from dev bar
* explain why not to use sceneLogic
* rename file to ts
* create appLogic
* clean up empty component
* remove unused path splitting code (`/url1|/url2`)
* add preflight check to App from AppScene