Repository navigation
Conversation
The dialogs now keep themselves open when the name is empty or only
whitespace. Define Pattern shows a "Pattern Name" alert ("You must
specify a name for the pattern."); Define Brush Preset does nothing.
Programmatic calls keep the engine's default-name fallbacks.
Fixes storytold#14302
Fixes storytold#14279
Repeated OK presses no longer stack alerts, the check only applies to the generic name dialog, and the alert title uses a __title field. Tests move to the files named in storytold#14302 and storytold#14279.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Fixes #14302
Fixes #14279
What changes
engine.execute, scripts, MCP) keep the default-name fallbacks ("Sampled Brush N", the pattern default name). Pre-filling the brush preset name in the dialog is BUG-DEFINE-BRUSH-PRESET-DEFAULT-NAME #14278.How
dialogs/define_name.rs: a confirm preflight next to the existingfit_image_range/image_processor_uiones. It only applies to the generic name dialog (__filter, no__spec) for these two commands.__titlefield (default stays "Error").Tests
crates/ui-egui/src/dialogs/define_pattern_empty_name_tests.rs: empty / missing / blank name alerts and keeps the dialog; repeated OK shows one alert; a named pattern still defines; programmatic default name kept.crates/ui-egui/src/define_brush_empty_name_tests.rs: empty / missing / blank name does nothing; named and 300-character names define; programmatic default name kept.-D warningsand the wasm check ofphotocraft-ui-eguiare clean.Summary by CodeRabbit