mirror of https://github.com/linkerd/linkerd2.git
Problem: We depend on the websocketRequestSent bool (renamed to tapRequestInProgress in this branch) to determine whether the start/stop button says start or stop. However, we don't change this value in setState until we open the websocket connection (which could take some time). This led to a delay in when you press the Start button and when it changes colour. Solution: Set the state before waiting for the websocket to open, so the button colour changes immediately and the form feels more responsive |
||
---|---|---|
.. | ||
css | ||
img | ||
js | ||
test | ||
.babelrc | ||
.eslintrc | ||
karma.conf.js | ||
package.json | ||
postcss.config.js | ||
webpack.config.js | ||
yarn.lock |