linkerd2/web/app
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
..
css Indicate failed pods in ServiceMesh page (#914) 2018-05-09 10:22:45 -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 Start polling for new resource type immediately after switching tabs (#926) 2018-05-10 15:14:59 -07:00
test Add per namespace pages that show all resource stats for a namespace (#893) 2018-05-08 14:05:16 -07:00
.babelrc Introducing Conduit, the ultralight service mesh 2017-12-05 00:24:55 +00: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 Upgrade React, ant, enzyme (#109) 2018-01-10 10:10:59 -08:00
postcss.config.js Introducing Conduit, the ultralight service mesh 2017-12-05 00:24:55 +00:00
webpack.config.js Consolidate api calling from the UI; Start surfacing API errors (#65) 2017-12-21 15:18:35 -08:00
yarn.lock Upgrade antd to 3.4.3 (#855) 2018-04-26 16:35:42 -07:00