From 7871cfd6135f748253ad2b07a98b8125a9be902d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Carr=C3=A8re?= Date: Wed, 21 Jan 2026 14:15:21 +0100 Subject: [PATCH 01/36] UI redesign WIP --- LM-Kit-Maestro/AppConstants.cs | 2 +- LM-Kit-Maestro/LM-Kit-Maestro.dev.csproj | 10 +- LM-Kit-Maestro/MauiProgram.cs | 1 - LM-Kit-Maestro/UI/Components/ChatInput.razor | 9 +- .../UI/Components/ChatInput.razor.css | 95 +++-- .../UI/Components/ChatMessage.razor.css | 79 ++-- .../UI/Components/ChatSettings.razor.css | 14 +- .../UI/Components/ChatSidebar.razor | 1 - .../UI/Components/ChatSidebar.razor.css | 26 +- .../Components/ConversationListItem.razor.css | 44 +- .../UI/Components/Expander.razor.css | 25 +- .../UI/Components/IconButton.razor.css | 47 ++- .../UI/Components/ModelCard.razor.css | 43 +- .../UI/Components/ModelSelectionButton.razor | 24 +- .../Components/ModelSelectionButton.razor.css | 73 ++-- LM-Kit-Maestro/UI/MainLayout.razor | 32 +- LM-Kit-Maestro/UI/Pages/ChatPage.razor | 220 +++++----- LM-Kit-Maestro/UI/Pages/ChatPage.razor.cs | 28 ++ LM-Kit-Maestro/UI/Pages/ChatPage.razor.css | 387 ++++++++++++++---- LM-Kit-Maestro/UI/Pages/ModelsPage.razor | 243 ----------- .../ViewModels/Pages/ModelsPageViewModel.cs | 152 ------- LM-Kit-Maestro/wwwroot/css/lmkitmaestro.css | 308 ++++++++++---- 22 files changed, 951 insertions(+), 912 deletions(-) delete mode 100644 LM-Kit-Maestro/UI/Pages/ModelsPage.razor delete mode 100644 LM-Kit-Maestro/ViewModels/Pages/ModelsPageViewModel.cs diff --git a/LM-Kit-Maestro/AppConstants.cs b/LM-Kit-Maestro/AppConstants.cs index a01bbba9..3417f148 100644 --- a/LM-Kit-Maestro/AppConstants.cs +++ b/LM-Kit-Maestro/AppConstants.cs @@ -2,7 +2,7 @@ internal static class AppConstants { - public const string AppVersion = "0.1.5"; + public const string AppVersion = "2016.1.1"; public const string AppName = "LM-Kit Maestro"; public static string AppNameWithVersion => $"{AppName} {AppVersion}"; diff --git a/LM-Kit-Maestro/LM-Kit-Maestro.dev.csproj b/LM-Kit-Maestro/LM-Kit-Maestro.dev.csproj index 1cf5ee3e..0ae6877e 100644 --- a/LM-Kit-Maestro/LM-Kit-Maestro.dev.csproj +++ b/LM-Kit-Maestro/LM-Kit-Maestro.dev.csproj @@ -97,10 +97,10 @@ - - - - + + + + @@ -108,7 +108,7 @@ - + diff --git a/LM-Kit-Maestro/MauiProgram.cs b/LM-Kit-Maestro/MauiProgram.cs index 253d446c..b0772eea 100644 --- a/LM-Kit-Maestro/MauiProgram.cs +++ b/LM-Kit-Maestro/MauiProgram.cs @@ -74,7 +74,6 @@ private static void RegisterViewModels(this MauiAppBuilder builder) builder.Services.AddSingleton(); builder.Services.AddSingleton(); builder.Services.AddSingleton(); - builder.Services.AddTransient(); builder.Services.AddSingleton(); } diff --git a/LM-Kit-Maestro/UI/Components/ChatInput.razor b/LM-Kit-Maestro/UI/Components/ChatInput.razor index 21472b42..52a7151c 100644 --- a/LM-Kit-Maestro/UI/Components/ChatInput.razor +++ b/LM-Kit-Maestro/UI/Components/ChatInput.razor @@ -1,4 +1,4 @@ -@inject IJSRuntime JS +@inject IJSRuntime JS @inject Maestro.Services.ISnackbarService SnackbarService
@@ -6,6 +6,7 @@