* lz-string compression
* announce to posthog-js that we support lz-string base64 encoding
* add another gzip test, add lzstring base64 test
* compression string refactor
* ignore types for the lzstring library
* 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
It did not run under `fish` shell at all, added a shebang to make it
work.
Also it assumed nodemon is installed globally. Instead we can add
nodemon as a devDependency and use `npx` to run it.
* 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