analytics/assets/js
RobertJoonas 6822b29016
Average Scroll Depth Metric: put scroll depth on the dashboard under a feature flag (#4832)
* migration: add scroll_depth to events_v2

* (cherry-pick) ingest scroll depth

* replace convoluted test with more concise ones

* QueryParser: parse internal scroll_depth metric + validation

* turn QueryComparisonsTest into QueryInternalTest

* rename file

* (cherry pick) query scroll depth 15b14d3

...and move the tests into `internal_query_test.exs`

* review feedback

* Get rid of unnecessary separation between aggregate and group scroll depth
* Drop irrelevant other metrics in tests

* add test ensuring scroll depth unavailable in Stats API v1

* Put scroll depth on the dashboard

* Top Stats
* Main Graph
* Top Pages > Details

* feature flag for dashboard scroll depth access

* ignore credo warning

* enable scroll_depth flag in tests

* remove duplication

* write timestamps explicitly in a test

* revert moving tests around

* Add query_comparisons_test back
* Move scroll_depth tests into query_test
* Delete query_internal_test

* rename setup util (got updated on master)

* use pageleave_factory where applicable

* Use the correct generated query-api.d.ts

* npm format
2024-11-20 13:13:04 +00:00
..
dashboard Average Scroll Depth Metric: put scroll depth on the dashboard under a feature flag (#4832) 2024-11-20 13:13:04 +00:00
liveview Don't track custom events in CE (#4627) 2024-09-26 07:46:21 +00:00
polyfills Add Typescript (#4427) 2024-08-13 11:39:35 +03:00
types Average Scroll Depth Metric: put scroll depth on the dashboard under a feature flag (#4832) 2024-11-20 13:13:04 +00:00
app.js Open verification modal when following drop notification link (#4344) 2024-07-12 06:26:40 +02:00
dashboard.tsx Unify error handling and propose actions to user on error 2024-08-22 11:57:59 +03:00
embed.content.js Allow custom styles to be passed to embedded iframe (#1522) 2021-12-08 11:53:37 +02:00
embed.host.js Embedded dashboard fixes (#2744) 2023-03-14 07:47:07 -03:00