mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 10:51:11 +01:00
Since the move to the craft UI framework, the dialogs ui.menuDialog opens report their command id as their `key` in ui.inspect and ui.dialog, except Transform Each and the envelope dialogs. The params text, docs/mcp.md and docs/control-protocol.md still named the earlier kinds (`move`, `scale`, `vectorHalftone`, `rearrangeArtboards`, `renameArtboards`, `arrangeGrid`, `divideDashes`, `smoothBridge`, `tangentCircle`, `textTweaker`, `command` and others), which no dialog reports. - The params text of ui.menuDialog (and its copy in the MCP catalog) says the key is the command id and names the four exceptions, and says Smooth, and Simplify until its dialog keeps its settings, show a slider rather than a dialog. ui.simplifyAuto and ui.simplifyMoreOptions name the Simplify dialog's key `object.path.simplify`. - The params text of tool.options names the keys of the dialogs the Rotate, Scale, Reflect, Shear, selection and Type on a Path tools open: `object.rotate`, `object.scale`, `object.reflect`, `object.shear`, `object.move` and `type.pathOptions`. - docs/mcp.md and docs/control-protocol.md name the keys the dialogs report, Type on a Path Options and Rasterize included. - Tests open every command the ui.menuDialog params text lists, each of those tools' options and Simplify's More Options, and check the key against the params text, and that every key the ui.menuDialog text names is one a listed command opens.