analytics/assets/js/dashboard/stats
Adam Rutkowski 0fa6b688af
Google APIs integration improvements (#2358)
* Make TestUtils module available in all tests

* Add macros patching the application env in tests

Unfortunately a lot of existing functionality relies on
certain application env setup. This isn't ideal because
the app config is a shared state that prevents us from
running the tests in parallel.

Those macros encapsulate setting up new env for test purposes
and make sure the changes are reverted when the test finishes.

* Allow passing request opts to HTTPClient.post/4

We need this to swap custom request building in
Google Analytics import.

* Unify errors when listing sites

* React: propagate backend error messages if available

* React: catch API errors in Search Terms component

* Propagate google API errors on referrer drilldown

* Handle verified properties errors in SC settings

* Add missing tests for SC settings controller

* Unify errors for fetching search analytics queries (list stats)

* Unify errors refreshing Google Auth Token

* Test fetch_stats/3 errors and replace Double with Mox

* Fixup makrup

* s/class/className

* Simplify Search Terms display in case of errors

* Fix warnings
2022-10-24 09:34:02 +02:00
..
conversions Make realtime goal conversions clickable (#2035) 2022-07-21 14:00:42 +03:00
devices Use generic ListReport for pages (#1505) 2021-12-03 13:59:32 +02:00
graph Use React.ref.current() 2022-09-15 12:57:20 +03:00
locations Only show db-ip notice when relevant 2022-05-03 10:38:59 +03:00
modals Fix svg favicons (#2295) 2022-10-04 13:20:51 +03:00
pages Fix links in pages reports 2021-12-07 11:17:15 +02:00
reports Add tooltip to show exact number in lists (#2009) 2022-07-12 23:47:14 +03:00
sources Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
bar.js Improvements to CSV export (#1427) 2021-11-04 14:20:39 +02:00
current-visitors.js Use generic ListReport for pages (#1505) 2021-12-03 13:59:32 +02:00
more-link.js City level location data (#1449) 2021-11-23 11:39:09 +02:00