diff --git a/app/MindWork AI Studio/Components/AssistantBlock.razor.cs b/app/MindWork AI Studio/Components/AssistantBlock.razor.cs index 1c2022ea8..251b175bd 100644 --- a/app/MindWork AI Studio/Components/AssistantBlock.razor.cs +++ b/app/MindWork AI Studio/Components/AssistantBlock.razor.cs @@ -96,7 +96,7 @@ public partial class AssistantBlock : MSGComponentBase, IAssistantCat false => this.ColorTheme.GetCurrentPalette(this.SettingsManager).GrayDefault, }; - private string BlockStyle => $"border-width: 3px; border-color: {this.BorderColor}; border-radius: 12px; border-style: solid; max-width: 20em;"; + private string BlockStyle => $"border-width: 3px; border-color: {this.BorderColor}; border-radius: 12px; border-style: solid; width: 20em;"; /// public bool IsVisible => this.SettingsManager.IsAssistantVisible(this.Component, assistantName: this.Name, requiredPreviewFeature: this.RequiredPreviewFeature); diff --git a/app/MindWork AI Studio/Components/AssistantPluginBlock.razor b/app/MindWork AI Studio/Components/AssistantPluginBlock.razor index 8d2084ed9..defb2ae2f 100644 --- a/app/MindWork AI Studio/Components/AssistantPluginBlock.razor +++ b/app/MindWork AI Studio/Components/AssistantPluginBlock.razor @@ -11,10 +11,10 @@ Link="@this.LaunchLink" OnClick="@this.StartAsync"> - + @if (this.AvailablePlugin is not null) { - + } diff --git a/app/MindWork AI Studio/Components/DirectChatLauncherSettingsAction.razor b/app/MindWork AI Studio/Components/DirectChatLauncherSettingsAction.razor index 776219edd..c47828aec 100644 --- a/app/MindWork AI Studio/Components/DirectChatLauncherSettingsAction.razor +++ b/app/MindWork AI Studio/Components/DirectChatLauncherSettingsAction.razor @@ -6,7 +6,7 @@ diff --git a/app/MindWork AI Studio/Components/DirectChatLauncherSettingsAction.razor.cs b/app/MindWork AI Studio/Components/DirectChatLauncherSettingsAction.razor.cs index 9831d236b..ac1f9e162 100644 --- a/app/MindWork AI Studio/Components/DirectChatLauncherSettingsAction.razor.cs +++ b/app/MindWork AI Studio/Components/DirectChatLauncherSettingsAction.razor.cs @@ -20,6 +20,13 @@ public partial class DirectChatLauncherSettingsAction : MSGComponentBase [Parameter, EditorRequired] public PluginAssistants Plugin { get; set; } = null!; + /// + /// Shows the action as a small button. A tile of the assistants page needs it: next to a button + /// of the usual size, its start button would sit higher than on the other tiles. + /// + [Parameter] + public bool Compact { get; set; } + [Inject] private IDialogService DialogService { get; init; } = null!; diff --git a/app/MindWork AI Studio/Components/PluginDeleteAction.razor b/app/MindWork AI Studio/Components/PluginDeleteAction.razor index 90092c7d0..4baea907b 100644 --- a/app/MindWork AI Studio/Components/PluginDeleteAction.razor +++ b/app/MindWork AI Studio/Components/PluginDeleteAction.razor @@ -6,7 +6,7 @@ diff --git a/app/MindWork AI Studio/Components/PluginDeleteAction.razor.cs b/app/MindWork AI Studio/Components/PluginDeleteAction.razor.cs index 8afcbb1a8..837ae2d2f 100644 --- a/app/MindWork AI Studio/Components/PluginDeleteAction.razor.cs +++ b/app/MindWork AI Studio/Components/PluginDeleteAction.razor.cs @@ -23,6 +23,13 @@ public partial class PluginDeleteAction : MSGComponentBase [Parameter, EditorRequired] public IAvailablePlugin Plugin { get; set; } = null!; + /// + /// Shows the action as a small button. A tile of the assistants page needs it: next to a button + /// of the usual size, its start button would sit higher than on the other tiles. + /// + [Parameter] + public bool Compact { get; set; } + [Inject] private IDialogService DialogService { get; init; } = null!; diff --git a/app/MindWork AI Studio/wwwroot/changelog/v26.11.2.md b/app/MindWork AI Studio/wwwroot/changelog/v26.11.2.md index bfad5d1f2..e674dc371 100644 --- a/app/MindWork AI Studio/wwwroot/changelog/v26.11.2.md +++ b/app/MindWork AI Studio/wwwroot/changelog/v26.11.2.md @@ -47,6 +47,7 @@ - Fixed the automatic security audit of assistant plugins when no model was set for it: you got two error messages for each plugin, again whenever you opened the assistants or plugins page. Now AI Studio tells you once, and the settings of the security audit show a warning. - Fixed the AI-based data validation of classic RAG, which kept passages that the AI had judged as not fitting your question. Now the AI only gets the passages that fit. When the check fails for a passage, AI Studio keeps it, and when it fails for all of them, AI Studio tells you. - Fixed signing in to a mailbox when your username or password contains characters beyond ASCII, such as umlauts, accents, or Asian characters. Depending on its configuration, a mail server may expect them in another encoding than UTF-8. You can now choose the encoding in the server details of the mailbox, and after a failed sign-in, AI Studio offers to test the connection once more with the encoding common in your region. +- Fixed the tiles on the assistants page, which were narrower when their texts were short, so that the tiles did not line up in columns. All tiles now have the same width, and their start buttons sit at the same height. - Upgraded several libraries to improve security. - Upgraded Tauri to v2.12.7. - Upgraded PDFium to v158.0.8125.0 and Qdrant Edge to v0.9.0.