]
Michael Anstis commented on DROOLS-2787:
----------------------------------------
[~uxdlc] When it's a simple type you still need to specify the type of the simple
type. Remember a simple type is in essence an alias for an existing type so
"newPerson" would need a drop-down to select it's type not just a checkbox
to declare it as a simple type. Perhaps we need something like this (in words here, or I
can draw a diagram with pen and pencil!)
* When you first go to the "types dialog" you have 2 radio buttons; "Edit
existing", "Define new"
* Select "Edit existing" you get a drop-down of the existing types to select
from
* In both cases "edit" and "new" you also get two further radio
buttons: "simple" or "structured"
* If "simple" you just get a field for name and a drop-down for type (listing
existing types) everything else is hidden/disabled.
* If "structured" you get a text box for its name and the tree grid for it's
component parts
"Data Type" tree-grid table interactions.
-----------------------------------------
Key: DROOLS-2787
URL:
https://issues.jboss.org/browse/DROOLS-2787
Project: Drools
Issue Type: Story
Components: DMN Editor
Reporter: Liz Clayton
Assignee: Liz Clayton
Labels: UX, UXTeam, drools-tools
Attachments: DROOLS-2738.bmpr, Screen Shot 2018-07-24 at 3.51.03 PM.png,
add_basic.png, treegrid.png
*Background*
Persona: Business analyst or Rules practitioner
Use Cases:
As a user I want to:
* *Edit* the list of Data Types, using the appropriate type considering the DMN model
(eg: in the age line, we need to select "Numeric" in the combobox.)
* *Add* a new data type, which might be a nested or otherwise complex object as defined
by the (ItemDefinition.)
* *Remove* Data Types from the list of available selections.
* be prevented from making selections that are not valid or would cause an error.
* know that when I edit a data type the changes will be updated in the DMN model.
Functional considerations/ pre conditions:
* Outside of simple view/select, Data Types list (and options) will be presented as a
tree-grid within a modal dialog. Discussed in detail within Epic subtask for the same.
* Design needs to be consistent with Stunner and PF components, such as:
https://www.patternfly.org/pattern-library/widgets/#treegrid-table
Verification conditions:
* Scrum team and PO review.