@inherits MSGComponentBase @if (this.seriesIssue is { } issue) { @issue } @ModelComparisonSeriesTexts.HowATaskWorks @if (this.Series.OpenTask is { } task) { @* Stays at the top while the user scrolls through a long chat, like the header of the BeyondFacts Lab: which task and chat this is, and the setup both models work with, which matters for the decision. Its background is that of the paper below it. *@
@this.TaskHeading(task) @T("Discard task")
@if (task.CurrentChat is { } chat) { @this.ChatHint(task) @if (this.allowedFileTypes is not null) { @TA("You cannot attach images in this series, since not both models can read them. Other files, such as documents, work as usual.") } @* Only once everything this chat needs is ready, see ShowOpenTaskAsync: *@ @if (this.shownChat is { } shown && shown.ChatId == chat.ChatId) { } else { } @T("I'm done with this model") } else { }
} else { @if (this.Series.Judge is not null && this.LastDecidedTask is { } decidedTask) { } @T("Setup of this series") @this.NextTaskText @(this.DecidedTaskCount == 0 ? T("Start a task") : T("Test another task")) @if (this.DecidedTaskCount > 0) { @(this.showsResult ? T("Hide the result") : T("Show the result")) } @if (this.showsResult && this.Series.IsResolved) { } }