microsoft / pxt-microbit

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

There is no ? Button of some blocks to open block's help documentation #5671

Open v-katherine opened 4 months ago

v-katherine commented 4 months ago

Describe the bug There is no ? Button of some blocks to open block's help documentation

Steps to reproduce the behavior 1.Navigate to https://makecode.microbit.org/beta 2.Create or open JavaScript/Python editor. 3.Toolbox->Loops, click While or for and observe.

Actual behavior: There is no ? Button to open block help documentation.

Expected behavior: There is ? Button can open block help documentation correctly.

Screen Recording: nobutton

Additional context: 1.OS: Windows11, iMac Ventura 13.6.6 2.makecode.microbit,org version: 7.0.11 3.Microsoft MakeCode version: 10.0.23

v-katherine commented 4 months ago

This bug also reproduced in below blocks: Toolbox->Logic, 'if', 'if else', 'and', 'or' Toolbox->Variables, 'change', 'equals', 'let' Toolbox->Math, 'plus', 'minus', 'multiply', 'divide', 'remainder', 'max', 'min', 'abs', 'randint' Toolbox->Functions, 'doSomething', 'function doSomething' Toolbox->Arrays. 'create', 'length', 'get', 'set', 'push', 'pop' Toolbox->Text, 'charAt', 'substr', 'parselnt', 'compare', 'concat', 'length' Toolbox->Pins, 'set audio pin enabled'

abchatra commented 2 months ago

Adding @ganicke. I am unsure if this is by design or not.

ganicke commented 2 months ago

@abchatra - it looks like help linking is not setup for built-ins and pxt-common when toolbox mode is not in blocks. I wonder if the help info for these is only set in the blockly objects.

abchatra commented 2 months ago

Thanks @ganicke