Commit Graph
28 Commits
Author SHA1 Message Date
Zoltan Papp 9e5bcb26eb fix(ui): include error name and message in forwarded logs
WebKit (macOS WKWebView) omits the "Name: message" header from
Error.stack, so forwarding only the stack hid the real cause of
failures. Prepend the error name, message and optional cause before
the stack so daemon RPC errors surface in gui-client.log.
2026-06-15 11:57:34 +02:00
Eduard Gert 860be01ebe update debug bundle setting page 2026-06-12 12:09:10 +02:00
Eduard Gert eb788cad88 fix dynamic window height on linux 2026-06-10 16:37:07 +02:00
Eduard Gert 11281b681b fix unclassified errors 2026-06-10 09:54:48 +02:00
Eduard Gert f8e3ac6d92 refactor, lint, cleanup 2026-06-09 16:31:52 +02:00
Eduard Gert 32be58cb24 add description to translations 2026-06-09 11:33:54 +02:00
Eduard Gert aaa5dbb606 forward ui browser logs to go 2026-06-09 10:55:56 +02:00
Eduard Gert 10d84b758f add ipv6 2026-06-08 15:22:35 +02:00
Eduard Gert 0e4d0128b6 add custom error dialog 2026-06-08 12:44:33 +02:00
Eduard Gert c3a0c1beeb update language switcher, remove flags 2026-06-02 12:36:29 +02:00
Eduard Gert 8af90e40d5 Merge remote-tracking branch 'origin/ui-refactor' into ui-refactor
# Conflicts:
#	client/ui/frontend/src/contexts/SettingsContext.tsx
2026-06-01 17:15:38 +02:00
Eduard Gert 3f989f69cb update about gui version, add mock data, truncate some strings 2026-06-01 17:14:30 +02:00
Zoltan Papp 53d43980ad fix(ui): keep main window closable after a native dialog on Windows (#6319)
A native Windows MessageBox attached to a parent window disables that
window (WS_DISABLED) for its lifetime and re-enables it on dismissal.
When the parent is the main window — whose WindowClosing hook hides
instead of closes — the enable/hide sequence races and leaves the window
unable to process its close (X) button afterwards, so e.g. a rejected
login error dialog left the main window stuck open.

Route all native dialogs through src/lib/dialogs.ts, which forces
Detached: true on Windows (NULL owner, no window ever disabled) and is a
no-op on macOS/Linux (keeps the attached sheet-style presentation).
2026-06-01 17:03:53 +02:00
Eduard Gert 710d5c6182 apply different window width on windows 2026-06-01 11:07:33 +02:00
Eduard Gert 9dc9e7184e add first run lang detection 2026-05-29 14:24:20 +02:00
Eduard Gert 1985caf993 add os detection 2026-05-29 14:04:45 +02:00
Eduard Gert 51b243bdfa remove unused stuff, refactor frontend folder structure 2026-05-28 16:26:13 +02:00
Eduard Gert b84c7618e7 fix viewmode height, update other ui stuff 2026-05-27 16:40:57 +02:00
Eduard Gert ec5da43d73 persist viewMode across restarts 2026-05-27 15:52:15 +02:00
Eduard Gert 0e83d2ad94 add peer details 2026-05-27 14:52:19 +02:00
Eduard Gert 91e0520f27 move locales to client/ui/i18n 2026-05-26 12:34:01 +02:00
Eduard Gert 513ecd456c remove mock peers 2026-05-22 16:28:24 +02:00
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
Eduard Gert 620233a7ac update dropdown ui padding, remove unused stuff 2026-05-20 13:38:23 +02:00
Eduard Gert 5b71a4f2ad update dialogs, hide main window on browser login, keep state as disconnected when needslogin 2026-05-18 16:31:59 +02:00
Eduard Gert 5bdccfe8f4 add i18n to frontend 2026-05-15 16:22:14 +02:00
Eduard Gert b5a970155b Merge branch 'ui-refactor' into ui-refactor-ui 2026-05-11 15:15:11 +02:00
Zoltán Papp 9aef31ff53 [client/ui] Replace fyne UI with Wails (rename ui-wails to ui)
Removes the legacy fyne-based client/ui implementation and renames the
Wails replacement (client/ui-wails) to take its place at client/ui. Go
imports, frontend bindings, CI workflows, goreleaser configs and the
windows .syso icon path are updated to follow the rename.
2026-05-11 11:20:22 +02:00