epam / cloud-pipeline

Cloud agnostic genomics analysis, scientific computation and storage platform
https://cloud-pipeline.com
Apache License 2.0
144 stars 58 forks source link

GUI RunTable - add additional filters #3547

Closed AleksandrGorodetskii closed 4 weeks ago

AleksandrGorodetskii commented 4 weeks ago

To enable additional filters by tags, an existing preference ui.runs.filters shall be used. Each tab configuration may optionally define additional filters via additionalFilters property:

Example of ui.runs.filters preference with additional tags for "Active Runs" tab:

{
  "key": "active",
  "title": "Active Runs",
  "filters": {
   "statuses": [
    "RUNNING",
    "PAUSED"
   ],
   "onlyMasterJobs": false
  },
  "autoUpdate": true,
  "showCount": true,
  "showPersonalRuns": true,
  "additionalFilters": [
   {
    "title": "Idle runs",
    "tags": [
     "IDLE"
    ]
   },
   {
    "title": "Long Running",
    "tags": [
     "LONG_RUNNING"
    ]
   },
   {
    "title": "Node unavailable",
    "tags": [
     "NODE_UNAVAILABLE"
    ]
   }
  ]
 }