You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We only send the netmap to JS if we're in the "running" state (c06758c#diff-17cfb2d953cf64e47108124d3599ce9db769412392ea9a7af931d3aa906b8183R181) to avoid showing an empty list while waiting for machine authorization. However, depending on how the netmap vs. state change callbacks happen, we may drop a populated netmap on the floor.
We should hold on to all netmap updates, and only control UI visibility based on the state (switching the UI to Preact #5137 would make this easier).
The text was updated successfully, but these errors were encountered:
Reduces the amount of boilerplate to render the UI and makes it easier to
respond to state changes (e.g. machine getting authorized, netmap changing,
etc.)
Preact adds ~13K to our bundle size (5K after Brotli) thus is a neglibible
size contribution. We mitigate the delay in rendering the UI by having a static
placeholder in the HTML.
Required bumping the esbuild version to pick up evanw/esbuild#2349, which
makes it easier to support Preact's JSX code generation.
Fixes#5137Fixes#5273
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
Reduces the amount of boilerplate to render the UI and makes it easier to
respond to state changes (e.g. machine getting authorized, netmap changing,
etc.)
Preact adds ~13K to our bundle size (5K after Brotli) thus is a neglibible
size contribution. We mitigate the delay in rendering the UI by having a static
placeholder in the HTML.
Required bumping the esbuild version to pick up evanw/esbuild#2349, which
makes it easier to support Preact's JSX code generation.
Fixes#5137Fixes#5273
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
We only send the netmap to JS if we're in the "running" state (c06758c#diff-17cfb2d953cf64e47108124d3599ce9db769412392ea9a7af931d3aa906b8183R181) to avoid showing an empty list while waiting for machine authorization. However, depending on how the netmap vs. state change callbacks happen, we may drop a populated netmap on the floor.
We should hold on to all netmap updates, and only control UI visibility based on the state (switching the UI to Preact #5137 would make this easier).
The text was updated successfully, but these errors were encountered: