jomarko opened a new issue, #1547:
URL: https://github.com/apache/incubator-kie-issues/issues/1547

   This issue is another part related to 
https://github.com/apache/incubator-kie-issues/issues/1527
   
   We should extend the functionality of the boxed-expression-componenet to be 
able highlight evaluation hit count in the Decision Table and Boxed Conditional 
Expression using the evaluation results of DMN Runner. Disabling the 
"Evaluation Highlights" (#1527) must normally render the Boxed Expression 
Editor.
    
   Figure 1 shows a Decision Table that had multiple rule hits and is 
highlighted in a purple color (rgb(215 201 255)). The number of hits is 
represented in the top left corner of the index row with a triangular badge. 
Rules that didn't have a hit must appear dimmed, with a grayscale and reduced 
opacity. In the case of the DMN Runner table, hovering the mouse on top of the 
badge must render the responsible input rows as illustrated.
   
   
![image-2024-10-09-19-36-47-350](https://github.com/user-attachments/assets/dd815029-36b3-463a-a434-41880207e3fb)
   
   Figure 2 shows a Boxed Conditional Expression with the "then" expression 
highlighted, and the "else" expression dimmed. This example follows the same 
changes of the Decision Table highlights. 
   
   
![image-2024-10-09-19-40-48-918](https://github.com/user-attachments/assets/7ac9d30e-af0c-49d3-9b42-f1c4ed1524c0)
   
   
   Figure 3 shows an example with nested expressions and a high number of hits. 
When the number of hits gets higher, the font size gets lower to accommodate 
the value inside the badge. The expression header inside the condition is 
highlighted to show the user that the entire expression is part of the 
condition.
   
![image-2024-10-09-19-44-01-162](https://github.com/user-attachments/assets/e78b5f11-d94c-4d6f-a251-8c987138ac57)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to