diff --git a/frontends/nextjs/src/components/misc/github/views/run-list/RunListAlerts.tsx b/frontends/nextjs/src/components/misc/github/views/run-list/RunListAlerts.tsx index 1e565d85d..463cbb3dc 100644 --- a/frontends/nextjs/src/components/misc/github/views/run-list/RunListAlerts.tsx +++ b/frontends/nextjs/src/components/misc/github/views/run-list/RunListAlerts.tsx @@ -5,7 +5,7 @@ import { Autorenew, Cancel, CheckCircle, OpenInNew } from '@/fakemui/icons' import type { WorkflowRun } from '../types' import type { PipelineSummary, RunListProps } from './run-list.types' -import { spinSx } from './run-list.types' +import { spinStyle } from './run-list.types' type RunListAlertsProps = Pick @@ -16,23 +16,23 @@ type SummaryAlertProps = { const SummaryAlert = ({ conclusion, summaryTone }: SummaryAlertProps) => ( {summaryTone === 'success' && } {summaryTone === 'error' && } {summaryTone === 'warning' && ( - + )} - + - + {conclusion.mostRecentPassed && 'Most Recent Builds: ALL PASSED'} {conclusion.mostRecentFailed && 'Most Recent Builds: FAILURES DETECTED'} {conclusion.mostRecentRunning && 'Most Recent Builds: RUNNING'} @@ -59,44 +59,43 @@ const SummaryAlert = ({ conclusion, summaryTone }: SummaryAlertProps) => ( return ( {workflow.status === 'completed' && workflow.conclusion === 'success' && ( - + )} {workflow.status === 'completed' && workflow.conclusion === 'failure' && ( - + )} {workflow.status !== 'completed' && ( - + )} - {workflow.name} - + {workflow.name} + {statusLabel} - Branch: + Branch: @@ -104,7 +103,7 @@ const SummaryAlert = ({ conclusion, summaryTone }: SummaryAlertProps) => ( - Updated: + Updated: {new Date(workflow.updated_at).toLocaleString()} @@ -121,7 +120,7 @@ const SummaryAlert = ({ conclusion, summaryTone }: SummaryAlertProps) => ( href="https://github.com/johndoe6345789/metabuilder/actions" target="_blank" rel="noopener noreferrer" - endIcon={} + endIcon={} > View All Workflows on GitHub @@ -141,14 +140,14 @@ export const RunListAlerts = ({ }: RunListAlertsProps) => ( <> {error && ( - + Error {error} )} {needsAuth && ( - + Authentication Required GitHub API requires authentication for this request. Please configure credentials and