[MGNLUI-4474] Tune the presentation of the browser UI Created: 16/Apr/18 Updated: 25/Jul/18 Resolved: 02/Jul/18 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0 |
| Type: | Story | Priority: | Neutral |
| Reporter: | Christopher Zimmermann | Assignee: | Oanh Thai Hoang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 7.75d | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Release notes required: |
Yes
|
||||||||
| Documentation update required: |
Yes
|
||||||||
| Date of First Response: | |||||||||
| Epic Link: | Content types Developer Preview | ||||||||
| Sprint: | Saigon 148 | ||||||||
| Story Points: | 8 | ||||||||
| Description |
|
User story:
Acceptance criteria:
|
| Comments |
| Comment by Oanh Thai Hoang [ 28/Jun/18 ] |
|
Here is module example for auto-generation hello-contentType.zip Note: You still need to configure helloContentType to app-launcher at current time
Expect app: |
| Comment by Dai Ha [ 03/Jul/18 ] |
|
Verified, app with browser sub-app generated/updated upon yaml added/changed |
| Comment by Hieu Nguyen Duc [ 03/Jul/18 ] |
|
Reordering "actions" using "!override" works but the result also includes other nodes. This seems like a bug of the directive. |
| Comment by Hieu Nguyen Duc [ 04/Jul/18 ] |
|
We just found out the "!override" works correctly but it needs to be put exactly at the map "actions", which contains the action nodes.
!inherit:pizza-app
label: Pizza Improved
icon: icon-people
subApps: !override
browser:
subAppClass: info.magnolia.ui.contentapp.browser.BrowserSubApp
class: info.magnolia.ui.contentapp.browser.BrowserSubAppDescriptor
actions: !override # HERE, NOT THERE!
editFolder:
dialogName: ui-framework:folder
icon: icon-edit
class: info.magnolia.ui.framework.action.OpenEditDialogActionDefinition
availability:
writePermissionRequired: true
rules:
- name: IsNotDeletedRule
implementationClass: info.magnolia.ui.framework.availability.IsNotDeletedRule
addFolder:
icon: icon-add-folder
class: info.magnolia.ui.framework.action.AddFolderActionDefinition
availability:
writePermissionRequired: true
root: true
rules:
- name: IsNotDeletedRule
implementationClass: info.magnolia.ui.framework.availability.IsNotDeletedRule
activate:
command: activate
icon: icon-publish
catalog: versioned
class: info.magnolia.ui.framework.action.ActivationActionDefinition
availability:
writePermissionRequired: true
rules:
- name: IsNotDeletedRule
implementationClass: info.magnolia.ui.framework.availability.IsNotDeletedRule
Result: |