* Fix weird scrollyness
* Add a project switcher to the ingestion screen
* Let someone go to proj settings
if they haven't onboarded yet
* Let the bridge page scroll if not full screen
* Fix weird hover state on popup
* fix
* feat: no hiding table rows when on dashboard
* only needs to be implemented for dash items which is not query aware yet
* Update frontend/src/scenes/insights/views/InsightsTable/InsightsTable.tsx
Co-authored-by: Thomas Obermüller <thomas.obermueller@gmail.com>
* satisfy TS
---------
Co-authored-by: Thomas Obermüller <thomas.obermueller@gmail.com>
* fix(local-dev): postgres connection max age to 0?
* remove conn_max_age
* 600 in prod/test, only 0 in debug
* Update posthog/settings/data_stores.py
---------
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
* fix(capture-logging): Bind team_id to logger context vars when available
* test(capture-logging): Test logging context on capture tests
* refactor(capture-logging): Move unbind to top of the capture method
* allow listing query insights behind a flag
* slimmest change to load a non insight query in the insight view
* allow queries in saved insights view when flag is on
* choose where to hide insight editor panels higher up in the stack o things
* Update snapshots
* remove insightviz from diff entirely
* write software that actually works
* summary in italics
* lift insight nav more firmly into the insight editing scene
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* feat: use annotation creation type
* show Github on annotation card as well
* use version of the github action that sends creation_type
* ts fangling for tests
* Update frontend/src/scenes/annotations/Annotations.tsx
Co-authored-by: Michael Matloka <dev@twixes.com>
* don't add fake email
* show a nice profile pic for bots
* only one type at a time
* icon source
---------
Co-authored-by: Michael Matloka <dev@twixes.com>
* feat: Add kafka partition metrics table for debugging
* CREATE IF EXISTS
* Everything is a lambda
* make all of the create and drops db specific
* copy pasta fix
Just triple checked that this works well on dev 🚢 it
* feat(performance): prevent dashboards from being refreshed more often than every 5 minutes
* update
* be really specific about which Dayjs is being used to help typegen
---------
Co-authored-by: Paul D'Ambra <paul@posthog.com>
* feat: Add contrains for PersonOverride model
* chore: Rename migration
* fix: Use exact lookup instead eq
* refactor: Use a function to detect existing override_person_id
* fix: Create function when disabling migrations
* refactor: Ensure CREATE FUNCTION sql code is in sync
* feat: Add team_id to PersonOverride's constraint function
* fix: Constraint function not matching right ids
* test(person-overrides): Test the new constraints
* Update snapshots
* fix(setup-test-env): Do not check function bodies
* test(person-overrides): Minimize test case of duplicate override ids
* Update snapshots
* Update snapshots
* fix: Correct migration name
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This removes the timekeeper library and uses jest fake timers instead.
This also creates the hub once and reuses it for all tests, which is
faster than creating a new hub for each test.
This removes the reset db that would happen on every test.
I also add something to prevent the person_overrides table in ClickHouse
from failing to be created after being torn down. The path for the
replica sticks around in Zookeeper so we end up with a conflict on
creation.