19642: Updating queued chip to be outline not filled
authorSarah Wait Zaranek <swz@curii.com>
Wed, 21 Dec 2022 16:20:22 +0000 (11:20 -0500)
committerSarah Wait Zaranek <swz@curii.com>
Wed, 21 Dec 2022 16:21:32 +0000 (11:21 -0500)
Arvados-DCO-1.1-Signed-off-by: Sarah Wait Zaranek <swz@curii.com>

src/store/processes/process.ts
src/views-components/data-explorer/renderers.test.tsx

index e62e503600b0838bf9dee8a4e88928281a564677..43107fb138eee21fbe108c7d224c324bf82202ff 100644 (file)
@@ -97,6 +97,10 @@ export const getProcessStatusStyles = (status: string, theme: ArvadosTheme): Rea
         case ProcessStatus.FAILED:
             color = theme.customs.colors.red900;
             break;
+        case ProcessStatus.QUEUED:
+            color = theme.customs.colors.grey600;
+            running = true;
+            break;
         default:
             color = theme.customs.colors.grey600;
             break;
index b8cdb7c10c19477ccc51f5293ce755e65a9811f8..ac8729aa3d32b7ff4dfe0fde5ff05171344dccd2 100644 (file)
@@ -56,8 +56,8 @@ describe('renderers', () => {
             [CR.FINAL, 1, C.COMPLETE, 0, {}, PS.COMPLETED, props.theme.customs.colors.green800, props.theme.palette.common.white],
             [CR.COMMITTED, 0, C.LOCKED, null, {}, PS.ONHOLD, props.theme.customs.colors.grey600, props.theme.palette.common.white],
             [CR.COMMITTED, 0, C.QUEUED, null, {}, PS.ONHOLD, props.theme.customs.colors.grey600, props.theme.palette.common.white],
-            [CR.COMMITTED, 1, C.LOCKED, null, {}, PS.QUEUED, props.theme.customs.colors.grey600, props.theme.palette.common.white],
-            [CR.COMMITTED, 1, C.QUEUED, null, {}, PS.QUEUED, props.theme.customs.colors.grey600, props.theme.palette.common.white],
+            [CR.COMMITTED, 1, C.LOCKED, null, {}, PS.QUEUED, props.theme.palette.common.white, props.theme.customs.colors.grey600],
+            [CR.COMMITTED, 1, C.QUEUED, null, {}, PS.QUEUED, props.theme.palette.common.white, props.theme.customs.colors.grey600],
         ].forEach(([crState, crPrio, cState, exitCode, rs, eLabel, eColor, tColor]) => {
             it(`should render the state label '${eLabel}' and color '${eColor}' for CR state=${crState}, priority=${crPrio}, C state=${cState}, exitCode=${exitCode} and RuntimeStatus=${JSON.stringify(rs)}`, () => {
                 const containerUuid = 'zzzzz-dz642-zzzzzzzzzzzzzzz';