From 5d519ede78498e8129f6485e3872f22f7fbcafb0 Mon Sep 17 00:00:00 2001 From: Mollusk Date: Mon, 25 May 2026 03:46:31 -0400 Subject: [PATCH] feat(gui): explain the disabled Connect button on hover When the pasted code doesn't decode, Connect is greyed out; hovering it now shows "Paste a valid share code first." so the disabled state is self-explanatory, complementing the amber "doesn't look like a share code" line under the field. Co-Authored-By: Claude Opus 4.7 --- src/gui/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/mod.rs b/src/gui/mod.rs index 5016771..e0bc247 100644 --- a/src/gui/mod.rs +++ b/src/gui/mod.rs @@ -658,6 +658,7 @@ impl PixelPassApp { decoded_id.is_some(), egui::Button::new("Connect").min_size(egui::vec2(140.0, 36.0)), ) + .on_disabled_hover_text("Paste a valid share code first.") .clicked(); if decoded_id.is_some() && (connect_clicked || enter_pressed) { self.start_viewer(ui.ctx().clone());