* update to kea-typegen that runs through prettier
* remove posthog-js yalc package regression
* add types to toolbar
* add react-dom and react-redux types
* add types to toolbar react components
* convert a lot of components to typescript
* convert more components to typescript
* fix error
* actions return void
* clean up other Type.ts files as well
* fix last untyped files
* upgrade kea, fix webpack config entrypoint
* add stricter typechecking
* add types for a few more files
* fix bug with nth_child selectors (introduced in this PR, now fixed)
* fix one more type
* update to kea-typegen that runs through prettier
* update logic type files
* remove posthog-js yalc package regression
* upgrade to 0.0.32 that fixes error with string literals in defaults
* prettier wants to reformat things
* add test for caching funnels and refreshing
* Closes #1020 WIP shared dashboards
* Make webpack work
* Progress?
* Hash the entire filter and add share tokens
* Make webpack work properly
* Fix sentry error
* Tighten up the caching logic
* Correctly refresh items and show in frontend'
* Add some padding
* fix caching, update layout
* Add cypress tests
* Fix merge conflict mistake
* Convert share_token to boolean
* Hide text when small
* Redo tooltip for lock
* Remove move cursor when in shared mode
* Improve spacing
* Fix state being incorrect
* Use selectors instead of value
* Use const instead of let
* Fix type errors et al
* Increase cache size
* Fix dashboard tests
* Fix team tests
* Add wait time
* Fix tests
* Fix refreshing
* Fix dashboard tests
* Fix test
* Excluded deleted dashboard items and don't show refreshing
* Fix renaming issue
* Fix migrations and fix display of status change
* Use grid for responsive header
* Don't load annotations
* Eslint
* Fix variable naming
Co-authored-by: Eric <eeoneric@gmail.com>
* working table
* add modal
* continue adding to modal
* added function to create global annotation
* format
* test commit
* add precommit
* add update function
* crud working
* add type
* fix tests
* add next
* add prompt
* tests
* frontend
* inital working
* add action ability
* add type
* add test
* add label
* fix test
* Show 0.0% if started out with 0 users
* Make Retention UI in line with the rest of PostHog
Co-authored-by: Twixes <dev@twixes.com>
* Update entityFilterLogic for filter.math_property
* Add new math types and math_property to ActionFilterRow
* Add backend support for new math types
* Update data-attrs
* Add dropdown Cy test
* Add API tests
* Improve process_math style
* Add resiliency to non-number property value occurences
* Annotate for clarity
* Update UI text
* Update UI text a bit more
* Reword tooltip
* Update UI slightly
* Update capitalization
* Improve internal style
* Improve code style
* Filter out property `token`
* Utilize formatted string
* Don't show empty dropdown contents
* Add event_properties_numerical for the future
* Fix dropdown button title
* added modification to date selection as per the issue for automation selection
* added modification to date selection as per the issue for automation selection
* enhanced ctrl + click new tab opening feature
* worked on review changes reverted and fixed over link.js component
* add return method for ctrl click and command click
* use pandas to intercept unique ids
* add people breakdown
* update test
* add people
* remove people tests
* ranked people
* fixed filtering
* people working again
* people paginate on retention working
* fixed sorting
* fix types
* .
* add message for no users
* make lowercase
* remove unnecessary action
* make sure something is always returned
* Add period and update button capitalization
Co-authored-by: Michael Matloka <dev@twixes.com>
* Refine shadows
* Set font weight
* Fix background override
* Set .toolbar-block color to avoid inheritance
* Improve body background check
* Update label style
* Put circle-label style in the right place
* Update UI for cohort filters
* Change cohort filter interface slightly
In TS notation a cohort filter is: `{
key: string, // hashtag followed by cohort ID
value: true,
type: 'cohort'
}`
* Add server-side support for cohort filters
* Optimize PropertyFilter and change tabs width
* Refactor PropertyFilter for better maintainability
* Fix property of undefined bug
* Fix Select values
* Test API
* Resolve merge conflicts with master
* Prettier JS
* Add search to CohortPaneContents and element attributes
* Make cohort filter property more elegant
The relevant type is now
```TypeScript
interface CohortProperty {
key: 'id',
value: number, // cohort ID, e.g. 42
type: 'cohort'
}
```
* Update and enhance test
* Improve code style
* don't show action labels in normal inspect mode
* fix draggable windows on touch devices (close button didn't work)
* show "click for details" to guide users in toolbar button mode
* show actions tooltip
* Closes #1140 Moves total to the bottom of the pie chart
* Changes the tag from h2 to h1 as it has no effect
* Adjusts the width, height, and font size to make everything fit on the dasboard card as well
* Closes #1108 Allows filtering of retention table
* Adds logic to parse properties(filters) from the URL and including the filters while making api request for data
* Adds PropertyFilters component to the rentention table scene
* Adds props that are passed on to the RetentionTable component so that the properties prop is populated
* Fixes failing tests since the person_id wasn't added to the event objects
* Fixes type error for json loads
* Adds frontend and backend test
* Removes print statement
* feat(billing): show message when billing set-up is required
Redirect to Stripe Checkout to set up billing.
* fix(billing): updated copy on billing toolbar
* max-height for the floating windows
* authenticate text alignment
* drag only from the main toolbar button
* fix key errors
* support searching by text
* fade above the heatmap
* keep dock on top
* max height for toolbar block
* put all of the "stats" tab in a block that can scroll
* fix heatmap style
* if I can't `position:fixed` this dock, then let's at least make it animate smoothly
* add link to issue to provide feedback during the beta program
* fix tab alignment
* fix button float color
* default color in float mode
* long press extends the toolbar
* add new logo
* also add logo without text
* add window values plugin
* refactor utils
* support x,y coords in circle
* show toolbar button in new style
* remove float mode
* draging doesn't trigger click
* improve rotation
* improve heatmap number
* position of the close button
* "dock" icons to button
* clarify my choice
* show heatmap in a window
* show heatmap with a border
* use new icons
* open actions tab
* remove unused prop
* move Fade into lib/components
* animate with fire
* fix heatmap icon bug
* don't show X, new stats icon
* heatmap window title
* dock and close also shrink
* flag animation and loading for actions
* dock actions to button when enabled
* actions window
* open actions in button window
* colors for indicators
* close buttons
* inspect X
* add stats view with info
* new icons for close & dock
* add/edit actions in button mode
* color code the different elements in select element view