MCP: the ui.expandDialog mirror lists immediate and the kept choices

crates/mcp/src/ui_catalog.rs now matches the desktop entry in
crates/ui-egui/src/menus/ui_commands.rs, so cargo xtask ui-commands --check
passes and MCP discovery lists the immediate parameter.
This commit is contained in:
dotCooCoo
2026-11-16 07:02:57 -08:00
parent 28f492043f
commit 7d4aa9d8ab
+1 -1
View File
@@ -1264,7 +1264,7 @@ pub const UI_COMMANDS: &[(&str, &str, &str, &str)] = &[
"ui.expandDialog",
"Expand…",
"",
"{} open Expand for the selection (dialog `expand`, fields object, fill, stroke (all on; one the selection has nothing for is disabled, see object.expand.info), gradient: objects|mesh, steps 1..1000 (255)): OK runs object.expand with them as one undo step; dimmed, and an error, while the selection has an appearance effect.expandAppearance expands (object.expand.info's appearance)",
"{immediate?: bool (false)} open Expand for the selection (dialog `expand`, fields object, fill, stroke (all on; one the selection has nothing for is disabled, see object.expand.info), gradient: objects|mesh, steps 1..1000 (255), or the choices OK last expanded with since the app started): OK runs object.expand with them as one undo step and keeps them until the app quits; immediate: true (the menu item chosen with Alt/Option) runs object.expand at once with those choices (the defaults before any OK), and opens the dialog instead when none of them has something to expand in the selection; dimmed, and an error, while the selection has an appearance effect.expandAppearance expands (object.expand.info's appearance)",
),
(
"attributes.openUrl",