Locked changes to a chat while an answer is being written (#1058)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-10-13 18:50:56 +02:00
1 parent 88d1f4d96a
commit fbb65fd72d
19 files changed
+841 -59

No files matched your search

+4 -1
View File
@@ -32,7 +32,7 @@
</MudStack>
<CascadingValue Value="Components.CHAT">
<ProviderSelection @bind-ProviderSettings="@this.providerSettings"/>
<ProviderSelection @bind-ProviderSettings="@this.providerSettings" Disabled="@this.isAnswerBeingWritten"/>
</CascadingValue>
@if (this.AreWorkspacesVisible)
{
@@ -97,6 +97,7 @@
<ChatComponent
@bind-ChatThread="@this.chatThread"
@bind-Provider="@this.providerSettings"
IsAnswerBeingWrittenChanged="@(isBeingWritten => this.isAnswerBeingWritten = isBeingWritten)"
ComposerState="@this.composerState"
Workspaces="@this.workspaces"
WorkspaceName="name => this.UpdateWorkspaceName(name)"/>
@@ -124,6 +125,7 @@
<ChatComponent
@bind-ChatThread="@this.chatThread"
@bind-Provider="@this.providerSettings"
IsAnswerBeingWrittenChanged="@(isBeingWritten => this.isAnswerBeingWritten = isBeingWritten)"
ComposerState="@this.composerState"
Workspaces="@this.workspaces"
WorkspaceName="name => this.UpdateWorkspaceName(name)"/>
@@ -135,6 +137,7 @@
<ChatComponent
@bind-ChatThread="@this.chatThread"
@bind-Provider="@this.providerSettings"
IsAnswerBeingWrittenChanged="@(isBeingWritten => this.isAnswerBeingWritten = isBeingWritten)"
ComposerState="@this.composerState"
Workspaces="@this.workspaces"
WorkspaceName="name => this.UpdateWorkspaceName(name)"/>