diff --git a/src/Routes/Tables/Algorithms/columns.js b/src/Routes/Tables/Algorithms/columns.js index a6b8761f2..24d4be371 100644 --- a/src/Routes/Tables/Algorithms/columns.js +++ b/src/Routes/Tables/Algorithms/columns.js @@ -18,6 +18,7 @@ const LastModified = timestamp => ( const HotWorkers = ({ minHotWorkers }) => {minHotWorkers}; const Memory = mem => {mem || 'No Memory Specified'}; const Cpu = cpu => {cpu || 'No CPU Assigned'}; + const Image = algorithmImage => algorithmImage ? ( @@ -28,28 +29,32 @@ const Image = algorithmImage => ) : ( No Image ); -const Name = (name, record) => - record?.unscheduledReason ? ( - - {name} - - ) : ( - - {name}{' '} - {record?.errors?.includes(errorsCode.NOT_LAST_VERSION_ALGORITHM) && ( - - )} - {record?.devMode && ( - - )} - - ); +const Name = (name, record) => ( + + {record?.unscheduledReason ? ( + + {name} + + ) : ( + <> + {name} + {record?.errors?.includes(errorsCode.NOT_LAST_VERSION_ALGORITHM) && ( + + )} + + )} + {record?.devMode && ( + + )} + +); + const BuildStats = builds => ; const renderAction = (_, record) => ; @@ -60,7 +65,7 @@ const sortByMinHotWorkers = (a, b) => sorter(a.minHotWorkers, b.minHotWorkers); const sortByLastModified = (a, b) => sorter(a.modified, b.modified); export default [ { - width: '12%', + width: '13%', title: 'Algorithm Name', dataIndex: ['name'], key: 'name', @@ -68,7 +73,7 @@ export default [ render: Name, }, { - width: '40%', + width: '39%', title: 'Algorithm Image', dataIndex: ['algorithmImage'], key: 'algorithmImage', diff --git a/src/Routes/Tables/Jobs/TitleDataJob.js b/src/Routes/Tables/Jobs/TitleDataJob.js index f755d7250..e9d38a234 100644 --- a/src/Routes/Tables/Jobs/TitleDataJob.js +++ b/src/Routes/Tables/Jobs/TitleDataJob.js @@ -29,14 +29,24 @@ const Id = (jobID, pipelineName) => { disabled={grafanaUrl === undefined} onClick={grafanaUrl !== undefined ? openUrl(grafanaUrl) : null}> diff --git a/src/graphql/queries/algorithms-query.js b/src/graphql/queries/algorithms-query.js index 1ff984cd0..b45a65d35 100644 --- a/src/graphql/queries/algorithms-query.js +++ b/src/graphql/queries/algorithms-query.js @@ -26,6 +26,8 @@ const ALGORITHMS_QUERY = gql` batchTolerance progressVerbosityLevel ttl + devMode + devFolder concurrentPipelines { amount rejectOnFailure