[ACA-3296] Header - support actions order (#1464)

* header action order property

* apply sort for parents and children

* update tests

* use parent class to set style

* render user component through configuration

* header should allow disable actions rendering

* update e2e header resource
This commit is contained in:
Cilibiu Bogdan
2020-05-19 18:56:03 +03:00
committed by GitHub
parent 523d9e5bcb
commit 234b41b917
8 changed files with 140 additions and 17 deletions

View File

@@ -908,11 +908,12 @@
"description": "Application settings",
"icon": "settings",
"disabled": true,
"order": 10,
"actions": {
"click": "app.actions.settings"
},
"rules": {
"visible": "app.toolbar.canViewFile"
"visible": "app.navigation.isNotTrashcan"
}
},
{
@@ -920,11 +921,12 @@
"title": "New Button",
"description": "new button description",
"icon": "alarm_on",
"order": 20,
"actions": {
"click": "app.actions.settings"
},
"rules": {
"visible": "app.toolbar.canViewFile"
"visible": "app.navigation.isNotTrashcan"
}
}
]