linkerd2/web
Risha Mars 3fde755a8f
Add top request table to resource detail page (#1507)
Includes a substantial refactor of Top.jsx to move the websocket
and top-request-aggregation code into a self-contained module
so that this code can be shared by /top and by each resource
detail page.

(This refactor also helps separate concerns in that
page; since that page also makes 10 second requests to the stat
api to populate the autocompletes in the form).

The TopModule uses the startTap prop to figure out whether it
should start a websocket connection and make a tap request
when mounted. (This is because the resource detail pages
start tapping immediately upon load, whereas /top can only
start once you've entered a query.

I've removed the spinner and the awaitingWebSocketConnection
state field because that now belongs in the top module. I think a
similar refactor of tap would be good before we re-add it.
2018-08-22 18:18:35 -07:00
..
app Add top request table to resource detail page (#1507) 2018-08-22 18:18:35 -07:00
srv Add resource detail skeleton page (#1476) 2018-08-17 10:53:05 -07:00
templates Delete remaining conduit logo; add linkerd favicon (#1343) 2018-07-18 17:27:57 -07:00
Dockerfile Upgrade to dep 0.5.0, go 1.10.3 (#1479) 2018-08-17 16:04:50 -07:00
main.go Better CLI error messages when control plane is unavailable (#1428) 2018-08-09 15:40:41 -07:00