6 Commits

Author SHA1 Message Date
restitux 4131955d1a gui: split host:port for manually-typed addresses
Build Mumble Web 2 / macos_build (push) Successful in 1m8s
Build Mumble Web 2 / linux_build (push) Successful in 1m22s
Build Mumble Web 2 / windows_build (push) Successful in 2m55s
Build Mumble Web 2 / android_build (push) Successful in 4m42s
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 01:27:37 +00:00
restitux 2c5af5e301 gui: only split host:port on paste, not on every keystroke
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 01:27:37 +00:00
restitux 32892f8062 gui: split host:port pasted into address field
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 01:27:37 +00:00
restitux 614c7f7d56 gui: stricter validation in add and edit modals 2026-05-06 01:27:37 +00:00
restitux 5156338eb3 gui: add server add and edit modals 2026-05-06 01:27:37 +00:00
restitux 451ccf42ac gui: new login screen 2026-05-06 01:27:33 +00:00
-3
View File
@@ -517,7 +517,6 @@ fn ServerCard(
editing_index: Signal<Option<usize>>,
overrides: Resource<ProxyOverrides>,
) -> Element {
let user_config = use_context::<ConfigSystem>();
let net: Coroutine<Command> = use_coroutine_handle();
let address = format!("{}:{}", server.address, server.port);
@@ -552,9 +551,7 @@ fn ServerCard(
class: "server-card__action server-card__action--connect",
onclick: {
let entry = connect_entry.clone();
let user_config = user_config.clone();
move |_| {
user_config.config_set("username", &entry.username);
net.send(Connect {
target: ConnectTarget::Direct {
host: entry.address.clone(),