[jboss-jira] [JBoss JIRA] (DROOLS-3871) [DMN Designer] Add support for read-only boxed expressions

Elizabeth Clayton (Jira) issues at jboss.org
Wed Apr 17 08:57:00 EDT 2019


    [ https://issues.jboss.org/browse/DROOLS-3871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723694#comment-13723694 ] 

Elizabeth Clayton commented on DROOLS-3871:
-------------------------------------------

[~manstis] [~karreiro] Thanks for folding me in. :)
* It appears that everything in the grid is being faded to indicate "read-only?" If so, my concern with that approach is whether the text will still meet color contrast requirements for readability/ accessibility? PF3 site has some info about this in the Contrast Ratio section, along with a link to a tool for checking: https://www.paciellogroup.com/resources/contrastanalyser/. It could be that desaturating everything to gray scale instead might keep the contrast ratio as it is, but still convey read-only. I added a mockup of this. 
* It might be good to add a Lock icon to help explain this as well, give that we're using this on the nodes (or should be.) In the UI we do need to explain to the user how they could modify this table imo, even if it means opening the original file.  I think this could be covered by offering a tooltip to explain that it's read-only and why, and/or using an inline notification.  
* Question: If the user cannot do anything with the table, why is cell/row focus still presented (with the corresponding highlighting.)? 

Here are two alternate proposals for consideration, both in grayscale:
* A) Using the lock icon, with a tooltip to explain. 
 !read-only-grid.png|thumbnail! 
* B ) No lock icon, instead an inline notification as described at: https://www.patternfly.org/pattern-library/communication/inline-notifications/#code
 !read-only-grid2.png|thumbnail! 
Let me know what you think, thanks! 


> [DMN Designer] Add support for read-only boxed expressions
> ----------------------------------------------------------
>
>                 Key: DROOLS-3871
>                 URL: https://issues.jboss.org/browse/DROOLS-3871
>             Project: Drools
>          Issue Type: Enhancement
>          Components: DMN Editor
>            Reporter: Michael Anstis
>            Assignee: Michael Anstis
>            Priority: Major
>              Labels: drools-tools
>             Fix For: 7.21.0.Final
>
>         Attachments: read-only-grid.png, read-only-grid2.png
>
>
> Imported models are read-only.
> Therefore we need support for read-only Boxed Expressions.
> Mouse and keyboard interactions need covering.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list