@@ -19,11 +19,12 @@ import React, { useEffect, useMemo, useState } from 'react'
19
19
import { Link , NavLink } from 'react-router-dom'
20
20
import moment from 'moment'
21
21
import { toast } from 'react-toastify'
22
- import { ReactComponent as ICLines } from '@Icons/ic-lines.svg'
23
22
import { ShowMoreText } from '@Shared/Components/ShowMoreText'
24
23
import { getHandleOpenURL } from '@Shared/Helpers'
25
24
import { ImageChipCell } from '@Shared/Components/ImageChipCell'
26
25
import { CommitChipCell } from '@Shared/Components/CommitChipCell'
26
+ import { ReactComponent as ICLines } from '@Icons/ic-lines.svg'
27
+ import { ReactComponent as ICPulsateStatus } from '@Icons/ic-pulsate-status.svg'
27
28
import {
28
29
ConfirmationDialog ,
29
30
DATE_TIME_FORMATS ,
@@ -67,7 +68,7 @@ import DeploymentDetailSteps from './DeploymentDetailSteps'
67
68
import { DeploymentHistoryDetailedView , DeploymentHistoryConfigList } from './DeploymentHistoryDiff'
68
69
import { GitChanges , Scroller } from './History.components'
69
70
import Artifacts from './Artifacts'
70
- import { statusColor as colorMap , EMPTY_STATE_STATUS } from '../../constants'
71
+ import { statusColor as colorMap , EMPTY_STATE_STATUS , PULSATING_STATUS_MAP } from '../../constants'
71
72
import './cicdHistory.scss'
72
73
73
74
const Finished = React . memo (
@@ -377,18 +378,22 @@ const TriggerDetailsStatusIcon = React.memo(
377
378
< div className = "dc__border-left--n7 h-100" />
378
379
</ div >
379
380
380
- < svg width = "20" height = "20" viewBox = "0 0 20 20" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
381
- < circle
382
- cx = "10"
383
- cy = "10"
384
- r = "5"
385
- fill = { colorMap [ status ] }
386
- stroke = { colorMap [ status ] }
387
- strokeOpacity = "0.3"
388
- strokeWidth = "10"
389
- />
390
- < path d = "M10 0L10 5" stroke = "var(--N700)" />
391
- </ svg >
381
+ { PULSATING_STATUS_MAP [ status ] ? (
382
+ < ICPulsateStatus />
383
+ ) : (
384
+ < svg width = "20" height = "20" viewBox = "0 0 20 20" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
385
+ < circle
386
+ cx = "10"
387
+ cy = "10"
388
+ r = "5"
389
+ fill = { colorMap [ status ] }
390
+ stroke = { colorMap [ status ] }
391
+ strokeOpacity = "0.3"
392
+ strokeWidth = "10"
393
+ />
394
+ < path d = "M10 0L10 5" stroke = "var(--N700)" />
395
+ </ svg >
396
+ ) }
392
397
</ div >
393
398
) ,
394
399
)
0 commit comments