linkerd2/web/app/test
Thomas Rampelberg 15d3c1fbc4
Add an app-wide context for global props. (#949)
* Add an app-wide context for global props.

We've been passing the `api` object down from the top of the react tree. With
16.x, there's now the ability to have context that can inject anywhere in the
tree. This creates a top level context provider that contains most of the global
variables we've been using (api, appData, ...). It subsequently cleans up some
of the routes and nested components.

- Bumps `react-dom` to 16.3.2 (to match `react`).
- Adds `enzyme-context-patch` for now. This is fixed in enzyme master, but there
  has not been a release yet. Needs to be removed when that is fixed.

* Use a default inside appData for controllerNamespace

* Update syntax of if to use curly brackets
2018-05-24 11:09:02 -07:00
..
fixtures Add queries to prometheus to determine number of fully meshed requests (#983) 2018-05-24 11:05:09 -07:00
ApiHelpersTest.jsx Consolidate calls to /metrics to use the new resource type all (#963) 2018-05-21 10:38:49 -07:00
GrafanaLinkTest.jsx Add a namespace column to the metrics tables (#854) 2018-04-26 16:34:59 -07:00
MetricUtilsTest.js Add queries to prometheus to determine number of fully meshed requests (#983) 2018-05-24 11:05:09 -07:00
ServiceMeshTest.jsx Add per namespace pages that show all resource stats for a namespace (#893) 2018-05-08 14:05:16 -07:00
UtilsTest.js Small UI tweaks for 0.3 prep (#377) 2018-02-19 14:11:03 -08:00
VersionTest.jsx Make the sidebar icon based and collapsed by default (#897) 2018-05-08 12:30:05 -07:00
testHelpers.jsx Add an app-wide context for global props. (#949) 2018-05-24 11:09:02 -07:00