Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2349

[DMN Editor] Decision Navigator dock

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • None
    • None
    • DMN Editor

    Description

      The "Decision Navigator" is docked next to the Project Explorer. See:

      • Tree navigation offers a view of the entire DRG. Diagram nodes are represented within the tree.
      • User defined DRD’s are represented as top level tree nodes, with supporting decision and input data represented as subordinate tree nodes.
      • Tree structure only goes as deep as primary logic definition, such as a decision table (nested logic is not represented in the tree.)
      • The Navigator includes a preview image which represents a thumbnail view of the diagram view selected.

      Acceptance tests

      Prerequisite

      Prepare non empty DRD diagram, specify expressions in decisions, ensure DRG contains all node types

      1. Check node icons
        1. expression types distinguished

      Expand / Collapse

      1. check that expand / collapse shows always all elements, doesn't change order between expanding/collapsing
      2. check situation when multiple nodes has the same name, empty name
        1. same names no problem, empty name replace with node type, nice
      3. Check case when DRG contains a lot of nodes , if possible to view all of them
        1. scrollbar appears, and disappear according to count of nodes, nice
      4. Check case when some decision has a lot of inputs - all of them visible

      Full screen mode

      1. check behavior of navigator when DMN designer is used in full screen mode
        1. DROOLS-2431 - does not prevent from merge
      2. Check if navigator dock can be resized

      Navigation

      1. check back to link present if DRD opened and shows proper node name
      2. check click in Navigator dock cause either selecting DRG node or opening given DRD
        1. opened DRG, clicked other DRG node
        2. opened DRG, clicked DRD
          1. DROOLS-2432 does not prevent from merge
        3. opened DRD, clicked other DRD
        4. opened DRD, clicked DRG node
      3. Check behavior if user tries to select multiple entries in navigator
        1. not implemented, but fine, no exception
      4. Check behavior if user tries to invoke context menu from navigator
        1. not implemented, but fine, no exception
      5. Check behavior if user tries to drag some elements in navigator
        1. not implemented, but fine, no exception

      Sorting

      1. nodes sorted asc, changes in node names reflected in order
      2. rename some DRG nodes, check navigator keeps selected sorting

      Undo / Redo

      1. change selection in navigator, check behavior of undo redo
        1. DROOLS-2433
      2. rename some DRG nodes, undo redo, check changes reflected in navigator
      3. delete DRG node, undo redo, check changes reflected in navigator
      4. clear DRD node, undo redo, check changes reflected in navigator
        1. DROOLS-2434

      Synchronization

      1. delete DRG node, check changes reflected in navigator
      2. clear DRD node, check changes reflected in navigator
        1. DROOLS-2434
      3. Drag DRG elements, no effect to expected
      4. Rebuild connections, change should appear in navigator
        1. connections have no impact on structure in navigator
      5. Check multiple connections, input node connected to multiple decisions ...
        1. connections have no impact on structure in navigator
      6. Long node names perfect
      7. Changes in DRD, navigate to other DRG node, other DRD, then return to first DRD, check changes present without saving
        1. DROOLS-2435

      Attachments

        Issue Links

          Activity

            People

              karreiro_ Guilherme Gomes (Inactive)
              karreiro_ Guilherme Gomes (Inactive)
              Jozef Marko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: