]
Michael Anstis moved GUVNOR-1657 to DROOLS-1911:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1911 (was: GUVNOR-1657)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
Guided Template Editor
(was: Guided Rule Editor)
(was: Guided Rule Templates)
Guided Editor: Small wizard like feature for adding the fields
--------------------------------------------------------------
Key: DROOLS-1911
URL:
https://issues.jboss.org/browse/DROOLS-1911
Project: Drools
Issue Type: Enhancement
Components: Guided Rule Editor, Guided Template Editor
Reporter: Toni Rikkola
Priority: Optional
# Click the fact to add a field
# Click the dropdown to see the values
# Click the dropdown to select the field
# Click the dropdown to see the operators
# Click the dropdown to select the operator
# Click the pencil to set the value
# Click the button to select "Literal Value" or "Formula" or anything
else (Picking literal for here, value is an integer)
# Click the empty value to add a field
# Click the textbox to set focus and type the value
# Click the ok button (Enter works too)
DONE!
10 clicks.
* Problems, forget to set the operator. You can still set the restriction value, but the
restriction is ignored when generating the DRL.
Proposing:
# Click plus to add a new fact
# Click fact to add a field (Can't get around this). A list shows up, like in the add
condition/action.
# Click to select "Add a restriction to field age". A mini wizard shows up.
Showing a list of operators
# Click to select an operator. Wizard shows a list "literal value", "new
formula", "expression editor"
# Click "literal value". The wizard shows a focused text box.
# After typing the value press enter or click OK
DONE!
6 clicks and a continuos flow.