diff --git a/web-server/src/content/DoraMetrics/DoraCards/ChangeFailureRateCard.tsx b/web-server/src/content/DoraMetrics/DoraCards/ChangeFailureRateCard.tsx index c32704d0a..928d7287f 100644 --- a/web-server/src/content/DoraMetrics/DoraCards/ChangeFailureRateCard.tsx +++ b/web-server/src/content/DoraMetrics/DoraCards/ChangeFailureRateCard.tsx @@ -125,10 +125,16 @@ export const ChangeFailureRateCard = () => { Change Failure Rate - + { + e.stopPropagation(); + }} + > + + { const { addPage } = useOverlayPage(); - const theme = useTheme(); const { role } = useAuth(); const isEng = isRoleLessThanEM(role); @@ -134,109 +125,115 @@ export const ChangeTimeCard = () => { Lead Time for Changes - { + e.stopPropagation(); + }} > - {isSufficientDataAvailable && - !isAllAssignedReposHaveDeploymentsConfigured && ( - - - Insight based on data from{' '} - {reposCountWithWorkflowConfigured} out of{' '} - {allAssignedRepos.length}{' '} - {pluralize('repo', allAssignedRepos.length)} which - have workflow configured. - - - Following{' '} - {pluralize( - 'repo', - reposWithNoDeploymentsConfigured.length - )}{' '} - {reposWithNoDeploymentsConfigured.length > 1 - ? "don't" - : "doesn't"}{' '} - have any workflow assigned : - - {reposWithNoDeploymentsConfigured.map((r) => ( - + {isSufficientDataAvailable && + !isAllAssignedReposHaveDeploymentsConfigured && ( + + + Insight based on data from{' '} + {reposCountWithWorkflowConfigured} out of{' '} + {allAssignedRepos.length}{' '} + {pluralize('repo', allAssignedRepos.length)} which + have workflow configured. + + + Following{' '} + {pluralize( + 'repo', + reposWithNoDeploymentsConfigured.length + )}{' '} + {reposWithNoDeploymentsConfigured.length > 1 + ? "don't" + : "doesn't"}{' '} + have any workflow assigned : + + {reposWithNoDeploymentsConfigured.map((r) => ( + + {r.name} + + ))} + + + {!isEng && ( + + - - )} - - } - darkTip - > - - - )} - {isSufficientDataAvailable && - isAllAssignedReposHaveDeploymentsConfigured && ( - - - All assigned{' '} - {pluralize('repo', allAssignedRepos.length)} have - deployment configured. - - {!isEng && ( - - - - )} - - } - darkTip - > - - - )} - + Configure deployment workflows here + + + )} + + } + darkTip + > + + + )} + {isSufficientDataAvailable && + isAllAssignedReposHaveDeploymentsConfigured && ( + + + All assigned{' '} + {pluralize('repo', allAssignedRepos.length)} have + deployment configured. + + {!isEng && ( + + + + )} + + } + darkTip + > + + + )} + + diff --git a/web-server/src/content/DoraMetrics/DoraCards/MeanTimeToRestoreCard.tsx b/web-server/src/content/DoraMetrics/DoraCards/MeanTimeToRestoreCard.tsx index fecbb1b9b..1814cf1c4 100644 --- a/web-server/src/content/DoraMetrics/DoraCards/MeanTimeToRestoreCard.tsx +++ b/web-server/src/content/DoraMetrics/DoraCards/MeanTimeToRestoreCard.tsx @@ -98,10 +98,16 @@ export const MeanTimeToRestoreCard = () => { Mean Time to Recovery - + { + e.stopPropagation(); + }} + > + + { Deployment Frequency - + { + e.stopPropagation(); + }} + > + + {isCodeProviderIntegrationEnabled && (