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

Create Preview API

XMLWordPrintable

    • 2020 Week 10-12 (from Mar 2)

      Create preview API to request preview SVGs from Editors

      Editors should provide a preview for the assets. For this we should create a preview API, Which would be:

      • New messages (REQUEST_PREVIEW, RESPOND_PREVIEW)
      • Editor method that should be generated based on a new annotation (GetPreview is the annotation)

      This method should be called from the envelop side and the behavior will change according to the channel:

      • DESKTOP will use the feature to generate the preview image for the process/dmn. Users also can generate previews;
      • ONLINE EDITOR and CHROME: A button will allow users to download the process image
      • VSCODE: A command will generate the asset preview (Ctrl+Shift+P) in the same folder where the asset is placed.

      By default GetPreview methods will return null (undefined) content.

              rhn-support-wsiqueir William Siqueira
              rhn-support-wsiqueir William Siqueira
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: