Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-76802 As a Web developer I want to be able to import CSS, HTML, JS in fragments
  3. LPS-77816

Optimize the ZIP format for exported/imported fragments and collections to facilitate creation in the desktop by web developers

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: None
    • Labels:
      None

      Description

      Allow users to export/import CSS, HTML and JS in fragments.

      We agreed on the following export/import archive structure:

      ZIP:

      • (optional) Folder named as collection key, this key will be used on import to know the collection to import fragments in.
        • collection.json JSON file which can be used to provide a custom collection name.
      • (can be inside a collection or on the root level) Folder named as fragment key, this key will be used to overwrite existing or create new fragment.
        • fragment.json JSON file which can be used to provide a custom fragment name and the paths for each of the files.
        • src/index.html HTML content of the fragment
        • src/index.js JS content of the fragment
        • src/index.css CSS content of the fragment

      We also need the ability to overwrite existing fragment entries to to create new ones during the import process.

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              eudaldo.alonso Eudaldo Alonso
              Recent user:
              Brian Chan
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 26 weeks ago

                Packages

                Version Package
                Master