File tree Expand file tree Collapse file tree 4 files changed +19
-18
lines changed
Shared/Components/CICDHistory Expand file tree Collapse file tree 4 files changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ export const ImageTagsContainer = ({
297
297
298
298
if ( newDescription === '' && displayedTags . length === 0 && ! isEditing ) {
299
299
return tagsEditable ? (
300
- < div className = "bg__primary mt-8 add-image-button " >
300
+ < div className = "bg__primary mt-8 flexbox " >
301
301
< AddImageButton handleEditClick = { handleEditClick } />
302
302
</ div >
303
303
) : (
@@ -568,11 +568,13 @@ const AddImageButton = ({ handleEditClick }) => {
568
568
}
569
569
570
570
return (
571
- < div className = "add-tag-button flex pt-12 pr-12" data-testid = "add-tags-button" onClick = { handleClick } >
572
- < div className = "lh-16 flex" >
573
- < Add className = "icon-dim-16 cn-6" />
574
- < span className = "cn-7" > Add labels/comment</ span >
575
- </ div >
576
- </ div >
571
+ < button
572
+ className = "dc__transparent px-8 py-4 flexbox dc__align-items-center dc__gap-4 dc__border-dashed--n3 br-4"
573
+ data-testid = "add-tags-button"
574
+ onClick = { handleClick }
575
+ >
576
+ < Add className = "icon-dim-16 cn-6 dc__no-shrink" />
577
+ < span className = "cn-7 lh-16" > Add labels/comment</ span >
578
+ </ button >
577
579
)
578
580
}
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ export const CIListItem = ({
98
98
} `}
99
99
data-testid = "hover-on-report-artifact"
100
100
>
101
- < div className = "ci-artifacts-grid flex left" >
101
+ < div className = "flex left dc__gap-12 " >
102
102
< div className = "bcn-1 flex br-4 icon-dim-40" >
103
103
< img src = { type === 'report' ? folder : docker } className = "icon-dim-20" alt = "type" />
104
104
</ div >
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import { ReactComponent as Arrow } from '../../../Assets/Icon/ic-arrow-forward.s
29
29
import mechanicalOperation from '../../../Assets/Icon/ic-mechanical-operation.svg'
30
30
import CDEmptyState from './CDEmptyState'
31
31
import DeploymentStatusDetailBreakdown from './DeploymentStatusBreakdown'
32
- import { getIsApprovalPolicyConfigured , processDeploymentStatusDetailsData } from '../../Helpers'
32
+ import { getHandleOpenURL , getIsApprovalPolicyConfigured , processDeploymentStatusDetailsData } from '../../Helpers'
33
33
34
34
let deploymentStatusTimer = null
35
35
const DeploymentDetailSteps = ( {
@@ -119,16 +119,15 @@ const DeploymentDetailSteps = ({
119
119
120
120
const redirectToDeploymentStatus = ( ) => {
121
121
if ( isHelmApps ) {
122
- history . push ( {
123
- pathname : `${ URLS . APP } /${ URLS . DEVTRON_CHARTS } /${ URLS . APP_DEPLOYMNENT_HISTORY } /${ appId } /env/${ envId } /${ URLS . DETAILS } /${ URLS . APP_DETAILS_K8 } ` ,
124
- search : DEPLOYMENT_STATUS_QUERY_PARAM ,
125
- } )
122
+ getHandleOpenURL (
123
+ `${ window . __BASE_URL__ } ${ URLS . APP } /${ URLS . DEVTRON_CHARTS } /${ URLS . APP_DEPLOYMNENT_HISTORY } /${ appId } /env/${ envId } /${ URLS . DETAILS } /${ URLS . APP_DETAILS_K8 } ?${ DEPLOYMENT_STATUS_QUERY_PARAM } ` ,
124
+ ) ( )
126
125
return
127
126
}
128
- history . push ( {
129
- pathname : ` ${ URLS . APP } / ${ appId } / ${ URLS . APP_DETAILS } / ${ envId } / ${ URLS . APP_DETAILS_K8 } ` ,
130
- search : DEPLOYMENT_STATUS_QUERY_PARAM ,
131
- } )
127
+
128
+ getHandleOpenURL (
129
+ ` ${ window . __BASE_URL__ } ${ URLS . APP } / ${ appId } / ${ URLS . APP_DETAILS } / ${ envId } / ${ URLS . APP_DETAILS_K8 } ? ${ DEPLOYMENT_STATUS_QUERY_PARAM } ` ,
130
+ ) ( )
132
131
}
133
132
134
133
const getDeploymentStatusDetails = ( ) =>
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ const HistoryLogs: React.FC<HistoryLogsProps> = ({
92
92
const CDBuildReportUrl = `app/cd-pipeline/workflow/download/${ appId } /${ envId } /${ pipelineId } /${ triggerId } `
93
93
94
94
return (
95
- < div className = "trigger-outputs-container flexbox-col flex-grow-1 h-100" >
95
+ < div className = "trigger-outputs-container bg__tertiary flexbox-col flex-grow-1 h-100" >
96
96
{ loading ? (
97
97
< Progressing pageLoader />
98
98
) : (
You can’t perform that action at this time.
0 commit comments