* adds a beforeUnload condition to the survey editing experience so that users don't accidentally refresh the page and lose their survey edit progress. Also fixes an issue where the initial survey creation process never set the isEditingSurvey state to true.
* remove this footer, it's superfluous if we have a sticker header
* omg linter chill I'm DEBUGGING
* Update UI snapshots for `chromium` (2)
* handle the button logic, and fix the issue where the editing sessions were incorrectly persisting
* remove old log
* remove console logs
* add copy for survey wait period
* don't use local posthog-js
* use published version of posthog-js
* ah it was the LOCKfile
* Update UI snapshots for `chromium` (2)
* don't include this beforeunload stuff that is buggy
* clean more stuff
* default to text for the editor experience of new surveys if no values exist
* commit this for now
* remove log to satisfy the build
* oh jeez this isn't good
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* drawing the rest of the owl
* need to implement these changes too
* use my type everywhere
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* some bad merge resolutions
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* new changes
* fix formatter
* more ruff formatting
* adding some stories, wahey
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* added tests for the new API behavior
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* bring back og test
* a line
* self-review feedback
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* messed up formatting
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* rewrote the components to handle differentiating between tabs and survey content
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* a few more small tings
* proposal for content type setting
* this all works for the non-locked mode, let's get it working for locked stuff now
* this handles all the necessary state management, but still renders the HTML
* this allows us to not render the HTML if the paywall up
* deps
* temporary, I don't want to commit these
* juraj CR feedback
* don't commit the local version of the linked dep
* add permissions to render html to story
* fix selector
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
* Revert "revert(insights): HogQL calculation of saved legacy insights v3 (#21778)"
This reverts commit c0be1d1412.
* Move HogQL in insight serialization to its own flag
* fix(insights): HogQL calculation of saved legacy insights v2
This reverts commit a6314c6bb7.
* Only use cached results in `process_query` for insight serializer
* Fix type of results
* Rename `RecalculationMode` to `ExecutionMode`
* Fix typing more
* Properly support dashboard filters
* Hacky fix for schema.py
* Don't test legacy `generate_insight_cache_key` with `query`
* Fix importing & typing
* Fix typo
* Update test_query_runner.py
* Account for property filter groups in dashboard filters
* Do return stale result in CACHE_ONLY case
* Fix `execute_hogql_query` espionage
Wow, this was a pain to figure out, only was an issue in CI, because the trigger was `TestCohort::test_creating_update_and_calculating_with_new_cohort_query` running prior to `TestInsight:: test_insight_refreshing_query` – had to use trial and error.
* Fix typing even more
* Don't require `pnpm` for `schema:build:python`
Matters in CI.
* Fix `schema:build:python`
* Fix sed usage
* Move `schema:build:python` to a bash script
* Validate cache properly
Clarifies the `cached_response.is_cached = True` situation.
* Fix Python formatting
* Update UI snapshots for `webkit` (2)
* Add test to ensure /query/ and /inisghts/ use the same cache
* Update mypy-baseline.txt
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>