linkerd2/web
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
..
app Add an app-wide context for global props. (#949) 2018-05-24 11:09:02 -07:00
srv Include path prefix in location of js asset bundle (#959) 2018-05-16 15:41:50 -07:00
templates Include path prefix in location of js asset bundle (#959) 2018-05-16 15:41:50 -07:00
util/filesonly Introducing Conduit, the ultralight service mesh 2017-12-05 00:24:55 +00:00
Dockerfile Update babel to use `env` and `react-app` as presets. (#976) 2018-05-22 17:17:44 -07:00
main.go UI tweaks: sidebar collapse, latency formatting, table row spacing (#361) 2018-02-19 11:21:54 -08:00