bbcmicrobit / bbcmicrobit/PythonEditor

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

Ouverte
#36 11 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
201
Forks
126
Métriques de merge des PR
Aucune PR mergée en 30 j

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?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.