From bd1a419636356c74bc29fdbcbb11b16618679f4e Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sat, 28 Nov 2026 01:52:02 +0000 Subject: [PATCH] ime_tests: the About route reads the hosted About's key, help.about The port's About is the framework's HostedAbout (ui-patterns form_dialogs/about.rs), which the request id "about" opens under the key help.about. The route still checks that an open modal makes the canvas editor ineligible for IME. Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/ime_tests.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/src/ime_tests.rs b/crates/ui-egui/src/ime_tests.rs index 0a881bbcd..cf6ff4d38 100644 --- a/crates/ui-egui/src/ime_tests.rs +++ b/crates/ui-egui/src/ime_tests.rs @@ -176,7 +176,8 @@ fn opening_backstage_palette_and_modal_routes_are_explicitly_ineligible() { 1 => h.state_mut().close_backstage(), 2 => h.state_mut().palette_open = false, _ => { - assert!(crate::dialogs::open_keys(&h.ctx).iter().any(|key| key == "about")); + // The request id "about" opens the framework's hosted About, keyed "help.about". + assert!(crate::dialogs::open_keys(&h.ctx).iter().any(|key| key == "help.about")); let id = crate::dialogs::top_dialog(&h.ctx).unwrap(); assert!(WindowDialogs::of(&h.ctx, &WindowKey::main()).with(|host| host.cancel_by_id(&h.ctx, id))); }