Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-4510

[DMN Editor] Reordering non-Structure types may cause conversion to Structure

    XMLWordPrintable

Details

    • False
    • False
    • Undefined
    • Workaround Exists
    • Hide

      drag fields while keeping the mouse close to the middle of other fields

      Show
      drag fields while keeping the mouse close to the middle of other fields
    • Hide
      • Create a structure
      • Add a field of any non-Structure type (e.g. String)
      • Add a field of another non-Structure type (e.g. number)
      • Drag the number field down

      -> if you keep the field aligned to the margin, it will nest under its immediate sibling, turning it into a Structure
      -> if you keep it closer to the center (which IMO would suggest nesting) it's instead treated as a sibling

      I understand this is probably intended behavior, but IMO it is confusing

      Expected: if you drag a field over a non-Structure field, I would expect such non-Structure field NOT to be converted into a Structure, and thus NOT nest the field you are dragging under it

      Show
      Create a structure Add a field of any non-Structure type (e.g. String) Add a field of another non-Structure type (e.g. number) Drag the number field down -> if you keep the field aligned to the margin, it will nest under its immediate sibling, turning it into a Structure -> if you keep it closer to the center (which IMO would suggest nesting) it's instead treated as a sibling I understand this is probably intended behavior, but IMO it is confusing Expected: if you drag a field over a non-Structure field, I would expect such non-Structure field NOT to be converted into a Structure, and thus NOT nest the field you are dragging under it
    • ---
    • ---

    Description

      Reordering fields is a bit error prone, one shaky hand may result in changing the type of a field to Structure.

      Attachments

        1. reorder.webm
          78 kB
        2. reorder-2.webm
          38 kB

        Activity

          People

            karreiro_ Guilherme Gomes (Inactive)
            evacchi Edoardo Vacchi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: