]
Guilherme Carreiro commented on DROOLS-2787:
--------------------------------------------
Thank you, [~uxdlc].
As commented on Slack. I have one concern: how does the user create a simple data type?
(we have only the “Data Type Name” in the top and no field for specifying the type).
[~manstis] suggested that maybe _should be no "outer" name selector; but when
first loading the dialog the table has one row that cannot be deleted. So when creating a
type; you'd have 1 row by default where you specify the name (of the type) and
it's type (built-in/already existing etc)_.
"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,
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.