tailscale/client/web
Mario Minardi 0b4ba4074f
client/web: properly show "Log In" for web client on fresh install (#14569)
Change the type of the `IPv4` and `IPv6` members in the `nodeData`
struct to be `netip.Addr` instead of `string`.

We were previously calling `String()` on this struct, which returns
"invalid IP" when the `netip.Addr` is its zero value, and passing this
value into the aforementioned attributes.

This caused rendering issues on the frontend
as we were assuming that the value for `IPv4` and `IPv6` would be falsy
in this case.

The zero value for a `netip.Addr` marshalls to an empty string instead
which is the behaviour we want downstream.

Updates https://github.com/tailscale/tailscale/issues/14568

Signed-off-by: Mario Minardi <mario@tailscale.com>
2025-01-08 13:20:31 -07:00
..
build client/web: precompress assets 2023-12-07 20:57:31 -05:00
src client/web: update to typescript 5.3.3 (#11267) 2024-02-27 14:17:30 -07:00
assets.go client/web: only add cache header for assets 2023-12-12 15:51:22 -05:00
auth.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
index.html client/web: use CSP hash for inline javascript 2023-12-11 20:22:56 -08:00
package.json {tool,client}: bump node version (#12840) 2024-07-18 13:12:42 -06:00
qnap.go client/web: add readonly/manage toggle 2023-11-10 15:01:34 -05:00
styles.json client/web: adjust colors and some UI margins 2023-12-01 15:41:57 -05:00
synology.go client/web: add readonly/manage toggle 2023-11-10 15:01:34 -05:00
tailwind.config.js client/web: fix Vite CJS deprecation warning (#11288) 2024-02-28 16:28:22 -05:00
tsconfig.json client/web: update vite and vitest to latest versions (#11200) 2024-02-23 14:50:41 -07:00
vite.config.ts client/web: update vite and vitest to latest versions (#11200) 2024-02-23 14:50:41 -07:00
web_test.go client/web: use grants on web UI frontend 2024-02-26 12:59:37 -05:00
web.go client/web: properly show "Log In" for web client on fresh install (#14569) 2025-01-08 13:20:31 -07:00
yarn.lock build(deps): bump ws from 8.14.2 to 8.17.1 in /client/web (#12524) 2024-09-10 12:39:40 -06:00