feat(docker): add widget options to sort containers (#4636)

This commit is contained in:
Meier Lukas
2025-12-12 19:59:28 +01:00
committed by GitHub
parent 984b29d951
commit dd24925d90
3 changed files with 62 additions and 4 deletions

View File

@@ -1939,7 +1939,23 @@
"dockerContainers": {
"name": "Docker stats",
"description": "Stats of your containers (This widget can only be added with administrator privileges)",
"option": {},
"option": {
"enableRowSorting": {
"label": "Enable items sorting"
},
"defaultSort": {
"label": "Column used for sorting by default",
"option": {
"name": "Name",
"state": "State",
"cpuUsage": "CPU usage",
"memoryUsage": "Memory usage"
}
},
"descendingDefaultSort": {
"label": "Invert sorting"
}
},
"error": {
"internalServerError": "Failed to fetch containers stats"
}