Skip to content

Commit

Permalink
Close #523 Implemented building run status
Browse files Browse the repository at this point in the history
  • Loading branch information
olgenn committed Jun 27, 2023
1 parent af24759 commit 56d1629
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions hub/src/libs/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getStatusIconType = (status: IRun['status']): StatusIndicatorProps[
return 'stopped';
case 'done':
return 'success';
case 'building':
case 'running':
case 'uploading':
case 'downloading':
Expand Down
3 changes: 2 additions & 1 deletion hub/src/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@
"aborting": "Aborting",
"aborted": "Aborted",
"failed": "Failed",
"done": "Done"
"done": "Done",
"building": "Building"
}
},
"tag": {
Expand Down
1 change: 1 addition & 0 deletions hub/src/types/run.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ declare type TRunStatus =
| 'submitted'
| 'downloading'
| 'running'
| 'building'
| 'uploading'
| 'stopping'
| 'stopped'
Expand Down

0 comments on commit 56d1629

Please sign in to comment.