mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-24 20:52:11 +00:00
added a render fragment to all assistants below the submit button to show skeletons or other progress indicators
This commit is contained in:
parent
b5a7888188
commit
0064db2b74
@ -48,6 +48,11 @@
|
|||||||
</MudTooltip>
|
</MudTooltip>
|
||||||
}
|
}
|
||||||
</MudStack>
|
</MudStack>
|
||||||
|
|
||||||
|
@if (this.AfterSubmitContent is not null && this.isProcessing)
|
||||||
|
{
|
||||||
|
@this.AfterSubmitContent
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</MudForm>
|
</MudForm>
|
||||||
<Issues IssuesData="@(this.inputIssues)"/>
|
<Issues IssuesData="@(this.inputIssues)"/>
|
||||||
|
|||||||
@ -63,6 +63,8 @@ public abstract partial class AssistantBase<TSettings> : AssistantLowerBase wher
|
|||||||
|
|
||||||
private protected virtual RenderFragment? Body => null;
|
private protected virtual RenderFragment? Body => null;
|
||||||
|
|
||||||
|
private protected virtual RenderFragment? AfterSubmitContent => null;
|
||||||
|
|
||||||
protected virtual bool ShowResult => true;
|
protected virtual bool ShowResult => true;
|
||||||
|
|
||||||
protected virtual bool ShowEntireChatThread => false;
|
protected virtual bool ShowEntireChatThread => false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user