Skip to content

Commit 587456a

Browse files
committed
feat: enhance CICD components with improved styling and status display logic
1 parent 12cf6f9 commit 587456a

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

src/Shared/Components/CICDHistory/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const BuildAndTaskSummaryTooltipCard = memo(
185185
const executionInfo = sanitizeWorkflowExecutionStages(workflowExecutionStages)
186186

187187
return (
188-
<div className="build-card-popup p-16 br-4 w-350 bg__primary mxh-300 dc__overflow-auto flexbox-col dc__gap-16">
188+
<div className="shadow__overlay p-16 br-4 w-350 bg__primary mxh-300 dc__overflow-auto flexbox-col dc__gap-16">
189189
{/* Info section */}
190190
<div className="dc__icon-text-layout">
191191
<ICCalendar className="fcn-7 icon-dim-20 dc__no-shrink" />

src/Shared/Components/CICDHistory/TriggerOutput.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const Finished = React.memo(({ status, finishedOn, artifact, type, executionInfo
9494
if (executionInfo) {
9595
return (
9696
<span className="cn-9 fs-13 fw-6 lh-20">
97-
{EXECUTION_FINISHED_TEXT_MAP[executionInfo.currentStatus] || 'Execution finished'}
97+
Execution&nbsp;{EXECUTION_FINISHED_TEXT_MAP[executionInfo.currentStatus] || 'finished'}
9898
</span>
9999
)
100100
}
@@ -346,7 +346,14 @@ const CurrentStatus = React.memo(
346346
if (executionInfo.currentStatus === WorkflowStageStatusType.UNKNOWN) {
347347
return (
348348
<div className="flex dc__gap-8 left pt-12">
349-
<span>Unknown status</span>
349+
<span className="cn-9 fs-13 fw-6 lh-20">Unknown status</span>
350+
351+
{type === HistoryComponentType.CI && artifact && (
352+
<>
353+
<div className="dc__bullet" />
354+
<ImageChipCell imagePath={artifact} placement="top" />
355+
</>
356+
)}
350357
</div>
351358
)
352359
}

0 commit comments

Comments
 (0)