Uploaded image for project: 'Magnolia Frontend Helpers'
  1. Magnolia Frontend Helpers
  2. MGNLFE-1

JS library to create page-editor hints

    XMLWordPrintable

Details

    • Story
    • Resolution: Fixed
    • Neutral
    • 1.0.0
    • None
    • Template Annotations
    • None
    • Yes
    • Yes
    • SPA Editor 9, SPA Editor 10
    • 5

    Description

      Create a javascript library which creates the string of the HTML comment that the page-editor analyzes in order to create the component and area "green bars".

       

      Acceptance criteria:

      • It gets the information it needs from the new Magnolia REST endpoint. Developer should be in control of when the request is made.
      • Given a component it returns the string of the html comment.
      • It has minimal or no external dependencies. (ie js 'fetch' is preferred to 'axios', or make the case why to use an external dependency.)

       

      Context:

      Some functionality will be shared by all SPA client libraries, regardless of which frontend framework they leverage. This functionality should be consolidated in one library - which will eventually (most likely) be published as its own npm package. 

      In this ticket we start the basis for this library, it may contain additional functionality in the future.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              canh.nguyen Canh Nguyen
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 9d 6.5h
                    9d 6.5h