Contribute to Open Source. Search issue labels to find the right project for you!

Green flag and stop are not visible enough

LLK/scratch-gui

Expected Behavior

It should be easy for kids to find the green flag and stop when they need them.

Actual Behavior

From our playtesting with microworlds, we see that kids are not sure where to find them, and tend to not use them because of that.

One idea is to make them larger (they are smaller than in 2.0)

Updated 25/05/2017 13:19 3 Comments

Dropdown menu indicator appears in between words

LLK/scratch-blocks

Expected Behavior

The dropdown menu indicator triangle should appear at the end of the name of the current selection on the block.

Actual Behavior

In some cases, the indicator shows up in between words. Also, the dropdown menu itself is missing the non-unique part of each name.

<img width=“205” alt=“screen shot 2017-02-27 at 3 09 13 pm” src=“https://cloud.githubusercontent.com/assets/567844/23377741/1bbf8c4a-fcff-11e6-9aae-2fa2ab41a20f.png”>

It happens when all the items in the menu have a word in common, such as the “guitar” in “C guitar”, “D guitar”, “E guitar”, etc.

I’m guessing that this is due to a clever feature of Blockly called Prefix/Suffix Matching, documented here, which factors out repeated words in menu items. Probably we can simply disable it for cases where the menu items come from user generated content.

It’s worth considering using this feature to reduce the number of translation strings, if we have any menus with a fixed set of items containing repeated words- in that case, though, we would still want the menu indicator to appear at the end.

Steps to Reproduce

Open https://llk.github.io/scratch-gui/ Add a musical instrument sprite like Bass or Guitar Look at the Play Sound block

Operating System and Browser

Mac OS 10.11.6 Chrome 56

Updated 08/06/2017 21:23 1 Comments

Fork me on GitHub