[jboss-jira] [JBoss JIRA] (DROOLS-4994) Highlight better that expression and graphical collection editor are different

Elizabeth Clayton (Jira) issues at jboss.org
Fri Jan 31 12:14:04 EST 2020


    [ https://issues.redhat.com/browse/DROOLS-4994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13961298#comment-13961298 ] 

Elizabeth Clayton commented on DROOLS-4994:
-------------------------------------------

[~adupliak] Here are mockups for two possible approaches to the first suggestion made, which could be a *short term* enhancements. Would need correct help text from [~stetson.robinson] or yourself. 
 !collection-inline.png|thumbnail! 
 !collection-infotip.png|thumbnail! 

[~yamer] is working on some related issues in https://issues.redhat.com/browse/DROOLS-4972. I defer to [~yamer] and [~danielezonca] as to whether this will address the concern for the short term, or where you want me to look into a more comprehensive redesign of the widget. Thanks! 

> Highlight better that expression and graphical collection editor are different
> ------------------------------------------------------------------------------
>
>                 Key: DROOLS-4994
>                 URL: https://issues.redhat.com/browse/DROOLS-4994
>             Project: Drools
>          Issue Type: Enhancement
>          Components: Scenario Simulation and Testing
>    Affects Versions: 7.32.0.Final
>            Reporter: Anna Dupliak
>            Assignee: Elizabeth Clayton
>            Priority: Minor
>              Labels: drools-tools
>         Attachments: Screenshot from 2020-01-17 13-56-02.png, Screenshot from 2020-01-17 13-56-10.png, collection-infotip.png, collection-inline.png
>
>
> Revealed during testing  of https://issues.redhat.com/browse/DROOLS-4698
> We need a way to tell a user that using the guided editor, you can only add one ore more check to the collection as list of conditions while in the expression user can write whatever he wants so the semantic is completely custom.
> Suggested solution:
>  - to explain the difference directly in the popup, somewhere close to radio buttons create/define.
> Example: 
> [1]
>  !Screenshot from 2020-01-17 13-56-02.png|thumbnail! 
> [2]
>  !Screenshot from 2020-01-17 13-56-10.png|thumbnail! 
> How that works now:
> Each element defined in the graphical editor will be considered as a check to perform: the first screenshot means "check if an element equals to 2 exists in the collection" while the expression means "is the list equals to [2] list?"
> What expression should be to make test pass:
> (2 in ?)



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list