Details
-
Story
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
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