[jboss-jira] [JBoss JIRA] (DROOLS-4213) [DMN Designer] Search feature - Define search architectural approach

Guilherme Gomes (Jira) issues at jboss.org
Thu Jun 27 15:29:00 EDT 2019


     [ https://issues.jboss.org/browse/DROOLS-4213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guilherme Gomes updated DROOLS-4213:
------------------------------------
    Sprint: 2019 Week 26-28


> [DMN Designer] Search feature - Define search architectural approach
> --------------------------------------------------------------------
>
>                 Key: DROOLS-4213
>                 URL: https://issues.jboss.org/browse/DROOLS-4213
>             Project: Drools
>          Issue Type: Task
>          Components: DMN Editor
>            Reporter: Guilherme Gomes
>            Assignee: Guilherme Gomes
>            Priority: Major
>              Labels: drools-tools
>
> This JIRAs refers to the discussions for different implementation approaches that can be adopted for supporting GDT editor and DMN editor.
> With this JIRA done, two initial implementations will be triggered:
> - https://issues.jboss.org/browse/DROOLS-4212 (DMN graph PoC)
> - https://issues.jboss.org/browse/DROOLS-4211 (GDT PoC)
> ---
> h5. Definitions:
> All GDT cells, DRG Elements, and any other searchable element would need to implement this interface:
> {code}
> interface Searchable {
>    boolean matches(final String text)
>    Command onFound()
> }
> {code}
> In the UI, each editor instance would have an instance of {{SearchBarComponent.java}} (..and a {{SearchBarComponentView.java}} and {{SearchBarComponentView.html}}). This simple UI component would call the editor index, that would have all {{Searchable}} elements. When a given component has the desired text, the respective command would be executed.
> ---
> h5. Questions to answer:
> - How to index all Searchable items?
> - How to keep index updated?



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


More information about the jboss-jira mailing list