microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
710 stars 586 forks source link

'Toys: Robot Unicorn': The template block code shows wrong in editor when switch to beta version #5728

Closed v-katherine closed 1 week ago

v-katherine commented 1 month ago

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: blockwrong

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

v-katherine commented 1 month ago

Hi @abchatra , please take a look this bug about the template block code show wrong in beta version editor.

microbit-carlos commented 1 month ago

@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.

v-katherine commented 1 month ago

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

riknoll commented 1 week ago

fixed

fionama100 commented 1 week ago

I verified this bug in the latest version:7.0.29 and it has been fixed.