From 5d812cfefbd1e360e30967422d43008af469631f Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Mon, 23 Nov 2026 02:49:50 -0500 Subject: [PATCH] fw sync: command-search story chord off Cmd+K, which upstream's menu-row trial binds The port's story command set (registered with the stories in the test binary) bound Cmd+K, so the trial's Find command lost its chord and its row showed none. The story's chord moves to Cmd+Shift+F; the trial is upstream's and unchanged. --- crates/ui-widgets/src/buttons/stories.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/ui-widgets/src/buttons/stories.rs b/crates/ui-widgets/src/buttons/stories.rs index 9b9ce90a3..86f74aac7 100644 --- a/crates/ui-widgets/src/buttons/stories.rs +++ b/crates/ui-widgets/src/buttons/stories.rs @@ -74,11 +74,12 @@ fn button_loading(ui: &mut Ui, _: &mut StoryData) -> StoryOutput { Button::new("Saving").icon(IconId::new("save")).loading(true).show(ui).into() } -/// The command the search opener stories fire: an app command, so it is enabled in a story with no focused field. +/// The command the search opener stories fire: an app command, so it is enabled in a story with no focused field. Its +/// set is registered in every test binary that links the stories, so its chord keeps clear of the chords trials bind. #[derive(Clone, Copy, Debug, PartialEq, Eq, craft_ui_macros::CommandSet)] #[command(prefix = "buttonStory", story)] enum SearchStoryCommand { - #[command(label = "Search", default = "Cmd+K")] + #[command(label = "Search", default = "Cmd+Shift+F")] Open, }