Files
netbird/client/ui/frontend/src/components
Zoltan Papp d3b660afba classify daemon login errors and surface localised dialogs
The daemon returns gRPC errors whose message is a wrapped mgm + JWT
stack (e.g. "invalid jwt token, err: token could not be parsed: ...").
Showing that in a native dialog is unreadable. Connection now maps the
substrings it recognises to a ClientError{code, short, long} so the UI
can render a localised summary plus a Details: block carrying the raw
daemon text. formatErrorMessage on the TS side reads the structured
payload from Wails' Error.cause (or the JSON-stringified Error.message)
and falls back to plain Error.message for callers not yet migrated.

Also bumps Wails to v3.0.0-alpha.95.
2026-05-20 19:13:13 +02:00
..
2026-05-19 14:21:14 +02:00
2026-05-20 13:17:13 +02:00
wip
2026-05-13 10:11:38 +02:00
wip
2026-05-13 10:11:38 +02:00
2026-05-11 16:17:54 +02:00
wip
2026-05-13 10:11:38 +02:00
2026-05-19 18:53:19 +02:00
2026-05-19 18:53:19 +02:00
2026-05-20 13:17:13 +02:00
2026-05-11 16:17:54 +02:00
2026-05-11 16:17:54 +02:00
2026-05-15 16:22:14 +02:00
2026-05-13 16:28:51 +02:00
2026-05-11 17:11:25 +02:00
2026-05-11 17:11:25 +02:00