* add test_helper_methods
* move all the tests where the properties are the same for all events to the journey helper
* compare funnel results without caring about person order
* spell words correcterly
* Revert "spell words correcterly"
This reverts commit befb83b183.
* Revert "compare funnel results without caring about person order"
This reverts commit 268927b8ba.
* correct types for test props
* Add groups info to first team event ingested event
* Return isInsert from `insertGroupType`
* Capture an event when GroupTypeManager sees an group type for the first time
* Capture events with instance group also set
* Fix group type manager tests
These were 100% broken
* Tests for capture
* Update a test
* Show group name in various funnel tables
* Add pluralize option, expand usage
* Update tooltip and table 'users' counts
* Update copy for FunnelCorrelation
* Handle a few more views
* Show count in bar graph
* Update labels
* Update frontend/src/scenes/funnels/FunnelBarGraph.tsx
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
* Fix: Connect instead of mount
* Refactor TrendTab a bit
* Support breakdowns in trends and funnel FE
* Show group filters in funnels, paths, retention (#7019)
* add groups property values
* update groups property tests
* newline
* fix
* update test
* python black
* clean up tests
* rename to endpoint in operator value select
* add empty property values test
* do not return in an array
* fix
* d3-sankey alters the object passed into it. we must copy the object we pass to it
* save a path in a test
* don't rely on being able to query the toast when testing if paths saved
* support headers with posthog api util in plugins
* type fixes
* update routing
* fix test
* Revert "update routing"
super().__init__(a)
This reverts commit c4b67d9107.
* Trends: Don't show person modal if aggreagating by groups
* Disable person modal in funnels
Not the ideal implementation we still show links but I think good enough
for now
* Only load person modal if not aggregating by groups
* feat(correlation): use people_url to load people modal
This change adds a new method to the `personsModelLogic` to allow for
specifying a url to be used to retrieve people from. I've avoided
overloading the existing `loadPeople` and rather added a new one,
`lostPeopleFromUrl`.
Currenlty this is only being used by correlations, but the intention is
to extend it's usage to anywhere else that is performing drilldowns to
people from, for instance, the trends aggregation.
* add paycard back
* make labels look right
* remove unused code
* fix typing in test
* fix typing in personsModelLogic
* refactor to make eventUsageLogic work
* fix typing
* fix typing again
* remove some funnel stories
* get storybook working with paycard
* cleaned up the interface a little
* chore(correlation): use `api.get` for fetching people
This updates to use api.get, and also converts the returned uri from the
correlation endpoint to an absolut uri, instead of just an absolute
path.
The `api.get` method expects either an abolute uri, or a relative path.
I'd rather not use an relative path as it's not obvious what it should
be relative to.
* fix tests
* make storybook uris absolute
* Add new sidebar base with project indicator
* Point TopBar logo to app default path
* Fix sidebar sizing
* Make sidebar toggleable
* Constrain Popup max dimensions for mobile
* Fix `.main-app-content` width
* Put icons story at top level of Storybook
* Add pages to SideBar
* Update HelpButton for Lemon Design
* Use fresh icons
* Add breadcrumbs base
* Fix some edge cases
* Flesh breadcrumbs out
* Fix typing
* Fix identifiers
* Address feedback
* Limit `SceneConfig` additions
* `InstanceLicenses` → `Licenses`
* Improve responsiveness more
* Add `breadcrumbsLogic` `path`
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
* release saved insights feature
* remove viewType and add fallback route
* unify ViewType and InsightType into one type now that have the same values
* remove test for insights history
* fix test
* redirect root to saved insights page
* fix tests
* more test fixes
* fix more tests
* try a different fix
* fix missing type
* fix sidebar iteem
* fix type
* refactor saved insights pagination
* create a system to mark logics as stale
* introduce staleness for feature flags
* reload logic results without a custom abstraction
* add test for saved insight reloads
* remove dead code
* update persons index when editing a person
* scroll to top if the page changed
* do not scroll to top if location changed via back/forward
* sync delete flags
* remove dead code
* remove dead code
* revert change
* use ?page=1
* make test pass
* Allow string aggregation_group_type_indexes
* Show dropdown for selecting what to aggregate by in Retention
* Support aggregating by groups in funnels
* Improve mixin further
* Improve mixin
* Paths filtering by groups backend
* update correlation tests, now that CTEs are included in sqls
* use decorator for materialising to ensure clean up happens
* cleanup offending tests
* Bugfix: don't show group types in lifecycle yet
* Clean up taxonomicFilterLogic
Extract selector, avoid copy-pasta and unneeded selector
* Fix up types errors and use/name things appropriately
* Simplify
* Simplify further
* Pass group further down the chain in Taxonomic filters
* Push taxonomicGroup deeper
* Pass groupTypeIndex to backend
* Send data to the backend in right format
* CapitalizeFirstLetter
* Don't show any popovers for group properties
* Update ActionFilterRow
* Handle breakdowns
* Update test
* Remove console.trace
* Extract math logic into a logic
* List options for groups
* Add path
* Fix tooltips
mathsLogic is being used in them now, so we need to wrap parent into a
redux provider
* Improve import
* Send correct values to the BE when selecting math
Co-authored-by: Li Yi Yu <li@posthog.com>