* 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
* Update antd to latest
Some new functionality was required for FF work
* Remove unneeded ts-ignores
* Solve datepicker dayjs mismatch
> frontend/src/lib/components/DateFilter/DateFilterRange.tsx(8,48): error TS2345: Argument of type 'import("/home/macobo/backups/2/projects/posthog/node_modules/rc-picker/lib/generate/index").GenerateConfig<import("/home/macobo/backups/2/projects/posthog/node_modules/rc-picker/node_modules/dayjs/index").Dayjs>' is not assignable to parameter of type 'import("/home/macobo/backups/2/projects/posthog/node_modules/rc-picker/lib/generate/index").GenerateConfig<import("/home/macobo/backups/2/projects/posthog/node_modules/dayjs/index").Dayjs>'.
* Update dayjs - forces single version of dayjs to exist
* Always allow closing the org/project creation modal
* Make org/project creation modals always closable
* Actually disable closing, but just make the mask optional
* run prettier
* Fix modal closing
* Run prettier
Co-authored-by: Sam Winslow <sammywinslow@gmail.com>
* don't add leading slash to absolute url with no protocol
* don't add a base uri in only one funnel instantiation - will probably break tests
* remove console logs
* every API verb normalises URLs
* Add save as button
* Dont use lemon button
* Commit file
* Fix eslint
* Fix issues
* fix
* fix typing
* fix tests
* Remove save and continue editing
* fix test
* Revert "Remove save and continue editing"
This reverts commit 5296f75b49.
* Revert "fix test"
This reverts commit 69b8cd9ae8.
* Copy changes
* Push instead of replace
* remove save new
* split personsLogic for cohorts drawer
* fix "..." in the wrong place
* make key explicit
* patch breadcrumbsLogic
* fix person test
* lemon selectors
Co-authored-by: Michael Matloka <dev@twixes.com>
* Add `LemonTable` base to Feature flags page
* Fix basic styling
* Rework more of the table
* Fix column `align`
* Update eventsListLogic.ts
* Align FF table columns with design
* Add pagination
* Add table loader
* Add `LemonTable` to Storybook
* Add sorting
* Increase feature flags page size to 50
* Add scroll indication
* Fix minor issues
* Fix typing
* Update E2E test
* Sort one column at a time
* Add default sorting
* Improve current page handling
* Use search params for current page state
* Don't mute disabled feature flags
* Add overlay for loading state
* Add profile picture to Created by and improve comments
* Fix `createdByColumn`
* Refactor the More button for reusability
* Fix content sizing (pagination/loader filling full width when scrolled)
* Remove need for `@ts-expect-error`
* Move `Dashboards` to `LemonTable`
* Fix `defaultSorting` on dashboards
* Remove right align from `created_at` column
* Improve all the dashboards