Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8345

[SWF Viewer] Icon rendering improvements based on metadata fields

XMLWordPrintable

    • 2022 Week 50-02 (from Dec 12)

      The possible improvements based on KOGITO-8104 review:

      • When both type and icon are properly set, the type takes precedence, so the "type image" is rendered in the diagram. It should be to set in opposite way: the icon should always take the precedence if a valid image is used.
      • If icon is set to empty string and type is set to non-existing type, the rendered image is empty circle, but when type is set to empty string and icon is set to non-existing image, or invalid base64 image, the rendered image is the default one. This could be unified. The default image could be rendered when non-existing type is set.

      Expected Result

      • metadata.icon should overtake precedence from metadata.type
      • if metadata.icon is incorrect, now always will be default state shown if metadata.type is not set or incorrect.

              kgaevski@redhat.com Kirill Gaevskii
              lterifaj@redhat.com Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: