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

Create components to integrate the examples

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • Kogito Tooling 0.28.0
    • Kogito Tooling 0.27.0
    • None
    • None
    • 2023 Week 12-14 (from Mar 20)

      • The HomePage must not wait for the samples to load completely.
      • While samples are being loaded, we must show a PatternFly skeleton for them.

          https://www.patternfly.org/v4/components/skeleton.

          There is no tag yet, so we can load from the main branch. However, the code must be prepared for using a tag.

      • We must read each definition.json file and populate the cards using category (for the card label), title (for the card title), cover (for the card image) and description (for the card description). Other information from definition.json can be ignored for now.
      • We need to make sure that all texts have a reasonable limit of chars to avoid breaking the UI.
      • We need to have a placeholder image in case the "cover" information is not provided.
      • We need to have a placeholder text in case other information is not provided.
      • We must ignore any sample with an unsupported category.

          Supported ones are: serverles-workflow, serverless-decision, dashbuilder

      • When the user opens a sample, we need to fetch all files that are in the corresponding sample folder except definition.json and the svg file, and create a new workspace with these files.

       

      Maybe this can be useful for fetching the files inside a folder

      https://github.com/octokit/octokit.net/issues/1583#issuecomment-524056513

      After all this, we can put Donato's sample in[ https://github.com/kiegroup/kie-samples/tree/main/samples|https://github.com/kiegroup/kie-samples/tree/main/samples] and everything is supposed to work.

              sasriniv Saravana Srinivasan
              sasriniv Saravana Srinivasan
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: