analytics/assets/js/dashboard
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
..
components Fix svg favicons (#2295) 2022-10-04 13:20:51 +03:00
stats Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
util Add boundary to tooltip (#2211) 2022-09-13 12:46:01 +03:00
api.js Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
comparison-consumer-hoc.js Adds Main Graph Metric Selection (#1364) 2022-04-13 10:38:47 +03:00
comparison-context.js Adds Main Graph Metric Selection (#1364) 2022-04-13 10:38:47 +03:00
comparison-provider-hoc.js Adds Main Graph Metric Selection (#1364) 2022-04-13 10:38:47 +03:00
datepicker.js Fix svg favicons (#2295) 2022-10-04 13:20:51 +03:00
error-boundary.js Adds dark mode to entire dashboard (#467) 2020-12-16 11:57:28 +02:00
fade-in.js Additional pre-commit hooks (#1428) 2021-11-03 15:46:12 +01:00
filters.js Fix svg favicons (#2295) 2022-10-04 13:20:51 +03:00
historical.js Adds Main Graph Metric Selection (#1364) 2022-04-13 10:38:47 +03:00
index.js Adds Main Graph Metric Selection (#1364) 2022-04-13 10:38:47 +03:00
mount.js Only show db-ip notice when relevant 2022-05-03 10:38:59 +03:00
pinned-header-hoc.js Add fallback if InteractionObserver is unavailable 2022-02-08 15:07:40 -06:00
query.js Pageview custom dimensions (#1816) 2022-04-21 11:47:15 +03:00
realtime.js Adds Main Graph Metric Selection (#1364) 2022-04-13 10:38:47 +03:00
router.js Remove cities feature flag 2021-12-31 12:16:25 +02:00
site-switcher.js Fix svg favicons (#2295) 2022-10-04 13:20:51 +03:00