apache / incubator-kie-tools

Tools for KIE
Apache License 2.0
244 stars 177 forks source link

Editor: Feature Missing - Unable to see already linked DRDs for a component #1355

Open lukas-foltyn-profinit opened 1 year ago

lukas-foltyn-profinit commented 1 year ago

Problem:

Imagine that I have a DRG with several decision and I decided to "hide" the decision complexity using DRDs. So, I would design the DRG first, and then I would one by one add DRD for each DRG decision.

There is a quick and simple way, how to add a decision from DRG to a DRD - using DRD Actions ("share" icon on the component), Create.

The problem is that on the DRG level you are not able to see to which DRD(s) is the DRG decision linked to. The only way how to "drill down" from DRG to the linked DRD is to go and search for the DRG decision name in Decision Navigator / Decision Graphs. In case you have tens or hundreds of DRDs, this becomes extremely user unfriendly (in the VS Code plugin, you cannot even use Ctrl+F to search in DRD list and you have to scroll through all Decision Graphs)

The situation is the same, if you use DRD decision in another DRD diagram.

Suggestion:

Add a list of all linked DRDs on the component in the editor. If the user clicks on one of the DRDs in the list, it gets the user to the selected DRD.

Such list could be added as a new icon for the component in the editor or as part of the DRD Actions list. image

Thank you in advance for looking into this issue.

Regards, Lukas

yesamer commented 10 months ago

@tiagobento I guess the new editor improved the DRDs management, that's right?

lukas-foltyn-profinit commented 10 months ago

I have checked the latest version of DMN Editor - v0.32.0 from 2020-11-23 and it seems the same.

At the moment, I am missing a way, how to search in DRDs. The search field works only with the opened screen on the left hand side, but not with the tree on the right hand side - that would be the bare minimum.

image

yesamer commented 10 months ago

@lukas-foltyn-profinit Correct, the current 0.x stream doesn't have any change in that area. In my previous comment, I was referring to the new DMN Editor we are currently implementing (https://github.com/kiegroup/kie-tools/pull/2064)