pxt-microbit icon indicating copy to clipboard operation
pxt-microbit copied to clipboard

"Array blocks": There are few blocks of array design in toolbox are not same as help doc

Open v-katherine opened this issue 1 year ago • 8 comments

Describe the bug "Array blocks": There are few blocks of array design in toolbox are not same as help doc

Steps to reproduce the behavior

  1. Navigate to https://makecode.microbit.org/beta
  2. Open a New project > Click Advanced
  3. Select Array > Right click remove At block
  4. Click help and observe the doc

Actual behavior The design of array block is not same as help doc.

Expect behavior The block design should be same as help doc .

Screen Recording: Block design

Additional context 1.OS: Windows 11, MAC 2.Browser: Edge, Firefox, Chrome, Safari 3.makecode.microbit,org version: 7.0.15 4.Microsoft MakeCode version: 10.2.4

v-katherine avatar Aug 07 '24 06:08 v-katherine

@v-katherine This is because both of array_removeat and array_removeat_statement have same page for help (/reference/arrays/remove-at). We need to distinguish in writing sig snippet between these blocks but I don't know how.

sae220 avatar Aug 07 '24 12:08 sae220

I have verified this bug still reproduced in the latest build makecode microbit.org version: 7.0.16, so I reopen this bug. Will close this bug once the bug was not reproduced in the latest build.

fionama100 avatar Aug 09 '24 02:08 fionama100

@fionama100 The fix will be applied in the next release (Microsoft MakeCode version: 10.2.6, makecode.microbit.org version: 7.0.17), I guess.

sae220 avatar Aug 09 '24 02:08 sae220

@sae220 Okay, thanks for your information. I will track this bug until makecode.microbit.org version: 7.0.17 is available for us. Then verify it and update the result.

fionama100 avatar Aug 09 '24 02:08 fionama100

@fionama100 If you want to check the fix, you can run the local server (setup docs).

sae220 avatar Aug 09 '24 03:08 sae220

@sae220 I verified this issue in the latest version: 7.0.17 and it occurs another issue. Please take a look it, Thank you! erroR

fionama100 avatar Aug 12 '24 02:08 fionama100

@fionama100 It seems so. This problem occurs by lost of beta document. Beta editor (/beta) uses common help (/reference/arrays/remove-at-statement) with stable one. There should be pages for beta document (like /beta/reference/arrays/remove-at-statement or /referene/arrays/remove-at-statement/beta) and beta editor should use them, I guess.

@ganicke @abchatra I want to make some helps but I don't know well about beta editor. Is there any way for serving beta editor on local?

sae220 avatar Aug 12 '24 17:08 sae220

As we have changed major version in the docs, there are inconsistencies. This will be fixed when we release next week. Ok to keep this open till then.

abchatra avatar Aug 23 '24 23:08 abchatra

Fixed

abchatra avatar May 15 '25 23:05 abchatra