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

Create an extensible Samples page (now Catalog)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Authoring Tooling
    • None
    • 2022 Week 44-46 (from Oct 31), 2022 Week 47-49 (from Nov 21), 2023 Week 15-17 (from Apr 10), 2023 Week 18-20 (from May 1)

      Users should be able to see samples when accessing the Sample Catalog page

      Please note that, after KOGITO-8875, samples are imported from https://github.com/kiegroup/kie-samples

      • Samples should be paginated with a fixed number per page (maybe 10?)
      • The search and filter must be kept
      • The layout should be a grid of cards
      • The card layout can be completely changed from what we have today
      • Each card should include the information we already have (title, description, SVG and category)
      • SVGs should fit their container (must never be cropped)
      • The sample is opened when users click on the card (no need to have a button for that)
      • Currently, all samples are cached in the first load. With pagination, we can change the strategy to cache only the SVGs that were loaded. (For example: the sample SVG that lives on the last page doesn't need to be loaded if the user never goes to the last page)

      Nice to have but not required: Some way to see a bigger version of the SVG. One option is to have a magnifying glass button.

              fabrizio.antonangeli Fabrizio Antonangeli
              paulovmr Paulo Rego
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: