@@ -82,7 +82,7 @@ export const JobBasics = ({ pipelineRunResult }: JobBasicsProps) => {
8282 < div
8383 style = { {
8484 width : '100%' ,
85- backgroundColor : ' #f5f6f9' ,
85+ background : `linear-gradient(to right, #f5f6f9, ${ getStatusColor ( pipelineRunResult . jobReport . status ) } 15)` ,
8686 border : '1px solid #d7d9dc' ,
8787 borderRadius : '4px' ,
8888 paddingLeft : '1.5rem' ,
@@ -93,10 +93,34 @@ export const JobBasics = ({ pipelineRunResult }: JobBasicsProps) => {
9393 } }
9494 >
9595 < div style = { { marginBottom : '1rem' } } >
96- < h2 > { pipelineDetails && < AoUStylizedString text = { pipelineDetails . displayName } /> } </ h2 >
97- { pipelineDetails && pipelineDetails . description && (
98- < div style = { { margin : '1rem 0rem' , color : colors . dark ( 0.8 ) } } > { pipelineDetails . description } </ div >
99- ) }
96+ < div style = { { display : 'flex' , justifyContent : 'space-between' , alignItems : 'center' } } >
97+ < div style = { { flex : 1 } } >
98+ < h2 > { pipelineDetails && < AoUStylizedString text = { pipelineDetails . displayName } /> } </ h2 >
99+ { pipelineDetails && pipelineDetails . description && (
100+ < div style = { { margin : '1rem 0rem' , color : colors . dark ( 0.8 ) } } > { pipelineDetails . description } </ div >
101+ ) }
102+ </ div >
103+
104+ { /* Status Badge */ }
105+ < div
106+ style = { {
107+ display : 'flex' ,
108+ alignItems : 'center' ,
109+ gap : '0.5rem' ,
110+ textTransform : 'capitalize' ,
111+ fontSize : 18 ,
112+ fontWeight : 600 ,
113+ border : '1px solid #d7d9dc' ,
114+ padding : '0.5rem 0.75rem' ,
115+ borderRadius : '4px' ,
116+ backgroundColor : '#fff' ,
117+ color : getStatusColor ( pipelineRunResult . jobReport . status ) ,
118+ } }
119+ >
120+ { getStatusIcon ( pipelineRunResult . jobReport . status ) }
121+ { pipelineRunResult . jobReport . status . toLowerCase ( ) }
122+ </ div >
123+ </ div >
100124 </ div >
101125 { /* Description */ }
102126 < div
0 commit comments