Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,18 @@ exports[`TasksView matches snapshot 1`] = `
"Type",
"Datasource",
"Status",
"Error",
"Created time",
"Duration",
"Location",
]
}
onChange={[Function]}
tableColumnsHidden={[]}
tableColumnsHidden={
[
"Error",
]
}
/>
</Memo(ViewControlBar)>
<ReactTable
Expand Down Expand Up @@ -182,6 +187,15 @@ exports[`TasksView matches snapshot 1`] = `
"sortMethod": [Function],
"width": 110,
},
{
"Aggregated": [Function],
"Cell": [Function],
"Header": "Error",
"accessor": [Function],
"id": "error",
"show": false,
"width": 300,
},
{
"Aggregated": [Function],
"Cell": [Function],
Expand Down
11 changes: 11 additions & 0 deletions web-console/src/views/tasks-view/tasks-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const taskTableColumns: string[] = [
'Type',
'Datasource',
'Status',
'Error',
'Created time',
'Duration',
'Location',
Expand Down Expand Up @@ -167,6 +168,7 @@ ORDER BY

visibleColumns: new LocalStorageBackedVisibility(
LocalStorageKeys.TASK_TABLE_COLUMN_SELECTION,
['Error'],
),
};

Expand Down Expand Up @@ -476,6 +478,15 @@ ORDER BY
},
show: visibleColumns.shown('Status'),
},
{
Header: 'Error',
id: 'error',
accessor: row => row.error_msg || '',
width: 300,
Cell: this.renderTaskFilterableCell('error'),
Aggregated: () => '',
show: visibleColumns.shown('Error'),
},
{
Header: 'Created time',
accessor: 'created_time',
Expand Down