[Red Hat JIRA] (DROOLS-5977) [DMN Editor] A nested Structure with no fields breaks the Decision Table Editor
by Edoardo Vacchi (Jira)
Edoardo Vacchi created DROOLS-5977:
--------------------------------------
Summary: [DMN Editor] A nested Structure with no fields breaks the Decision Table Editor
Key: DROOLS-5977
URL: https://issues.redhat.com/browse/DROOLS-5977
Project: Drools
Issue Type: Bug
Components: DMN Editor
Affects Versions: 7.49.0.Final
Reporter: Edoardo Vacchi
Assignee: Guilherme Gomes
When a field of type Structure is added with no sub-fields in the data type editor, and a Decision Table for that type is created, then the type that shows up in the Decision Table bears the name of the structure, which is incorrect (see video)
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
4 years, 8 months
[Red Hat JIRA] (DROOLS-5976) [DMN Editor] Reordering non-Structure types may cause conversion to Structure
by Edoardo Vacchi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5976?page=com.atlassian.jira.plug... ]
Edoardo Vacchi updated DROOLS-5976:
-----------------------------------
Attachment: reorder.webm
reorder-2.webm
Steps to Reproduce:
- 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
Workaround: Workaround Exists
Workaround Description: drag fields while keeping the mouse close to the middle of other fields
> [DMN Editor] Reordering non-Structure types may cause conversion to Structure
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5976
> URL: https://issues.redhat.com/browse/DROOLS-5976
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.49.0.Final
> Reporter: Edoardo Vacchi
> Assignee: Guilherme Gomes
> Priority: Major
> Attachments: reorder-2.webm, reorder.webm
>
>
> Reordering fields is a bit error prone, one shaky hand may result in changing the type of a field to Structure.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
4 years, 8 months
[Red Hat JIRA] (DROOLS-4966) [DMN Designer] Dragging a field at the bottom of type designer
by Edoardo Vacchi (Jira)
[ https://issues.redhat.com/browse/DROOLS-4966?page=com.atlassian.jira.plug... ]
Edoardo Vacchi updated DROOLS-4966:
-----------------------------------
Affects Version/s: 7.49.0.Final
> [DMN Designer] Dragging a field at the bottom of type designer
> ---------------------------------------------------------------
>
> Key: DROOLS-4966
> URL: https://issues.redhat.com/browse/DROOLS-4966
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.32.0.Final, 7.49.0.Final
> Reporter: Edoardo Vacchi
> Assignee: Guilherme Gomes
> Priority: Major
> Labels: drools-tools
> Attachments: Peek 2021-01-29 10-23.webm, drag-2.gif
>
>
> - add several fields/structures so that the list exceeds the viewport
> - scroll down to the bottom of the editor
> - try dragging the bottom field
> - the view does not scroll, but the field will jump "up" at seemingly random positions at the top
> it's nearly impossible to reorder a field when it's at the bottom
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
4 years, 8 months
[Red Hat JIRA] (DROOLS-4966) [DMN Designer] Dragging a field at the bottom of type designer
by Edoardo Vacchi (Jira)
[ https://issues.redhat.com/browse/DROOLS-4966?page=com.atlassian.jira.plug... ]
Edoardo Vacchi updated DROOLS-4966:
-----------------------------------
Attachment: Peek 2021-01-29 10-23.webm
> [DMN Designer] Dragging a field at the bottom of type designer
> ---------------------------------------------------------------
>
> Key: DROOLS-4966
> URL: https://issues.redhat.com/browse/DROOLS-4966
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.32.0.Final
> Reporter: Edoardo Vacchi
> Assignee: Guilherme Gomes
> Priority: Major
> Labels: drools-tools
> Attachments: Peek 2021-01-29 10-23.webm, drag-2.gif
>
>
> - add several fields/structures so that the list exceeds the viewport
> - scroll down to the bottom of the editor
> - try dragging the bottom field
> - the view does not scroll, but the field will jump "up" at seemingly random positions at the top
> it's nearly impossible to reorder a field when it's at the bottom
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
4 years, 8 months
[Red Hat JIRA] (DROOLS-4966) [DMN Designer] Dragging a field at the bottom of type designer
by Edoardo Vacchi (Jira)
[ https://issues.redhat.com/browse/DROOLS-4966?page=com.atlassian.jira.plug... ]
Edoardo Vacchi commented on DROOLS-4966:
----------------------------------------
unfortunately still an issue on 7.49.0.Final
> [DMN Designer] Dragging a field at the bottom of type designer
> ---------------------------------------------------------------
>
> Key: DROOLS-4966
> URL: https://issues.redhat.com/browse/DROOLS-4966
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.32.0.Final
> Reporter: Edoardo Vacchi
> Assignee: Guilherme Gomes
> Priority: Major
> Labels: drools-tools
> Attachments: Peek 2021-01-29 10-23.webm, drag-2.gif
>
>
> - add several fields/structures so that the list exceeds the viewport
> - scroll down to the bottom of the editor
> - try dragging the bottom field
> - the view does not scroll, but the field will jump "up" at seemingly random positions at the top
> it's nearly impossible to reorder a field when it's at the bottom
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
4 years, 8 months