davidferguson / pibakery

The blocks based, easy to use setup tool for Raspberry Pi
http://www.PiBakery.org
GNU General Public License v3.0
1.49k stars 147 forks source link

Ability to add comments to the tree of nodes #92

Open jsve opened 7 years ago

jsve commented 7 years ago

This could probably be added as a custom block that does nothing, but I think it could be done more user friendly, like blocks to the right or left of the block the comment is pointing at. Also, the blocks currently only allow for one row of text, which is not enough.

A comment would be some lines of text describing what the block does. Like, what is the reason I'm installing node 4.x instead of something else. That stuff is easy to forget between edits in PiBakery.

jsve commented 7 years ago

Have not figured out how to do this yet, but looking at the blockly example (here: https://developers.google.com/blockly/ ) there is a feature in the "Function" block (under "Functions"). A small question mark with an editable popup with the description. See the appended image.

screen shot 2017-02-07 at 13 14 00