Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-97870

As a developer I would like to have additional support for the fragment page definition JSON to the Fragments Toolkit

    Details

      Description

      Intro/Context:

      The goal is to simplify the creation of fragment page definitions along with the fragments that will be used within them. The fragment page definitions should be usable mainly to create page templates and display pages, although we can evaluate supporting the creation of content pages directly as well.

      When the user is using the dev toolkit

      Then the user should be able to use new commands: 

      • add-fragment-composition that can generate a scaffolding
      • add-page-template that can generate a scaffolding

      When the user has successfully generated any above scaffoldings

      Then the user should be able to generate a scaffolding Including all definition files in the zip

      When a zip containing all definitions files in a zip

      Then the user should be able to

      • import all included elements in a site
      • export the given composition definitions to the toolkit

      It should then be possible to preview the fragment page definitions (see: LPS-111052)

      Exporting page templates with the Fragment tookit will not be implemented in this story, it will be done as a part of LPS-111430

       

      Test Cases

      Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration)
      Can generate a fragment composition scaffolding via Liferay Fragments Toolkit Smoke Manual Yes No
      Can generate a content page template scaffolding via Liferay Fragments Toolkit Smoke Manual Yes No
      Can generate a master page template scaffolding via Liferay Fragments Toolkit Smoke Manual Yes No
      Can compress generated composition and page templates to a zip via Liferay Fragments Toolkit Regression Manual No No
      Can import generated composition and page templates to portal via Liferay Fragments Toolkit Sanity Manual No Yes

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.gutierrez David Gutiérrez Mesa
              Reporter:
              jorge.ferrer Jorge Ferrer
              Engineering Assignee:
              Victor Galan
              Recent user:
              David Gutiérrez Mesa
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master