feat(web): richer active-job rows on The Floor (source/format/tracks, stage, elapsed, error)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -7,11 +7,13 @@ export function ProgressBar({
|
||||
step,
|
||||
total,
|
||||
indeterminate,
|
||||
stageLabel,
|
||||
}: {
|
||||
kind: Kind;
|
||||
step: number;
|
||||
total: number;
|
||||
indeterminate?: boolean;
|
||||
stageLabel?: string;
|
||||
}) {
|
||||
if (indeterminate) {
|
||||
return (
|
||||
@@ -29,9 +31,7 @@ export function ProgressBar({
|
||||
<div className="bar">
|
||||
<span style={{ width: `${pct}%` }} />
|
||||
</div>
|
||||
<div className="pct">
|
||||
{step}/{total}
|
||||
</div>
|
||||
<div className="pct">{stageLabel ? `${stageLabel} · step ${step} of ${total}` : `${step}/${total}`}</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user