2 Commits

Author SHA1 Message Date
sam 2692b72d5a working mumble web tui
Build Mumble Web 2 / macos_build (push) Successful in 1m4s
Build Mumble Web 2 / linux_build (push) Failing after 0s
Build Mumble Web 2 / windows_build (push) Successful in 2m56s
Build Mumble Web 2 / android_build (push) Successful in 4m50s
Assisted-by: Claude:claude-opus-4-7
2026-05-05 00:34:06 -06:00
sam d5a70cf078 make reactivity system pluggable 2026-05-05 00:20:15 -06:00
2 changed files with 6 additions and 5 deletions
-2
View File
@@ -9,5 +9,3 @@ pub use imp::*;
pub use mainloop::*;
pub use mime_guess;
pub use reqwest;
pub const VERSION: Option<&str> = option_env!("MUMBLE_WEB2_VERSION");
+6 -3
View File
@@ -3,10 +3,12 @@
use dioxus::prelude::*;
use mumble_web2_client::{
network_entrypoint, reqwest, AudioSettings, ChannelId, Command, ConfigSystem,
ConfigSystemInterface as _, ConnectionState, Platform, PlatformInterface as _, UserId,
UserState, VERSION,
ConfigSystemInterface as _, ConnectionState, Platform, PlatformInterface as _, ServerState,
UserId, UserState,
};
use mumble_web2_common::{ProxyOverrides, ServerStatus};
use std::collections::{HashMap, HashSet};
use std::{fmt, sync::Arc};
use Command::*;
use ConnectionState::*;
@@ -593,12 +595,13 @@ pub fn LoginView(overrides: Resource<ProxyOverrides>) -> Element {
),
Connected => unreachable!(),
};
let version = option_env!("MUMBLE_WEB2_VERSION");
rsx!(
div {
class: "login",
h1 {
"Mumble Web"
match VERSION {
match version {
Some(v) => rsx!(" " span { class: "login_version", "({v})" }),
None => rsx!(),
}