[ACS-6323] dynamic content list changing columns order with drag drop (#3557)

* ACS-6323 Allow to drag and drop name column

* ACS-6323 Made rest columns in personal files as draggable

* ACS-6323 Enabled dragging columns for rest of lists

* ACS-6323 Small correction

* ACS-6323 Fixed e2e

* ACS-6323 Fixed e2e

* ACS-6323 Fixed e2e

* ACS-6323 Fixed e2e

* ACS-6323 Fixed e2e

* ACS-6323 Fixed e2e

* ACS-6323 Fixed e2e

* ACS-6323 Fixed e2e

* ACS-6323 Revert change

* e2e test fix

* e2e test fix

---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
This commit is contained in:
AleksanderSklorz
2023-12-11 12:04:50 +01:00
committed by GitHub
co-authored by akash.rathod@hyland.com
parent 0c8b872cd0
commit 68ee86010a
11 changed files with 97 additions and 41 deletions
+74 -35
View File
@@ -2125,7 +2125,8 @@
"sortable": true,
"template": "app.columns.name",
"desktopOnly": false,
"order": 20
"order": 20,
"draggable": true
},
{
"id": "app.files.size",
@@ -2136,7 +2137,8 @@
"class": "adf-no-grow-cell adf-ellipsis-cell",
"sortable": true,
"desktopOnly": true,
"order": 30
"order": 30,
"draggable": true
},
{
"id": "app.files.modifiedOn",
@@ -2147,7 +2149,8 @@
"class": "adf-ellipsis-cell adf-expand-cell-1",
"sortable": true,
"desktopOnly": true,
"order": 40
"order": 40,
"draggable": true
},
{
"id": "app.files.modifiedBy",
@@ -2158,7 +2161,8 @@
"class": "adf-ellipsis-cell adf-expand-cell-1",
"sortable": true,
"desktopOnly": true,
"order": 50
"order": 50,
"draggable": true
},
{
"id": "app.filer.tags",
@@ -2170,6 +2174,7 @@
"sortable": false,
"desktopOnly": true,
"order": 60,
"draggable": true,
"rules": {
"visible": "app.areTagsEnabled"
}
@@ -2194,7 +2199,8 @@
"sortable": true,
"template": "app.columns.libraryName",
"desktopOnly": false,
"order": 20
"order": 20,
"draggable": true
},
{
"id": "app.libraries.description",
@@ -2204,7 +2210,8 @@
"class": "adf-ellipsis-cell adf-expand-cell-5",
"sortable": true,
"desktopOnly": true,
"order": 30
"order": 30,
"draggable": true
},
{
"id": "app.libraries.role",
@@ -2215,7 +2222,8 @@
"sortable": true,
"template": "app.columns.libraryRole",
"desktopOnly": false,
"order": 40
"order": 40,
"draggable": true
},
{
"id": "app.libraries.visibility",
@@ -2226,7 +2234,8 @@
"sortable": true,
"template": "app.columns.libraryStatus",
"desktopOnly": true,
"order": 50
"order": 50,
"draggable": true
}
],
"favoriteLibraries": [
@@ -2248,7 +2257,8 @@
"sortable": true,
"template": "app.columns.libraryName",
"desktopOnly": false,
"order": 20
"order": 20,
"draggable": true
},
{
"id": "app.favorite.libraries.description",
@@ -2258,7 +2268,8 @@
"class": "adf-ellipsis-cell adf-expand-cell-5",
"sortable": true,
"desktopOnly": true,
"order": 30
"order": 30,
"draggable": true
},
{
"id": "app.favorite.libraries.role",
@@ -2269,7 +2280,8 @@
"sortable": true,
"template": "app.columns.libraryRole",
"desktopOnly": false,
"order": 40
"order": 40,
"draggable": true
},
{
"id": "app.favorite.libraries.visibility",
@@ -2280,7 +2292,8 @@
"sortable": true,
"template": "app.columns.libraryStatus",
"desktopOnly": true,
"order": 50
"order": 50,
"draggable": true
}
],
"shared": [
@@ -2301,7 +2314,8 @@
"sortable": true,
"template": "app.columns.name",
"desktopOnly": false,
"order": 20
"order": 20,
"draggable": true
},
{
"id": "app.shared.location",
@@ -2313,7 +2327,8 @@
"sortable": true,
"template": "app.columns.location",
"desktopOnly": true,
"order": 30
"order": 30,
"draggable": true
},
{
"id": "app.shared.size",
@@ -2324,7 +2339,8 @@
"class": "adf-no-grow-cell adf-ellipsis-cell",
"sortable": true,
"desktopOnly": true,
"order": 40
"order": 40,
"draggable": true
},
{
"id": "app.shared.modifiedOn",
@@ -2336,7 +2352,8 @@
"format": "timeAgo",
"sortable": true,
"desktopOnly": true,
"order": 50
"order": 50,
"draggable": true
},
{
"id": "app.shared.modifiedBy",
@@ -2347,7 +2364,8 @@
"class": "adf-ellipsis-cell adf-expand-cell-2",
"sortable": true,
"desktopOnly": true,
"order": 60
"order": 60,
"draggable": true
},
{
"id": "app.shared.sharedBy",
@@ -2358,7 +2376,8 @@
"class": "adf-ellipsis-cell adf-no-grow-cell",
"sortable": true,
"desktopOnly": true,
"order": 70
"order": 70,
"draggable": true
},
{
"id": "app.filer.tags",
@@ -2370,6 +2389,7 @@
"sortable": false,
"desktopOnly": true,
"order": 80,
"draggable": true,
"rules": {
"visible": "app.areTagsEnabled"
}
@@ -2393,7 +2413,8 @@
"sortable": true,
"template": "app.columns.name",
"desktopOnly": false,
"order": 20
"order": 20,
"draggable": true
},
{
"id": "app.recent.location",
@@ -2404,7 +2425,8 @@
"sortable": true,
"template": "app.columns.location",
"desktopOnly": true,
"order": 30
"order": 30,
"draggable": true
},
{
"id": "app.recent.size",
@@ -2415,7 +2437,8 @@
"class": "adf-no-grow-cell adf-ellipsis-cell",
"sortable": true,
"desktopOnly": true,
"order": 40
"order": 40,
"draggable": true
},
{
"id": "app.recent.modifiedOn",
@@ -2426,7 +2449,8 @@
"class": "adf-ellipsis-cell adf-expand-cell-1",
"sortable": true,
"desktopOnly": true,
"order": 50
"order": 50,
"draggable": true
},
{
"id": "app.filer.tags",
@@ -2438,6 +2462,7 @@
"sortable": false,
"desktopOnly": true,
"order": 60,
"draggable": true,
"rules": {
"visible": "app.areTagsEnabled"
}
@@ -2461,7 +2486,8 @@
"sortable": true,
"template": "app.columns.name",
"desktopOnly": false,
"order": 20
"order": 20,
"draggable": true
},
{
"id": "app.favorites.location",
@@ -2472,7 +2498,8 @@
"sortable": true,
"template": "app.columns.location",
"desktopOnly": true,
"order": 30
"order": 30,
"draggable": true
},
{
"id": "app.favorites.size",
@@ -2482,7 +2509,8 @@
"class": "adf-no-grow-cell adf-ellipsis-cell",
"sortable": true,
"desktopOnly": true,
"order": 40
"order": 40,
"draggable": true
},
{
"id": "app.favorites.modifiedOn",
@@ -2493,7 +2521,8 @@
"class": "adf-ellipsis-cell adf-expand-cell-1",
"sortable": true,
"desktopOnly": true,
"order": 50
"order": 50,
"draggable": true
},
{
"id": "app.favorites.modifiedBy",
@@ -2504,7 +2533,8 @@
"class": "adf-ellipsis-cell adf-expand-cell-1",
"sortable": true,
"desktopOnly": true,
"order": 60
"order": 60,
"draggable": true
},
{
"id": "app.filer.tags",
@@ -2516,6 +2546,7 @@
"sortable": false,
"desktopOnly": true,
"order": 70,
"draggable": true,
"rules": {
"visible": "app.areTagsEnabled"
}
@@ -2539,7 +2570,8 @@
"sortable": true,
"template": "app.columns.trashcanName",
"desktopOnly": false,
"order": 20
"order": 20,
"draggable": true
},
{
"id": "app.trashcan.location",
@@ -2550,7 +2582,8 @@
"sortable": true,
"template": "app.columns.location",
"desktopOnly": true,
"order": 30
"order": 30,
"draggable": true
},
{
"id": "app.trashcan.size",
@@ -2561,7 +2594,8 @@
"class": "adf-no-grow-cell adf-ellipsis-cell",
"sortable": true,
"desktopOnly": true,
"order": 40
"order": 40,
"draggable": true
},
{
"id": "app.trashcan.deletedOn",
@@ -2572,7 +2606,8 @@
"class": "adf-ellipsis-cell",
"sortable": true,
"desktopOnly": true,
"order": 50
"order": 50,
"draggable": true
}
],
"search-libraries": [
@@ -2594,7 +2629,8 @@
"sortable": true,
"template": "app.columns.libraryName",
"desktopOnly": false,
"order": 20
"order": 20,
"draggable": true
},
{
"id": "app.favorite.libraries.description",
@@ -2605,7 +2641,8 @@
"sortable": true,
"template": "app.columns.libraryDescription",
"desktopOnly": true,
"order": 30
"order": 30,
"draggable": true
},
{
"id": "app.libraries.role",
@@ -2616,7 +2653,8 @@
"sortable": true,
"template": "app.columns.libraryRole",
"desktopOnly": false,
"order": 40
"order": 40,
"draggable": true
},
{
"id": "app.libraries.visibility",
@@ -2627,7 +2665,8 @@
"sortable": true,
"template": "app.columns.libraryStatus",
"desktopOnly": true,
"order": 50
"order": 50,
"draggable": true
}
]
}