You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
11 months ago
..
build client/web: precompress assets 2 years ago
src client/web: update to typescript 5.3.3 (#11267) 2 years ago
assets.go client/web: only add cache header for assets 2 years ago
auth.go all: use Go 1.22 range-over-int 2 years ago
index.html client/web: use CSP hash for inline javascript 2 years ago
package.json {tool,client}: bump node version (#12840) 1 year ago
qnap.go client/web: add readonly/manage toggle 2 years ago
styles.json client/web: adjust colors and some UI margins 2 years ago
synology.go client/web: add readonly/manage toggle 2 years ago
tailwind.config.js client/web: fix Vite CJS deprecation warning (#11288) 2 years ago
tsconfig.json client/web: update vite and vitest to latest versions (#11200) 2 years ago
vite.config.ts client/web: update vite and vitest to latest versions (#11200) 2 years ago
web.go client/web: properly show "Log In" for web client on fresh install (#14569) 11 months ago
web_test.go client/web: use grants on web UI frontend 2 years ago
yarn.lock build(deps): bump ws from 8.14.2 to 8.17.1 in /client/web (#12524) 1 year ago