linkerd2/web
Risha Mars 1eb9e15f4a
Start polling for new resource type immediately after switching tabs (#926)
* Fix issue where we were waiting for the next polling interval when switching tabs

Fix issue where we were waiting for the next polling interval when switching tabs.
When we switch tabs, we update the Props of the ResourceList component, but we weren't
resetting how we poll the server. This meant we'd wait until the end of the current polling interval
(2s) to get the data for the tab we just switched to.

I've added stopServerPolling and startServerPolling methods so that we can cancel the resource
requests of the page we're leaving and immediately start polling for new data if the resource type
changes.
2018-05-10 15:14:59 -07:00
..
app Start polling for new resource type immediately after switching tabs (#926) 2018-05-10 15:14:59 -07:00
srv Add per namespace pages that show all resource stats for a namespace (#893) 2018-05-08 14:05:16 -07:00
templates UI tweaks: sidebar collapse, latency formatting, table row spacing (#361) 2018-02-19 11:21:54 -08:00
util/filesonly Introducing Conduit, the ultralight service mesh 2017-12-05 00:24:55 +00:00
Dockerfile docker: Cache versionless builds before building versioned go binaries (#921) 2018-05-10 10:22:09 -07:00
main.go UI tweaks: sidebar collapse, latency formatting, table row spacing (#361) 2018-02-19 11:21:54 -08:00