Fixed the component set for the chat and writer page

This commit is contained in:
Thorsten Sommer 2026-02-01 19:28:28 +01:00
parent 3d9e8a6f48
commit 197549d547
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108
4 changed files with 10 additions and 4 deletions

View File

@ -29,7 +29,9 @@
</MudToolBar>
</MudStack>
<ProviderSelection @bind-ProviderSettings="@this.providerSettings"/>
<CascadingValue Value="Components.CHAT">
<ProviderSelection @bind-ProviderSettings="@this.providerSettings"/>
</CascadingValue>
@if (this.AreWorkspacesVisible)
{
<MudSplitter Dimension="@this.ReadSplitterPosition" DimensionChanged="this.SplitterChanged" EnableSlide="@this.AreWorkspacesVisible" EnableMargin="@false" StartContentStyle="margin-right: 1em;" BarStyle="" EndContentStyle="margin-left: 1em;">
@ -143,4 +145,4 @@
</MudDrawerContainer>
</MudDrawer>
}
</div>
</div>

View File

@ -7,7 +7,9 @@
</MudText>
<PreviewExperimental ApplyInnerScrollingFix="true"/>
<ProviderSelection @bind-ProviderSettings="@this.providerSettings"/>
<CascadingValue Value="Components.WRITER">
<ProviderSelection @bind-ProviderSettings="@this.providerSettings"/>
</CascadingValue>
<InnerScrolling>
<ChildContent>
<MudTextField
@ -55,4 +57,4 @@
UserAttributes="@USER_INPUT_ATTRIBUTES"/>
</FooterContent>
</InnerScrolling>
</div>
</div>

View File

@ -25,6 +25,7 @@ public enum Components
// ReSharper restore InconsistentNaming
CHAT,
WRITER,
APP_SETTINGS,
AGENT_TEXT_CONTENT_CLEANER,

View File

@ -19,6 +19,7 @@ public static class ComponentsExtensions
Components.DOCUMENT_ANALYSIS_ASSISTANT => false,
Components.APP_SETTINGS => false,
Components.WRITER => false,
Components.AGENT_TEXT_CONTENT_CLEANER => false,
Components.AGENT_DATA_SOURCE_SELECTION => false,