[PAGES-442] Ability to open any URL in Page Editor based on the SPA template definition Created: 26/May/21 Updated: 15/Jul/21 Resolved: 25/Jun/21 |
|
| Status: | Closed |
| Project: | Magnolia pages module |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.9 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Robert Šiška | Assignee: | Robert Šiška |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 0.25d | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoR: |
Empty
|
| Date of First Response: | |
| Epic Link: | External SPA |
| Sprint: | HL & LD 30, HL & LD 31 |
| Story Points: | 3 |
| Description |
|
Add ability to open external-hosted SPA, running on e.g. Node.js, in Page Editor. The url can be configured in SpaRenderableDefinition. If the url is defined, the Page Editor opens it in iframe instead of rendering the page traditionally with `templateScript` parameter. Note: The dependency to spa-rendering module is added to pages-app. |
| Comments |
| Comment by Roman Kovařík [ 17/Jun/21 ] |
|
Reopened:
|
| Comment by Robert Šiška [ 23/Jun/21 ] |
|
Thanks, rkovarik. I investigated providing a custom implementation in SPA (via type-mappings), but it would require adding pages-app and pages-editor-widget as dependencies to SPA, so I think that this is a better solution (normal rendering is already in deps after all). So, I fixed the other remarks and re-opened the PR. |