bbcmicrobit / bbcmicrobit/PythonEditor

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

Aperta
#36 11 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
201
Fork
126
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.