bbcmicrobit / bbcmicrobit/PythonEditor

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

未关闭
#36 11 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
201
派生
126
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

打开贡献指南

调研方向

从现有的“create text with”代码块、它的两个输入、悬停文本以及 issue 中显示的齿轮配置开始。确定单独的单值转换代码块、更清晰的命名,还是两者结合,最能解决这种困惑;当新手无需间接配置该代码块就能找到并使用数字转文本转换时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
frontend
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。