@inherits MSGComponentBase
@T("Progress of the runs")
@for (var i = 0; i < this.Batch.RunCount; i++)
{
var index = i;
var status = this.Batch.StatusOf(index);
@* A native title attribute, not MudTooltip: while the batch is still running, this row re-renders often enough that MudTooltip's JS-side hover tracking kept losing track of which badge is which, and stopped showing anything at all. A native tooltip lives entirely in the browser, so re-rendering the content underneath it cannot break it. *@
@* The current entry gets a ring around its avatar: with several runs done and unvoted, position alone -- second from the left, say -- is too easy to lose track of. *@
@switch (status)
{
case ModelComparisonRunStatus.VOTED:
break;
case ModelComparisonRunStatus.RUNNING:
@* Only the runs actually in flight get the spinner -- the ones still queued behind the concurrency limit get an hourglass instead: *@
break;
case ModelComparisonRunStatus.QUEUED:
break;
case ModelComparisonRunStatus.NO_USABLE_ANSWER or ModelComparisonRunStatus.VOTE_SKIPPED:
break;
default:
break;
}
@(index + 1)
}