The add-server dialog asked for a name, the address with a port, a nickname, a gateway URL and ServerQuery settings before anything could be saved. Now it asks for the address (host, host:port, IP or server nickname; the resolver finds the port) and an optional server password; the rest is under an Advanced disclosure, open when editing. Empty fields are filled in: the name is the address until the first connection, then the server's own name; the nickname is the default identity's (one imported from TeamSpeak keeps its nickname), else the system user's; the default identity, no default channel; the gateway is looked up in DNS (voelin_core::discover) when the server is saved without one and when it connects, and one found is stored as if typed. Editing keeps what the form does not show (identity, default channel, client version, the query's server port), which saving dropped before. The form-to-bookmark conversion is a pure function with tests. New development switch bookmark:edit opens the current server's dialog; docs/ui.md describes the dialog, with the desktop screenshot redone and a phone one added. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 KiB
390x844px
25 KiB
390x844px