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> </MudToolBar>
</MudStack> </MudStack>
<CascadingValue Value="Components.CHAT">
<ProviderSelection @bind-ProviderSettings="@this.providerSettings"/> <ProviderSelection @bind-ProviderSettings="@this.providerSettings"/>
</CascadingValue>
@if (this.AreWorkspacesVisible) @if (this.AreWorkspacesVisible)
{ {
<MudSplitter Dimension="@this.ReadSplitterPosition" DimensionChanged="this.SplitterChanged" EnableSlide="@this.AreWorkspacesVisible" EnableMargin="@false" StartContentStyle="margin-right: 1em;" BarStyle="" EndContentStyle="margin-left: 1em;"> <MudSplitter Dimension="@this.ReadSplitterPosition" DimensionChanged="this.SplitterChanged" EnableSlide="@this.AreWorkspacesVisible" EnableMargin="@false" StartContentStyle="margin-right: 1em;" BarStyle="" EndContentStyle="margin-left: 1em;">

View File

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

View File

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

View File

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