-
Notifications
You must be signed in to change notification settings - Fork 34
Collapse/expand blocks for "advanced" settings ($200 bounty) #288
Description
What Happened
As we improve the blocks, more settings are being appended to them. These are usually left with the defaults and intended for advanced usage. For example:

Proposal: allow blocks to expand/collapse to hide the advanced settings. Blocks should be collapsed by default.
Here is how Microsoft MakeCode Arcade does it:


Implementation: there should be a (+) button at the end of collapsed blocks, and a (-) button at the end of expanded blocks. The format of the block label template should be enhaced to define where the cut should happen. Maybe with a | character? So the label template of the sound block above would look like:
play the sound {name: STRING} | with volume {db: FLOAT} dB and pitch scale {pitch: FLOAT}
Pay attention to the | that is separating how it should look collapsed play the sound {name: STRING} and the advanced stuff (volume and pitch scale settings).
How to Reproduce
N/A this is a feature proposal.
Block Coding Plugin Version
No response
Godot Engine Version
No response
Operating System
No response
Logs or command-line output
No response
Anything else?
No response