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

As a UX Designer I can add a ZIP of style books, page templates and fragments for my base theme

    Details

    • Type: Story
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Style Books
    • Labels:
      None

      Description

      Intro/Context:

      As we are bringing more flexibility in the definition of themes with Style Books, we also would like to enable importing them as a file (JSON). The site theme for both public and private pages will have a base theme associated.

      -

      Given a UX Designer has prepared a ZIP file made of structured CSS variables (Style Book) and custom CSS file, page templates and fragments (JSON definitions and html)

      -

      When a theme developer is deploying the ZIP made of Theme + StyleBook +Fragments +Page Templates (and Master) +Custom CSS style

      Then if the deployed theme is matching the current theme:

      1. The existing theme gets updated.
      2. The Page Templates (and Masters) are added following same processes as for import Page Templates
      3. The fragments are imported following same processes as for import Fragments
      4. A success message appears with warnings / errors list.

      Then if the deployed theme is NOT matching an existing theme:

      1. An error appears saying "The imported theme is not matching the current selected theme for this site"

      -

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tarik.demnati Tarik Demnati
              Reporter:
              tarik.demnati Tarik Demnati
              Recent user:
              Kiyoshi Lee
              Participants of an Issue:
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package