Repository navigation
Conversation
The catalog and the Insert ribbon call the feature Decorative Text (docs/feature-names.md), but the two command specs Command Search lists were still labelled WordArt and Format WordArt. They are now Decorative Text and Format Decorative Text. The command ids stay as they are. Fixes storytold#4416
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Upstream PR: storytold#4420 Head: 4c335f1
Merges the zcode-pr-transfer branch (61 commits transferring open, not-yet-merged upstream PRs into our fork) into main. Docs (docs/ui-parity.md, docs/file-format-parity.md) resolved in favor of main's current changelog state; code from all transferred PRs carried over cleanly. Commits carried over (21 from this session + 40 earlier transfers): storytold#4408, storytold#4405, storytold#4406, storytold#4386, storytold#4379, storytold#4378, storytold#4376, storytold#4375, storytold#4373, storytold#4370, storytold#4369, storytold#4348, storytold#4347, storytold#4345, storytold#4344, storytold#4343, storytold#4341, storytold#4340, storytold#4337, storytold#4336, storytold#4318, storytold#4316, storytold#4315, storytold#4312, storytold#4310, storytold#4307, storytold#4306, storytold#4305, storytold#4303, storytold#4298, storytold#4295, storytold#4287, storytold#4286, storytold#4257, storytold#4256, storytold#4254, storytold#4252, storytold#4251, storytold#4248, storytold#4244, storytold#4243, storytold#4229, storytold#4228, storytold#4227, storytold#4225, storytold#4221, storytold#4220, storytold#4219, storytold#4217, storytold#4424, storytold#4423, storytold#4420, storytold#4419, storytold#4418, storytold#4414, storytold#3617, storytold#2642, storytold#2556, storytold#2321
Fixes #4416
What was wrong
docs/feature-names.mdnames the feature Decorative Text, and the catalog and the Insert ribbon follow it. The two command specs incrates/engine/src/cmd/wordart.rswere still labelled"WordArt"and"Format WordArt". Command Search andgridcraft-cli commandsshow those labels as they are.What changed
insert.wordArtis labelled Decorative Text, the catalog's and the ribbon's name for it.wordArt.setis labelled Format Decorative Text.QA report
Main vs branch, end to end (
gridcraft-cli commands --search …)mainis a CLI built fromorigin/main(d60709a1) and the branch is this PR (4c335f1f).cmpconfirmed the two binaries differ.wordinsert.wordArt WordArt (Insert > Text),wordArt.set Format WordArtinsert.wordArt Decorative Text (Insert > Text),wordArt.set Format Decorative Textdecorativewordstill finds both on this branch, because Command Search matches the command id too.Test
tests::command_labels_use_the_feature_nameschecks the two labels. It also checks that no command's label names WordArt or SmartArt as a word, the same word testui-egui/tests/display_names.rsuses. That guard scans the UI sources andcatalog.rs, not the command specs, which is how these two labels slipped past it.Negative controls
Each was an edit on top of
4c335f1f, run, then restored withgit checkout:wordArt.setlabelledFormat WordArtagainSome("Format WordArt"), rightSome("Format Decorative Text")wordArt.setlabelledSmartArt Format, its exact-label check removed)wordArt.set: SmartArt FormatGate (macOS arm64, at
4c335f1f)cargo fmt --all -- --checkcargo clippy -p gridcraft-engine --all-targets -- -D warningscargo test -p gridcraft-enginecargo test -p gridcraft-ui-egui --test display_namesNot covered
dialogs/command_search.rsshowsc.labelas is). So these two show in English in every language, as the other commands do. Translating Command Search is a broader change than this issue.unknown WordArt style,no such WordArt,the shape is not WordArt,WordArt text must not be empty, and{id: WordArt id, …}. They are errors and agent-facing parameter docs, not the labels this issue lists. I can rename them here if wanted.cargo xtask ci: I didn't run the fullcargo xtask ci(wasm, layers, the other crates).Summary by CodeRabbit