* use the primary blue in the posthog checkbox
* improved comment in vars files to call out manual duplication
* improved comment in vars files to call out manual duplication
* use css var instead
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
* Extract common subquery into a variable
* BE: handle group properties in more cases
* Add tests for lifecycle and sessions query changes
* Better docs
* Stable date range
* Fix table pagination in a few places
* Store current table sorting in the URL for shareability
* Remove stale `data-attr`
* Make empty states smarter too
* Improve things
* wip
* normalise to breakdown and breakdowns on the way out of the API
* read from breakdowns or breakdown property of filters
* wip
* wip
* delete a console.log
* remove console.log and speculative multi breakdown changes
* remove empty test
* remove console log
* more tidying
* more tidying
* more tidying
* simplify funnel logic slightly
* a test for the data transformations with no breakdown
* can test data transformation with a single property breakdown
* keep expanding the test to see why multi prop doesn't display
* don't throw key error if there is no breakdown property to pop from the multi property API response
* funnel step table can detect breakdown without relying on filter
* try to highlight the differences in the paths through TaxonomicBreakdownFilter
* better behaviour when adding and removing multi property breakdowns
* displays multi property breakdown in old style steps funnel views
* it is safe to always show breakdown in new vertical layout
* resolve multi property breakdown typehinting
* updates comment
* updates comment
* don't print breakdown value twice
* tooltip for long values and prettier pill
* convert tests to journeys_for
* fix multi breakdown helper
* better behaviour when navigating between trends and funnels
* Refactor the multi property breakdown helper to calm the mypy type checker down
* safer access to dict in multi property helper
* makes clean filters feature flags aware and keeps breakdown values when switching between trends and funnels
* test fix
* remove overly verbose data tests
* add some more specific tests to multi prop breakdown
* obey mypy
* remove the breakdown type from the backend which was causing serialization issues
Issue was introduced in https://github.com/PostHog/posthog/pull/7283
This is causing /bin/tests, mypy and others to spam unneeded messages
every time these utilities are needed.
* Unify Insights table style with refreshed style
* Fix sorting tooltip edge case
* Run prettier
* Refactor sorting for clarity
* Fix missing type import
* Run prettier
* Put Last modified after Created
* Fix typing and remove useless styles
* Address feedback
* Fix position indicator
* Fix sorting indicators
* Fix typing
* Fix `createdByColumn`
* Improve small things post-merge
* Fix typing
* Fix annotations table
* Unify Persons table with refreshed style (#7320)
* Use new table in Persons
* Finish move
* Highlight unfold less icon
* Don't use bug-prone tooltip
* Update groups as well
* Fix unused import
* Clean up top part
* Update Persons.cy-spec.js
* Further improve top part
* Update component test
* Remove unused imports
* Update persons.js
* Remove extra margin-bottom
* Add background to row expansion for differentiation
* Update components.tsx
* Use feedback
* Improve things post-merge
* Fix tests
* insight route refactor, part 1
* add fromItem to get redirects
* fix some tests
* adjust many more paths
* fix test
* move new insight creation into insight logic
* fix a noisy test
* simplify one test
* open the url with the right filters
* null fix
* fix some more noisy tests
* move saved insights to `/insights`, fix logic tests
* fix cypress urls
* fix some tests
* fix even more insight urls
* wait a bit longer
* add old saved_insights redirect
* this might not be there yet
* rename newInsight -> insightNew
* rename Scene.Insights -> Scene.Insight
* also redirect old searches without fromItem
* fix link
* fix TS merge bugs
* fix import
* fix imports
* fix tests
* fix test
* Run prettier
* fix changes after merge
* switch to a simpler scene
* fix another test
* fix "save as" reset
* rerun tests
* Insight Short URLs (#7259)
* convert a bunch of things to user short_id instead of id
* fix more TS errors
* fix test
* fix jest tests
* various fixes
* add wise words
* type InsightShortId-s to make life easier
* reduce a bit of test noise
* use the InsightShortId in the URL
* fix type
* fix test
* fix insight url preloading
* pass dive dashboards as having insight short ids
* fix short url redirect
* mock scenelogic api
* better types and tests
* type fixes
* fix bug of linking to ourselves
* add back "id"
* get rid of some "getInsightId" calls
* two more
* few more
* refactor last usage of getInsightId
* move files around and improve errors
* make it simpler
* small fixes
* redirect to new url from old hashParam=42
* fix regression
* alert the user if we could not find an insight with the old ID format
* switch to a simpler scene
* fix another test
* Fix annotation creation
* Make short ID friendlier
* remove comments
* simplify insight links from dashboards and saved insights
* remove insight router
* fix TS
* Revert "remove insight router"
This reverts commit e52f474949.
Co-authored-by: Michael Matloka <dev@twixes.com>
Co-authored-by: Michael Matloka <dev@twixes.com>
* Update breadcrumb text
According to https://www.figma.com/file/gQBj9YnNgD8YW4nBwCVLZf/PostHog-App?node-id=5346%3A28614
* Extract code snippets to their own files
* Start refactoring/rewording feature flags pages
* Play with spacing
* Tags, add new and margins
* Delete match group button + margin on save button
* Update UTM_TAGS import
* Add duplicate option
* Update spacing
* update some actions naming
* Show group type(s) selection when groups enabled
* Remove the slider
* Add a new color
* Add grey badges to feature flags page
* Grey badges on FF page
* Toggle taxonomic groups based on dropdown selection
* Reset filters when group type changes
* Update wording
* Handle key change
* More consistent update when Match By changes