From 84ba3ec8b2cc58ed6b6d0e1d70425f6b6b247f4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 17 May 2022 15:05:25 +0200 Subject: [PATCH] Web: cleanup, explain why commented-out code is kept --- web/app/src/components/JobsTable.vue | 1 + web/app/src/components/TasksTable.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/web/app/src/components/JobsTable.vue b/web/app/src/components/JobsTable.vue index a901ec32..c590a67a 100644 --- a/web/app/src/components/JobsTable.vue +++ b/web/app/src/components/JobsTable.vue @@ -45,6 +45,7 @@ export default { const options = { // See pkg/api/flamenco-manager.yaml, schemas Job and JobUpdate. columns: [ + // Useful for debugging when there are many similar jobs: // { title: "ID", field: "id", headerSort: false, formatter: (cell) => cell.getData().id.substr(0, 8), }, { title: 'Status', field: 'status', sorter: 'string', diff --git a/web/app/src/components/TasksTable.vue b/web/app/src/components/TasksTable.vue index eeadfea1..0831df6f 100644 --- a/web/app/src/components/TasksTable.vue +++ b/web/app/src/components/TasksTable.vue @@ -28,6 +28,7 @@ export default { const options = { // See pkg/api/flamenco-manager.yaml, schemas Task and TaskUpdate. columns: [ + // Useful for debugging when there are many similar tasks: // { title: "ID", field: "id", headerSort: false, formatter: (cell) => cell.getData().id.substr(0, 8), }, { title: 'Status', field: 'status', sorter: 'string',