Use splitter for chat

This commit is contained in:
Pat Hartl 2025-11-13 23:39:55 -06:00
parent 0f231e2ecf
commit 4db6215aec
2 changed files with 8 additions and 4 deletions

View file

@ -6,9 +6,14 @@
<Button OnClick="StartThread">New Thread</Button>
<ChatList Threads="_threads" />
<ChatThread Id="_currentThreadId" />
<SplitPane>
<Pane>
<ChatList Threads="_threads" />
</Pane>
<Pane>
<ChatThread Id="_currentThreadId" />
</Pane>
</SplitPane>
@code {
IEnumerable<SDK.Models.ChatThread> _threads = [];

View file

@ -1,5 +1,4 @@
@using System.Collections.Specialized
@using LANCommander.SDK
@using LANCommander.SDK.Services
@using Microsoft.AspNetCore.Components.Web.Virtualization
@inject ChatClient ChatClient