mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-05-01 01:05:00 +00:00
code: tsx,nextjs,frontends (3 files)
This commit is contained in:
@@ -52,7 +52,7 @@ export const RefreshControls = ({
|
||||
disabled={!runs || runs.length === 0}
|
||||
variant="outline"
|
||||
size="sm"
|
||||
startIcon={<DownloadIcon sx={{ fontSize: 18 }} />}
|
||||
startIcon={<Download size={18} />}
|
||||
>
|
||||
Download JSON
|
||||
</Button>
|
||||
@@ -61,7 +61,7 @@ export const RefreshControls = ({
|
||||
onClick={onRefresh}
|
||||
disabled={isLoading}
|
||||
size="lg"
|
||||
startIcon={<RefreshIcon sx={isLoading ? spinSx : undefined} />}
|
||||
startIcon={<Refresh style={isLoading ? spinSx : undefined} />}
|
||||
>
|
||||
{isLoading ? 'Fetching...' : 'Refresh'}
|
||||
</Button>
|
||||
|
||||
@@ -85,9 +85,9 @@ export const RunRow = ({
|
||||
disabled={isSelectedRun}
|
||||
startIcon={
|
||||
isSelectedRun ? (
|
||||
<RunningIcon sx={{ fontSize: 16, ...spinSx }} />
|
||||
<Autorenew size={16} style={spinSx} />
|
||||
) : (
|
||||
<DownloadIcon sx={{ fontSize: 16 }} />
|
||||
<Download size={16} />
|
||||
)
|
||||
}
|
||||
>
|
||||
@@ -100,7 +100,7 @@ export const RunRow = ({
|
||||
href={run.html_url}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
endIcon={<OpenInNewIcon sx={{ fontSize: 16 }} />}
|
||||
endIcon={<OpenInNew size={16} />}
|
||||
>
|
||||
View
|
||||
</Button>
|
||||
|
||||
@@ -41,7 +41,7 @@ export const RunTable = ({
|
||||
<CardHeader>
|
||||
<Stack direction="row" spacing={1} alignItems="center" justifyContent="space-between">
|
||||
<Stack direction="row" spacing={1} alignItems="center">
|
||||
<SuccessIcon sx={{ color: 'success.main', fontSize: 24 }} />
|
||||
<CheckCircle size={24} style={{ color: 'var(--mui-palette-success-main)' }} />
|
||||
<CardTitle>Recent Workflow Runs</CardTitle>
|
||||
</Stack>
|
||||
{isLoading && <Skeleton sx={{ width: 120, height: 12 }} />}
|
||||
|
||||
Reference in New Issue
Block a user