You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test/plausible_web/controllers
Matt Colligan 29e37c8342 More improvements for CSV export (#1446)
* Round time_on_page metric returned by 'pages' API

This rounds the `time_on_page` metric returned as part of the `pages`
API to the nearest second. While this shows no apparent change in the
web UI, it removes the decimal from the exported data in `pages.csv`.

* Tidy up export tests

* Round time_on_page in db query

* Add goal to CSV export tests

* Display CSV export spinner until download is ready

The mechanism used to make the page aware that the download is ready is:

- Client code sets a cookie and requests download.
- Server code handles download and removes cookie when complete.
- Client code polls every 1s to check the cookies, removing spinner when
  the export cookie is removed.
5 years ago
..
CSVs More improvements for CSV export (#1446) 5 years ago
api Fix conversions metrics (#1447) 5 years ago
site Invitations (#1122) 6 years ago
admin_auth_controller_test.exs Use GET instead of POST for logout 6 years ago
auth_controller_test.exs Use more path helpers 5 years ago
billing_controller_test.exs Add enterprise plans 5 years ago
invitation_controller_test.exs Make sure ownership transfer sets trial_expiry_date 5 years ago
site_controller_test.exs Use more path helpers 5 years ago
stats_controller_test.exs More improvements for CSV export (#1446) 5 years ago
unsubscribe_controller_test.exs Add presence check when unsubscribing from email reports 6 years ago