@@ -24,6 +24,8 @@ import { ImageChipCell } from '@Shared/Components/ImageChipCell'
2424import { CommitChipCell } from '@Shared/Components/CommitChipCell'
2525import { ReactComponent as ICLines } from '@Icons/ic-lines.svg'
2626import { ReactComponent as ICPulsateStatus } from '@Icons/ic-pulsate-status.svg'
27+ import { ReactComponent as ICArrowRight } from '@Icons/ic-arrow-right.svg'
28+ import { getDeploymentStageTitle } from '@Pages/App'
2729import {
2830 ConfirmationDialog ,
2931 DATE_TIME_FORMATS ,
@@ -284,16 +286,33 @@ const StartDetails = ({
284286 isJobView,
285287 triggerMetadata,
286288 renderDeploymentHistoryTriggerMetaText,
289+ renderTargetConfigInfo,
290+ stage,
287291} : StartDetailsType ) : JSX . Element => {
288292 const { url } = useRouteMatch ( )
289293 const { pathname } = useLocation ( )
290294
291295 return (
292296 < div className = "w-100 pr-20 flex column left dc__border-bottom-n1" >
293297 < div className = "flexbox dc__gap-8 dc__align-items-center pb-12" >
294- < span className = "cn-9 fs-13 fw-6 lh-20" data-testid = "deployment-history-start-heading" >
295- Start
296- </ span >
298+ < div className = "flex left dc__gap-4 cn-9 fs-13 fw-6 lh-20" >
299+ < div className = "flex left dc__no-shrink dc__gap-4" data-testid = "deployment-history-start-heading" >
300+ < div > Start</ div >
301+ { stage && (
302+ < >
303+ < div className = "dc__bullet" />
304+ < div className = "dc__first-letter-capitalize" > { getDeploymentStageTitle ( stage ) } </ div >
305+ </ >
306+ ) }
307+ </ div >
308+ { environmentName && (
309+ < >
310+ < ICArrowRight className = "icon-dim-14 scn-9 dc__no-shrink" />
311+ < span className = "dc__truncate" > { environmentName } </ span >
312+ </ >
313+ ) }
314+ { renderTargetConfigInfo ?.( ) }
315+ </ div >
297316
298317 < time className = "cn-7 fs-13" >
299318 { moment ( startedOn , 'YYYY-MM-DDTHH:mm:ssZ' ) . format ( DATE_TIME_FORMATS . TWELVE_HOURS_FORMAT ) }
@@ -417,6 +436,7 @@ export const TriggerDetails = React.memo(
417436 workerPodName,
418437 triggerMetadata,
419438 renderDeploymentHistoryTriggerMetaText,
439+ renderTargetConfigInfo,
420440 } : TriggerDetailsType ) : JSX . Element => (
421441 < div className = "trigger-details flexbox-col pb-12" >
422442 < div className = "display-grid trigger-details__grid py-12" >
@@ -436,6 +456,8 @@ export const TriggerDetails = React.memo(
436456 isJobView = { isJobView }
437457 triggerMetadata = { triggerMetadata }
438458 renderDeploymentHistoryTriggerMetaText = { renderDeploymentHistoryTriggerMetaText }
459+ renderTargetConfigInfo = { renderTargetConfigInfo }
460+ stage = { stage }
439461 />
440462
441463 < CurrentStatus
@@ -657,6 +679,7 @@ const TriggerOutput = ({
657679 resourceId,
658680 scrollToTop,
659681 scrollToBottom,
682+ renderTargetConfigInfo,
660683} : TriggerOutputProps ) => {
661684 const { appId, triggerId, envId, pipelineId } = useParams < {
662685 appId : string
@@ -686,12 +709,15 @@ const TriggerOutput = ({
686709 const appliedFiltersTimestamp = triggerHistory . get ( syncTriggerId ) ?. appliedFiltersTimestamp
687710 const promotionApprovalMetadata = triggerHistory . get ( syncTriggerId ) ?. promotionApprovalMetadata
688711 const runSource = triggerHistory . get ( syncTriggerId ) ?. runSource
712+ const targetConfig = triggerHistory . get ( syncTriggerId ) ?. targetConfig
713+
689714 // These changes are not subject to change after refresh, add data which will not change
690715 const additionalDataObject = {
691716 ...( appliedFilters . length ? { appliedFilters } : { } ) ,
692717 ...( appliedFiltersTimestamp ? { appliedFiltersTimestamp } : { } ) ,
693718 ...( promotionApprovalMetadata ? { promotionApprovalMetadata } : { } ) ,
694719 ...( runSource ? { runSource } : { } ) ,
720+ ...( targetConfig ? { targetConfig } : { } ) ,
695721 }
696722 setTriggerHistory ( ( newTriggerHistory ) => {
697723 newTriggerHistory . set ( syncTriggerId , { ...syncTriggerDetail , ...additionalDataObject } )
@@ -808,6 +834,8 @@ const TriggerOutput = ({
808834 artifact = { triggerDetails . artifact }
809835 triggerMetadata = { triggerDetails . triggerMetadata }
810836 renderDeploymentHistoryTriggerMetaText = { renderDeploymentHistoryTriggerMetaText }
837+ environmentName = { selectedEnvironmentName }
838+ renderTargetConfigInfo = { renderTargetConfigInfo }
811839 />
812840 < ul className = "pl-50 pr-20 pt-8 tab-list tab-list--nodes dc__border-bottom dc__position-sticky dc__top-0 bcn-0 dc__zi-3" >
813841 { triggerDetails . stage === 'DEPLOY' && deploymentAppType !== DeploymentAppTypes . HELM && (
0 commit comments