bbcmicrobit / bbcmicrobit/PythonEditor

blocks: hard to find 'str' ("Create text with") for a single string

Open
#36 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
201
Forks
126
PR merge metrics
No merged PRs in 30d

Description

I'd like to be able to easily convert numbers to strings using blocks. Here's a simple example of a program where this would be useful

![image](https://cloud.githubusercontent.com/assets/147113/23946977/8cae6152-0974-11e7-8f8b-14fd5bb05cf5.png)

The 'create text with' block that exists currently has two inputs, and the hover text says "create text by joining together any number of items"

As the image of the block has two 'inputs' it is not clear that this block can also be used for a single item (although I agree 'any number of items' does clearly include one item!):

![image](https://cloud.githubusercontent.com/assets/147113/23947069/fa736e4e-0974-11e7-8e4a-7f832d1f77f3.png)

Using the 'gear' on the 'create text with' block you can achieve this
![image](https://cloud.githubusercontent.com/assets/147113/23947082/0d13524e-0975-11e7-8d93-779cb894c672.png)

However, I think it would be much clearer to add another block, perhaps "Convert to text" and the "create text with" could be "Combine items into text" or similar?

@carlosperate thoughts?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.