* By default create annotations globally
* add condition explicitly to checkbox
* fix bug wherre global was being recreated
* fix toParams function
Co-authored-by: Eric <eeoneric@gmail.com>
* 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
* Test lengthening the wait time for the toasts to see if they are less flakey
* use purecomponent hook to prevent unnecessary rerender
* test again
* test again x2
* change pagekey
* test x2
* test
* run on chrome
* remove chrome
Co-authored-by: Eric <eeoneric@gmail.com>
* per-user toggle to use new toolbar
* add migration
* fix test and remove setting
* add choices to toolbar setting
* fix latest_migrations.manifest
* update text
* add hint to restart the browser
* fix test now that the setting is gone
* simplify language
* fix scrollbar taking up space in window
* get actions for elements
* show number of elements found
* fix bug with tooltip position
* clean up text and tooltip
* show labels for elements that have actions
* X button orientation + text color
* remove dashboards tab
* extract colors for elements
* hover styles also applied when selected
* form for new action
* improve ux
* section titles
* no tab animation
* show info on actions
* top align in dock mode
* element action flag mouse events
* very rough actions lists
* show action labels only if inspect active
* more ux updates, hide inspect/heatmap when on actions tab
* action new/edit interface
* remove old actions
* toolbar actions form, various ux fixes and refactoring
* tab refactor, keep element open on inspect
* form via kea, more space
* inpsect element for actions
* select the right fields by default
* action select logic
* highlight elements when creating actions
* highlight action elements when in the list
* remove debug
* select action to edit by clicking on heatmap
* save actions in db
* delete actions
* fix some interactivity
* actions list cleanup in element view
* toolbar ux and code cleanup
* float mode max height
* clarify code
* rename StepField
* try to justify the madness
* add shadow back to float toolbar
* add "dock" button to float mode
* remove elements with width=0 & height=0 from inspect
* align current page icon
* make the name of the action required
* hide heatmap/inspect when the toolbar is closed
* Retention query v0
* First iteration of endpoint
* Return dates labels as well
* Fix the order of result building
* Improve query for retention.
Instead of trying to figure out the "first date", it instead:
1. Figures out what dates every user does events on (WITH query)
2. Then for every date/'first' date combo counts users.
I doubt this is the efficient way to do things but seems to return the
right results.
We now also include time range filter with the query.
* Add empty views for retention
* Add logic for loading data for retention table
* Get a table rendering for retention
* 11 days over 10
This results in a more pretty table
* Remove raw column
* Use correct relative timeframe
* Add spec for retention feature
Note it's currently failing because of missing functionality
* Use query combining for retention queries
* Color cells in retention table
Background color baseline was picked based on already used colors in
css.
Text color switches when crossing a handpicked threshold for legibility.
* Open submenu when navigating to retention
* Add e2e test for retention route
* Add subheader for retention
* Try make mypy happy
* intiial working
* remove animation and added snippets
* full flow working
* reorganize
* more cleanup
* fix linting
* add test for the onboarding flow
* add elixir and send event script
* try without cache
* restore cache and move directory
* udpate case
* add lazy loading to onboarding flow
* move field to team
* .
* update styling
* add default
* migration with default working
* add missing model field
* conditional test based on DOM
* add promise return
* try wait
* test again x2
* WIP #517 feature flags
* Fix default filters
* Move decide to its own file
* Bump posthog-js 1.2.2
* Fix decide endpoint
* Add logic, update posthog-js
* yarn lock
* update snippet
* Add cypress tests
* Add example code
* Fix example code
* Add tests for query size
* Add errors when trying to create feature flag with same key
* Add explanation comment
* Fix cypress tests
* Do caching of teams in Team model
* Use <= instead of <
* Instrumentation and fix
* Fix ci test
* Add patch for team
* Debug test
* It passed
* initial working
* add test
* fix test
* update paginating format
* merge master
* fix errors
* lint error
* use results instead of result
* more lint errors
* Temporary Hack™ - allow access to the events API via the temporaryToken
* Consolidate small utility functions
* Heatmap [WIP]
* Let the mouse through
* adjust z-index
* no heatmap pointer events when inspecting
* bolder and more interactive toolbar button
* zoom and padding for float mode heatmap
* extend toolbar buttons from the mouse distance, add toggle for heatmap
* animated spinner when showing the heatmap
* add labels to circles
* fix distance bug
* more text shadow
* also highlight inspect element after something has been highlighted
* hover heatmap element
* highlight selected elements
* show metadata for heatmap
* reorder elements
* show inspect element box
* tiny "x" in magnifying glass
* close selected element metadata
* heatmap element click data
* add "add action" stub
* fix element selection logic ux inconsistencies, add esc support
* actionstep display
* move events around
* inspect element rect also via react
* extract element trim logic (path --> svg), add support for cursor:pointer click targets
* keep yellow markers in bounds, fix positions after a delay after scrolling
* get heatmap data from /api/element/stats/
* scale element metadata
* show ranking in metadata
* rename link to clickable
* remove posthog toolbar from clickable list
* move TemporaryTokenAuthentication to utils
* try to bust the cache
* use authentication screen to get temporaryToken, add toolbarLogic to store all props
* use button mode if not authenticated
* more control over animation
* can drag unauthenticated button
* hide heatmap when animating
* no need for cascading props
* call a width a width (radius was incorrect as it should be half that)
* clean toolbarButton code
* add 'userIntent' instead of 'defaultTab' to guide the user in adding an action
* enable heatmap in the float/dock toolbar
* re-request authentication on a 403
* small tweaks to scroll update delay and bust cache again
* double-space-cache-bust
* rotating text for logged out button
* split heatmap elements and labels into separate components
* heatmap with inspect element click targets
* also select all elements with cursor:pointer
* merge "inspectElement" and "heatmap" into "element", remove "inspect anything" mode
* fix element tooltip horizontal position
* escape class names in selector
* leave clues for the next time
* toolbar hello text update
* fix css escape issue on nth queries
* fix color in docusaurus v2 dark mode
* show element info window in sidebar in dock mode
* support ESC
* scrolling and animating won't conflict with each other in dock mode
* close button first unselects
* reverse elements if body is the last one returned
* click to select element in heatmap list
* only show element in toolbar in dock mode
* Order elements by order
* heatmap bottom position min and max heights
* keep window on screen
* remove element hack
* highlight element got stuck
* position heatmap info window better
* Fix tests
* remove selected element when disabling heatmap
* simple auth text
* 3 pixels lower
* center with flexbox
Co-authored-by: Tim Glaser <tim.glaser@hiberly.com>
* initial working
* small adjustments and make tests run
* working cache
* edited arg handling in actions
* caching dashboard trend items with periodic update
* funnel and trend cache working
* update intervals
* update tests
* updated types and funnel refersh logic
* refresh working
* refresh dashboart item logic
* refresh from dashboard working for trends components
* refresh from dashboard working for funnels and funnel refactored to hook
* dashboard item reload
* let deleted items run stale
* fix tests
* tweak decorator logic
* update datetime format and default expiry
* add team to cache signature
* make sure different workers pick up task
* use tooltip and change dashboard refresh order
* fix redundant calls and cache overwriting
* updated types
* Show tooltip when never refreshed
Co-authored-by: Tim Glaser <tim.glaser@hiberly.com>
* Closes #888 filter on elements
* Add joinfield as requirement
* Fix tests
* Use correct element
* Fix paths query
* Delete old migration test
* Clean up
* Add frontend filters for elements, closes #419
* Add element api
* WIP Closes #181 create actions from trends page
* Fix paths and add test
* Keep elements field, otherwise breaks parititons
* Fix many nested selectors
* Don't use join field
* Remove other join field references
* Fix test
* Fix test
* Test unique order
* Remove debugging selector
* Closes #888 filter on elements
* Add joinfield as requirement
* Fix tests
* Use correct element
* Fix paths query
* Delete old migration test
* Clean up
* Add frontend filters for elements, closes #419
* Add element api
* Fix paths and add test
* Keep elements field, otherwise breaks parititons
* Don't use join field
* Remove other join field references
* Fix test
* Add endpoint to get stats on elements
* Add sensible limit
* Put migration back
* Pass team_id as property
* add carets to drop downs in trend page
* round out button for action selecton
* match dropdown icons to dropdown icons above the graph
* fix margins and spacing on trends sidebar
Co-authored-by: Eric <eeoneric@gmail.com>
* Closes #888 filter on elements
* Add joinfield as requirement
* Fix tests
* Use correct element
* Fix paths query
* Delete old migration test
* Clean up
* Add frontend filters for elements, closes #419
* Add element api
* Fix paths and add test
* Keep elements field, otherwise breaks parititons
* Don't use join field
* Remove other join field references
* Fix test
* Add endpoint to get stats on elements
* Add sensible limit
* Put migration back
* longpress supports also clicks - presses that are just not long enough
* button mode for toolbar
* fix bug in zooming out, refactor and annotate some of the animation code
* toolbar button close/float tiny buttons
* fix inspect element in floating mode
* fix the fix :)
* remove console.log
* extract logo
* extract nestable circle component
* css animations for circles
* refactor toolbar to use circle code
* remove animation code
* style fixes
* annotate useLongPress
* clean styles
* show button always
* save drag position
* default to top-right
* add a bit of padding to have space for tooltips
* better padding for remembered width/height
* test recursive search for yarn.lock file
* fix merge
Co-authored-by: James Greenhill <fuziontech@gmail.com>
* Closes #888 filter on elements
* Add joinfield as requirement
* Fix tests
* Use correct element
* Fix paths query
* Delete old migration test
* Clean up
* Add frontend filters for elements, closes #419
* Add element api
* WIP Closes #181 create actions from trends page
* Fix paths and add test
* Keep elements field, otherwise breaks parititons
* Fix many nested selectors
* Don't use join field
* Remove other join field references
* Fix test
* Fix test
* Test unique order
* Remove debugging selector
* Closes #888 filter on elements
* Add joinfield as requirement
* Fix tests
* Use correct element
* Fix paths query
* Delete old migration test
* Clean up
* Add frontend filters for elements, closes #419
* Add element api
* Fix paths and add test
* Keep elements field, otherwise breaks parititons
* Don't use join field
* Remove other join field references
* Fix test
* can zoom out toolbar
* refactor the look
* add kea localstorage plugin
* add test to see if user is logged in or not
* keep width when resizing window
* increase padding on larger screens
* floating box style
* toolbar close button
* show what's on the current page
* fix close and remove tags
* inspect element
* inspect element improvements
* show stats
* inspect element
* give jsURL to the editor in debug mode
* toolbar HMR
* move styles to CSS
* tabs on toolbar
* css for current page block
* links to dashboards and actions
* adjust the location of the X so that we don't always have a horizontal scrollbar
* clean up some css, incl renaming toolbar divs
* refactor webpack config to use a separate config for the editor chunk, in it include all CSS inside the JS
* load styles behind the shadow, render only once all CSS is loaded
* tolerable design for the floating view
* header block for float + css zindex fix
* fix height
* move toolbar to toolbar folder
* add back old toolbar folder
* load by default editor.js, move new toolbar to toolbar.js
* only open toolbar.js by default, not editor.js
* add comment for toolbar setting
* Updated Yarn lockfile
* fix test and rename is_authenticated -> isAuthenticated in json
* get mypy to play along
* refactor tab content into folders
* refactor code structure for toolbar
* simplify floating/docked/float/dock -> float/dock
* small refactor
* upgrade to posthog-js 1.1.0
* fix array copy code
* Closes #877 chunk loading errors
* Closes #877 chunk loading errors
* add chunks to all webpack files, use webpack-html-plugin to make an index.html with the right names
* change to contenthash for better caching
* add dev server on a different port
* store loaded scenes in reducer
* add react-hot-loader
* add react-hot-loader to all code split points
* fix action pages HMR
* ignore cypress screenshots
* generate django login/signup page layout with webpack html plugin
* move to devDependencies
* expose webpack-dev-server ports
* run tests on the production docker image
* start webpack dev server on a custom host if requested
* revert e2e to dev dockerfile
* add test travis config
* add stages
* add travis conf
* cache node and pip
* node 11
* travis ci bump
* node via nvm
* install v12, disable cypress for a moment
* remove 2 commands, test cached build time
* try different yarn cache, add cypress
* add postgres 12
* migrate before cypress
* remove latest postgres for now
* createdb before cypress
* Try different port
* cull packages
* remove hash from main bundle filenames to not break anything
* cypress port 8000
* cypress tests with production docker
* don't use the /code path in e2e test, use docker image
* remove hash from css to work better with editor
* only one export from actions
* remove travis test
Co-authored-by: Marius Andra <marius.andra@gmail.com>
* initial working for current_url
* cleanup logic for screens and pageviews
* initial working for autocapture
* refactor propvalues to use hook
* all necessary start values
* add condition
* cache correctly
* fix linting error
* add test
* fix undefined on hover and repeat start points
* align dropdowns
* fix random start points
* fix input search
* Add property key descriptions to breakdown filter
* Change name in eventstable header
* Move events tables to antd
* Fix test
* Move live actions table over
* Fix tests
* Fix tests
* Fix test
* add pointer to row
* person spacing
Co-authored-by: Eric <eeoneric@gmail.com>
* refactor to hooks and bug fix
* refactor invite team
* remove modal and use antd
* refactor datefilter
* refactor dropdown
* remove unused variables
* fix dau
* Fix invite team styling
Co-authored-by: Tim Glaser <tim.glaser@hiberly.com>
* initial working
* add people endpoint working for cumulative
* remove some magic trings and add test for cumulative
* add type map for dashboard items
* retain previous constant
* update labels
* remove unused variables
* reduce repeat
* refactored paths to hook
* use kea
* add properties logic
* paths filter by properties
* change to Q
* add option for all events
* add test and make tweaks
* fix errors and add url saving on paths screen
* floating collapsible sidebar
* close sidebar with ESC
* don't close sidebar in full screen mode
* sidebar is static also in full reso
* get rid of tooltips when collapsing menu on mobile
* update sidebar open/closed default value based on resolution
* antd modals come on top of the sidebar, now below
* Add property filters to actions
* Show calculating of acitons and other improvements
* Fix delete, add toast back in and change toast colour
* Fix cypress tests
* Fix e2e
* Fix cy tests
* Remove double events
* Fix tests and event not saving
* change name
* Fix tes
* Empty result set error
* initial test
* add yaml
* add logs
* without tail
* run again for consistency
* wait longer
* manuall configure cypress
* use latest ubuntu
* try installing all
* yarn install
* yarn install with cypress
* full flow
* run again for consistency
* initial tests for trends
* handle exception
* separate e2e docker-compose
* run on pr
* trends-testing foundation
* run test
* don't pass everything
* handle uncaught exceptions
* fix dashboard tests
* change email domain
* change dataattr to data-attr and boilerplate cleanup
* base url config
* add script for test runner
* change default postgres
* test all pages
* basic actions per page and create funnel
* trend breakdown filter
* test create action
* add DAU and entity-specific filter
* uncomment
* run test
* .
* add clicks to tables
* add auth
* add changelog
* add dashbaord click
* uncomment test for single funnel
* add test for pinned dashboard
* fix copy paste button and add invite team link tests
* use data-attr for all filtesr
* fix overall filter
* remove filter
* disasble virtual scroll
* uncomment
* remove unnecessary
* run again
* increase timeout
* remove flimsy test
* run again
* add cypress checklist item
* force click cohorts button
* add opt out capture for tests
* remove some tests
* run twice
* .
* run twice
* Closes #737 filter by person properties
* Remove unused selectStyle
* Only get what we need
* show value
* Hide event properties if filtering by person
* Speed up event filtering
* Fix type error
* Remove unused properties_to_Q function
* Fix test
* Closes #772 filter is true/false and is set
* Closes #737 filter by person properties
* Remove unused selectStyle
* Only get what we need
* show value
* Hide event properties if filtering by person
* Speed up event filtering
* Fix type error
* Remove unused properties_to_Q function
* Fix test
* Fix endpoint laoding
* Fix objects filtering
* Fix changing operator
* Fix setting correct value when selecting is_set
* Filter out empty properties
* Fix cohort people properties
* Fix funnel
* Fix cypress test
* update cypress tests
* .
* .
Co-authored-by: Eric <eeoneric@gmail.com>
* initial test
* add yaml
* add logs
* without tail
* run again for consistency
* wait longer
* manuall configure cypress
* use latest ubuntu
* try installing all
* yarn install
* yarn install with cypress
* full flow
* run again for consistency
* initial tests for trends
* handle exception
* separate e2e docker-compose
* run on pr
* trends-testing foundation
* run test
* don't pass everything
* handle uncaught exceptions
* fix dashboard tests
* change email domain
* change dataattr to data-attr and boilerplate cleanup
* base url config
* add script for test runner
* change default postgres
* generalized path type
* generalized path type
* naive implementation
* ui
* add custom field
* moved function
* use lateral join for tag elements
* add regex for custom event condition
* add optional type
* add tests and make adjustments
* updated paths to use new paths query
* add full DOM display
* changed dom tree view to modal
* adjust modal settings
* more resize handles
* see-through loading overlay
* mobile mode, dragging dashboards, make panels wiggle, etc
* use long press and esc to control dragging
* clean up header
* disable dragging when clicking on the background
* clear toast on unmount, disable pointer events when dragging
* rearrange button
* clicking handles doesn't stop rearranging
* fix grid layout import
* fix header layout on mobile
* better alignment of version and worker info in responsive mode
* overflow fix
* pinned dashboards in sidebar
* more visible rearranging toast
* clear dom text selection after starting to resize panels
* add existing dahboard name in the "save to dashboard" modal
* add divider between pinned dashboards and the rest of the menu
* clarify how to exit drag mode
* dragging enabled by default, disabled if iOS or Android, long touch only to enable wobbly mode
* add margin under wobbly dragging mode to make it nicer to move the last item
* can drag panels from anywhere, except tables
* exclude tables from long pressing
* less padding in low resolutions
* Update "See Documentation" URL in Actions
Current URL 30X redirects to your github page. Actual URL seems like it should be: https://docs.posthog.com/#/features/actions
* Update with even newer new docs URL
Update per comment in #783
* add black color scheme
* support full screen dashboards
* stronger shadow when dragging
* fix eslint complaints
* can drag from links
* fix draggable link issue and flash of red
* white color fix
* table scroll fix
* copy, move and duplicate dashboard panels
* better tracking of dashboard item updates between dashboards
* add new items at the bottom
* defaults for layout, set as infinity if null
* copy panel text with link to dashboard
* smart algorithm to pack dashboard items at the lowest spot they fit in
* dropdown style fix
* antd modal style
* update trends on dashboards
* always add as new dashboard item for funnels
* default height as 5
* add more colors to the list
* Update worker stats modal
* make modal close with onCancel, fix dom issue, replace link text icon
* make workerstats ask every 30sec
* update changelog modal to antd
* convert header links to buttons
Co-authored-by: Marius Andra <marius.andra@gmail.com>
* Fix Error404
* resize and drag dashboard items
* fix funnel resize issues
* store layouts in kea
* layouts for different breakpoints
* save layouts after updating
* colors in submenu, but disabled
* save item colors
* 1920-sidebar breakpoint
* add graph colors for graphs with backgrounds
* pie chart label color and z-index to put over the chart if a long number
* Closes #714 allow multiple filters with same key
* New filters for events page
* Make funnels use filters
* Fix cohortgs
* Fix ordering
* Fixed filter on funnels
* Closes #169 break down by cohort
* Fix test
* Prettier breakdown filters
* Rerender each time it's opened
* Fix tests
* Add 'all users' option in breakdown
* Make people work with cohorts
* Precalculate cohorts
* Return last_calculation
* Show precalculation in the frontend
* Closes #675 fix icon alignment
* Frontend fixes, antd and more
* Make sure unsetting breakdown doesn't break things
* Semantic name for migration
* Separate data migration + cohort key bugfix
* Correctly filter people by event
* Typing
* create dashboard model
* add pinned dashboards to submenu
* rename "Default Dashboard" -> "Dashboard"
* refactor SaveToDashboard modal
* save onto right dashboard
* load and show dashboard data
* move logic to separate file
* dashboard selection
* prompt for name
* add promise cancellation for prompts, so that they close when we change the url
* show a global loading progress bar if it takes more than 500ms for any loader to work
* add dashboards on the dashboard page
* pin dashboards
* rename dashboard
* cut off text nicely in the sidebar
* delete dashboards
* dash item "more" link in antd style
* revert to ellipsis
* trigger by click, redirect well with delete
* remember last visited dash, update icons
* better view icons
* refactor Dashboard into subcomponents
* add a sad hedgehog for the 404 page
* fix loading keys
* add a few more overlay hedgehogs
* add new dashboard from "no dashboards" page
* use a hedgehog with a better license
* better redirect when deleting dashboard
* update dashboard items design
* dark sidebar
* make a few other scenes darker
* add a few styles that can be toggled
* add menu to change color of dashboard panel
* move to prompt logic
* new dashboard on dashboards page
* show success message in model
* refactor shared listeners
* rename dashboard item
* add new dashboard when adding to dashboards
* redirect after adding
* fix icon alignment
* undo deleting dashboards
* replace antd message with toast to close programmatically
* remove the style dropdown for now
* set the scene on a new "thread" to avoid react's reconciliation triggering logic building on the current run heap
* fix action run heap issue properly
* use table in dashboard list, link to all dashboards
* support links without hrefs
* empty dashboard style fix
* ignore type
* save created_by user
* remove nprogress spinner
* use antd table to render dashboards
* show "all dashboards" as the default when clicking the link
* pin dashboards automatically
* soft delete
* remove nprogress
* remove nprogress
* remove all caps
* export deleteWithUndo function
* add delete and pin links to dashboards list
* extract some components from EventsTable
* event table refactor
* move logic and load next events
* flip sort order
* eventSelected -> selectedEvent
* put all next fetching through the same fetchEvents action
* event polling
* onClick not needed
* refactor EventElements into separate file
* unique key for events table based on the view that is open
* disable filtering in actions page
* use <A> tag
* fix ===
* make property filter update the filter through the browser URL
* move from react-router to kea-router
* add root redirect
* fix dashboard urls
* remove <A /> tag, keep using <Link />
* load events before the scene opens
* rename ActionEvents -> LiveActions
* use eventsTableLogic for live actions
* when removing a filter, assure that there is a {} at the end
* save path so that we don't update anymore when we move off the page
* preload logic before scene
* better name for property filters
* fix default search input uncontrolled error
* set property filters through the url
* refactor some variable names
* clean active views and cached urls, add "order" to actions from url
* fix some linter errors
* build and pass logic
* turn actionFilterLogic into a controlled logic
* make it work
* small code improvements
* use properties from kea-router's search params
* upgrade kea-router
* use properties hash
* rename actionFilterLogic.js to entityFilterLogic.js and pass logic down in props
* more entityFilterLogic cleanup
* use new router for trends
* use objectsEqual instead of manual JSON.stringify comparison
* router.values.searchParams in propertyFilterLogic.js
* adding new entity type works
* always highlight something in the sidebar
* remove unused FilterLink.js
* refactor active submenu
* add query to link to /people
* funnels work again
* split property filters per id of funnel
* set $pageview or $screen as default action in /trends if just opening the URL, sparking loads of joy
* fix uncontrolled<->controlled input warning
* simpler loading, without breaking DOM rules
* cleaner loading screens
* fix uncontrolled to controlled warning
* do not show links to myself if showing events table under /person/:id
* uncontrolled - controlled input
* remove broken link to step event, fix duplicate key errors
* table loading as overlay if something in table
* show loading overlay only after 500ms
* undefined fix
* 2 more undefined fixes
* use kea-router's combineUrl instead of the homebrewn toParams()
* date filter returns dates as strings
* remove excess dau prop
* remove unused function'
* initial working
* fixed stickiness
* integrate with funnel
* add test
* update UI
* made function readable
* add missing param and check
* optional type
* update key
* add filter symbols
* change null to exact
* test
* add null condition
* remove unnecessary push
* .
* return original line that was accidentally paved
* Add djangorestframework-csv external package
* Export a paginated csv at /api/person.csv
* Do not paginate when a when csv export is requested
* Add export button to download cohort as a csv file
* Fix styling errors caught by deepsource.io
* Suppress checks on an import that mypy is unable to follow
* Dynamically pick person properties including deep nested properties