* - set a custom cookie to tell the toolbar we're logged in
- make other cookies secure
* skip adding new toolbar cookie on API requests
* fix demo page local https
* enable/disable secure cookies as needed
* show django toolbar only for API requests
* update posthog-js and kea versions
* satisfy mypy
* add SECURE_COOKIES=0 to cypress tests, since they run over HTTP
* revert kea version
* add test for toolbar cookie middleware
* try something for cypress
* add debug
* add cypress-terminal-report for better logging
* fix demo api_url
* revert previous change that triggered cypress
* Add DEBUG overlay bar
* Add z-index
* Implement a tricolor bottom bar
* Add close button and replaced version with git branch
* Improve responsiveness
* Remove extra span opening tag
* WIP refactor sessions queries
Todo
- Fix test_sessions_list test
- Move tests to posthog.queries
* Make determine_compared_filter public
* Fix issues with tests
* Move tests to queries
* Fix test by ordering
* Try printing... not sure why it's giong wrong
* Fix test hopefully
* Try again
* Fix tests definitely this time
* Fix filtering by properties
* Fix compare and empty result set issues
* update to kea-typegen that runs through prettier
* remove posthog-js yalc package regression
* add types to toolbar react components
* logout when closing the toolbar
* reset users's temporary token when logging out
* test for resetting the temporary token
* random commit to rerun cypress
* Add django-statsd for emitting performance metrics to statsd
* prefix metrics with debug unless overwritten
* Only include statsd middleware if the STATSD_HOST env var is set
* Clean up and have logic in one if block
* 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 and configure isort
* isort all the things!
* Use local black and isort, and include json in prettier
* Remove erroneous import
* Delete isort.cfg and add isort options to lint-staged
* isort all the things! (with Black-compatibile options)