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.  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.  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.  -- 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]
