linkerd2/web/app
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
..
css Use menu links correctly (don't repeat icon and text links) (#953) 2018-05-14 18:11:12 -07:00
fonts Introducing Conduit, the ultralight service mesh 2017-12-05 00:24:55 +00:00
img Make the sidebar icon based and collapsed by default (#897) 2018-05-08 12:30:05 -07:00
js Add an app-wide context for global props. (#949) 2018-05-24 11:09:02 -07:00
test Add an app-wide context for global props. (#949) 2018-05-24 11:09:02 -07:00
.babelrc Update babel to use `env` and `react-app` as presets. (#976) 2018-05-22 17:17:44 -07:00
.eslintrc Add a couple more eslint rules (#50) 2017-12-15 12:24:42 -08:00
karma.conf.js Add javascript tests (#45) 2017-12-14 15:12:26 -08:00
package.json Add an app-wide context for global props. (#949) 2018-05-24 11:09:02 -07:00
postcss.config.js Introducing Conduit, the ultralight service mesh 2017-12-05 00:24:55 +00:00
webpack.config.js Enable cheap source-map by default (#977) 2018-05-22 07:39:18 -07:00
yarn.lock Add an app-wide context for global props. (#949) 2018-05-24 11:09:02 -07:00