From 9d95a88448143dcbddd3766e8f5b418e5da42d3a Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 27 Oct 2026 17:07:56 +0100 Subject: web: always show canvas status overlay + build stamp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The overlay was suppressed whenever the panel was open — but Firefox on Android defaults to desktop-site mode, which reports a 980px viewport and thus keeps the panel open on phones. The overlay now always shows (it doubles as the pinch-diagnostic readout), and the initial status carries a build stamp so a stale cached page is recognizable at a glance. --- crates/wipfel/src/app.rs | 4 ++-- dist/wipfel/wipfel_bg.wasm | Bin 511017 -> 511049 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/wipfel/src/app.rs b/crates/wipfel/src/app.rs index f3acd3a..09bf467 100644 --- a/crates/wipfel/src/app.rs +++ b/crates/wipfel/src/app.rs @@ -149,7 +149,7 @@ fn find_peak_panel(p: &FpProps) -> Html { pub fn app() -> Html { let bitmap = use_state(|| None::); let view = use_state(ViewState::default); - let status = use_state(|| "No image loaded.".to_string()); + let status = use_state(|| "No image loaded · build 27c".to_string()); let db_status = use_state(|| "Loading hill database…".to_string()); let fit_info = use_state(String::new); let tick = use_state(|| 0u32); @@ -951,8 +951,8 @@ pub fn app() -> Html { if !*nav_open { -
{ (*status).clone() }
} +
{ (*status).clone() }