Closed v-katherine closed 1 week ago
Hi @abchatra , please take a look this bug about the template block code show wrong in beta version editor.
@abchatra I think it's possible this issue was due to the changes from https://github.com/microsoft/pxt-microbit/pull/5700. The generated code is the same, but because the blocks are different we might be seeing this issue.
This bug also reproduced in Toys->InchWorm->Show Instructions Toys->Milk Carton Robot->Show Instructions Toys->Milky Monster->Show Instructionsons Toys->Rotary Dial Radio->Show Instructions Science->Soil Moisture->Show Instruction Science->Plant watering->Show Instruction
fixed
I verified this bug in the latest version:7.0.29 and it has been fixed.
Describe the bug 'Toys: Robot Unicorn': The template block code shows wrong in editor when switch to beta version
Steps to reproduce the behavior 1.Navigate to (https://makecode.microbit.org/beta#) 2.Open Toys->Robot Unicorn->Show Instructions. 3.Scroll down click the 'Edit' in the first template code. 4.Observe the block code and add 'beta' in URL. 5.Observe and compare the block code with the code in step4.
Actual behavior: The template block code shows wrong in beta version.
Expected behavior: The template block code shows correctly.
Screen Recording:
Additional context: 1.OS: Windows11, Mac Ventura 13.6.5 2.Browsers: Chrome, Edge, Firefox, Safari 3.makecode.microbit,org version: 7.0.13 4.Microsoft MakeCode version: 10.0.23