[jboss-jira] [JBoss JIRA] (DROOLS-4406) [DMN Designer] Search feature - Infrastructure for highlighting a grid cell with color
Daniele Zonca (Jira)
issues at jboss.org
Thu Sep 5 04:49:01 EDT 2019
[ https://issues.jboss.org/browse/DROOLS-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13779574#comment-13779574 ]
Daniele Zonca commented on DROOLS-4406:
---------------------------------------
[~manstis]
Yes on _scesim_ side we implemented a simple mechanism to [add background color to cell|https://github.com/kiegroup/drools-wb/blob/7cabf0162d7234f12850b16aef00edd42309f546/drools-wb-screens/drools-wb-scenario-simulation-editor/drools-wb-scenario-simulation-editor-client/src/main/java/org/drools/workbench/screens/scenariosimulation/client/renderers/ScenarioGridColumnRenderer.java#L100-L110]
It is limited and there is still a bug ([DROOLS-3191|https://issues.jboss.org/browse/DROOLS-3191]) because we did know really well grid rendering mechanism so we decided to proceed like that. If now we are going to have a better way to set the color of the background of a cell I think it will be quite simple for _scesim_ to migrate
> [DMN Designer] Search feature - Infrastructure for highlighting a grid cell with color
> --------------------------------------------------------------------------------------
>
> Key: DROOLS-4406
> URL: https://issues.jboss.org/browse/DROOLS-4406
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Gomes
> Assignee: Daniel José dos Santos
> Priority: Major
> Labels: drools-tools
>
> Create the infrastructure code for highlighting a cell without focusing it.
> In other words, the cell color must be changed, but the outline border indicating the focus must not be enabled.
> The expected result for this issue is an API like this:
> {code}
> void highlight(cell, color)
> {code}
> This JIRA supports:
> - https://issues.jboss.org/browse/DROOLS-4407
> - https://issues.jboss.org/browse/DROOLS-4408
> ---
> Ideally, this API would be something like this:
> {code}
> void highlight(cell, text, color)
> {code}
> The text would be selected, showing the part of the cell text that matches with the searched term. But since this is 5 story points JIRA, it's fine only to change the cell color.
> ---
> ⚠️ Notice:
> We don't have clear performance constraints. But consider that this highlight can be performed in the future into huge number of cells (~50000).
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
More information about the jboss-jira
mailing list