Increase column size for taskID and createdTime, and decrease Type and Duration (#8594)

This commit is contained in:
Evan Ren 2019-09-27 14:19:04 -07:00 committed by Vadim Ogievetsky
parent e1b4a3ab71
commit 17d9d7daed
2 changed files with 8 additions and 4 deletions

View File

@ -537,7 +537,7 @@ exports[`tasks view matches snapshot 1`] = `
"Header": "Task ID",
"accessor": "task_id",
"show": true,
"width": 300,
"width": 500,
},
Object {
"Aggregated": [Function],
@ -551,6 +551,7 @@ exports[`tasks view matches snapshot 1`] = `
"Header": "Type",
"accessor": "type",
"show": true,
"width": 140,
},
Object {
"Cell": [Function],
@ -570,7 +571,7 @@ exports[`tasks view matches snapshot 1`] = `
"Header": "Created time",
"accessor": "created_time",
"show": true,
"width": 120,
"width": 190,
},
Object {
"Cell": [Function],
@ -589,6 +590,7 @@ exports[`tasks view matches snapshot 1`] = `
"accessor": "duration",
"filterable": false,
"show": true,
"width": 70,
},
Object {
"Aggregated": [Function],

View File

@ -741,7 +741,7 @@ ORDER BY "rank" DESC, "created_time" DESC`;
{
Header: 'Task ID',
accessor: 'task_id',
width: 300,
width: 500,
Aggregated: () => '',
show: hiddenTaskColumns.exists('Task ID'),
},
@ -755,6 +755,7 @@ ORDER BY "rank" DESC, "created_time" DESC`;
{
Header: 'Type',
accessor: 'type',
width: 140,
Cell: row => {
const value = row.value;
return (
@ -799,7 +800,7 @@ ORDER BY "rank" DESC, "created_time" DESC`;
{
Header: 'Created time',
accessor: 'created_time',
width: 120,
width: 190,
Aggregated: () => '',
show: hiddenTaskColumns.exists('Created time'),
},
@ -866,6 +867,7 @@ ORDER BY "rank" DESC, "created_time" DESC`;
{
Header: 'Duration',
accessor: 'duration',
width: 70,
filterable: false,
Cell: row => (row.value > 0 ? formatDuration(row.value) : ''),
Aggregated: () => '',