reordering (#1143)

This commit is contained in:
Cilibiu Bogdan 2019-06-28 12:06:48 +03:00 committed by Suzana Dirla
parent e12fe93759
commit 39de66088c

View File

@ -831,14 +831,9 @@
"visible": "app.selection.file.canUploadVersion" "visible": "app.selection.file.canUploadVersion"
} }
}, },
{
"id": "app.viewer.more.separator.1",
"type": "separator",
"order": 300
},
{ {
"id": "app.viewer.favorite.add", "id": "app.viewer.favorite.add",
"order": 400, "order": 300,
"title": "APP.ACTIONS.FAVORITE", "title": "APP.ACTIONS.FAVORITE",
"icon": "star_border", "icon": "star_border",
"actions": { "actions": {
@ -850,7 +845,7 @@
}, },
{ {
"id": "app.viewer.favorite.remove", "id": "app.viewer.favorite.remove",
"order": 401, "order": 301,
"title": "APP.ACTIONS.REMOVE_FAVORITE", "title": "APP.ACTIONS.REMOVE_FAVORITE",
"icon": "star", "icon": "star",
"actions": { "actions": {
@ -864,16 +859,28 @@
"id": "app.viewer.favorite", "id": "app.viewer.favorite",
"comment": "workaround for Recent Files and Search API issue", "comment": "workaround for Recent Files and Search API issue",
"type": "custom", "type": "custom",
"order": 402, "order": 302,
"component": "app.toolbar.toggleFavorite", "component": "app.toolbar.toggleFavorite",
"rules": { "rules": {
"visible": "canToggleFavorite" "visible": "canToggleFavorite"
} }
}, },
{ {
"id": "app.viewer.more.separator.2", "id": "app.viewer.more.separator.1",
"type": "separator", "type": "separator",
"order": 500 "order": 400
},
{
"id": "app.viewer.move",
"order": 500,
"title": "APP.ACTIONS.MOVE",
"icon": "adf:move_file",
"actions": {
"click": "MOVE_NODES"
},
"rules": {
"visible": "app.selection.canDelete"
}
}, },
{ {
"id": "app.viewer.copy", "id": "app.viewer.copy",
@ -887,21 +894,9 @@
"visible": "canCopyNode" "visible": "canCopyNode"
} }
}, },
{
"id": "app.viewer.move",
"order": 700,
"title": "APP.ACTIONS.MOVE",
"icon": "adf:move_file",
"actions": {
"click": "MOVE_NODES"
},
"rules": {
"visible": "app.selection.canDelete"
}
},
{ {
"id": "app.viewer.delete", "id": "app.viewer.delete",
"order": 800, "order": 700,
"title": "APP.ACTIONS.DELETE", "title": "APP.ACTIONS.DELETE",
"icon": "delete", "icon": "delete",
"actions": { "actions": {
@ -914,12 +909,12 @@
{ {
"id": "app.viewer.more.separator.3", "id": "app.viewer.more.separator.3",
"type": "separator", "type": "separator",
"order": 900 "order": 800
}, },
{ {
"id": "app.viewer.versions", "id": "app.viewer.versions",
"order": 1000, "order": 900,
"title": "APP.ACTIONS.VERSIONS", "title": "APP.ACTIONS.VERSIONS",
"icon": "history", "icon": "history",
"actions": { "actions": {
@ -931,7 +926,7 @@
}, },
{ {
"id": "app.viewer.permissions", "id": "app.viewer.permissions",
"order": 1100, "order": 1000,
"title": "APP.ACTIONS.PERMISSIONS", "title": "APP.ACTIONS.PERMISSIONS",
"icon": "settings_input_component", "icon": "settings_input_component",
"actions": { "actions": {