Suggestion Issue: Snap block underneath into field when dragging block with field


Pages: 1

irock

  • Master Stencyler
  • *
September 07, 2020, 10:44:12 am
Right now it is only possible to snap a block into a field if you're dragging the block you want to put into the field. However, it would be useful and often more expedient to do it the opposite way: drag the block with the field to the block you want the field to contain.

Let's say you have this in Design Mode:
Code: [Select]
if (true) {
}
and you want to turn it into this:
Code: [Select]
if (!(true)) {
}

The steps right now are:
1. Drag "not" onto the canvas.
2. Drag "true" into "not"
3. Drag "not(true)" into the if statement.

This could be simplified to:
1. Drag "not" onto "true".

Considerations:
A. Some blocks have multiple fields, so it's not clear which field the user wants the block to snap into. In these situations, just snap it into the first valid field, and if it's wrong, they can correct it manually. We still bring the process down from 3 steps down to 2 if it goes into the wrong field.

B. We might want this behavior to be activated by holding a modifier key down, because I can envision it being finicky otherwise.
« Last Edit: September 07, 2020, 10:48:52 am by irock »


Blob

  • Expert Stencyler
  • *
September 07, 2020, 10:56:10 am
I think this would be very convenient


Pages: 1

Details

  • Reported
    September 07, 2020, 10:44:12 am
  • Updated
    September 07, 2020, 10:56:10 am

  • View Status
    Public
  • Type
    Suggestion
  • Status
    New
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Design Mode

Tags