[JSFIELD-32] Add the JS apps Created: 19/Mar/23 Updated: 21/Mar/23 Resolved: 21/Mar/23 |
|
| Status: | Closed |
| Project: | Java Script UI (App and Dialog Fields) |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0 |
| Type: | New Feature | Priority: | Neutral |
| Reporter: | Bartosz Staryga | Assignee: | Adrien Manzoni |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Description |
|
Add the possibility to add external JS app as Magnolia apps. The configuration should be something like this:
icon: icon-categories
class: info.magnolia.ui.contentapp.configuration.ContentAppDescriptor
appClass: info.magnolia.ui.framework.app.BaseApp
label: Custom app
subApps:
firstApp:
class: info.magnolia.ui.javascript.app.JavascriptSubAppDescriptor
label: 1st tab
fieldScript: /ui-framework-javascript-dev-samples/webresources/debugApp.html
parameters:
welcomeMessage: Welcome 1
secondApp:
class: info.magnolia.ui.javascript.app.JavascriptSubAppDescriptor
label: 2nd tab
fieldScript: /ui-framework-javascript-dev-samples/webresources/debugApp.html
closable: false
parameters:
welcomeMessage: Welcome 2
|