From d5ccbfa201eaa5b3edf4a7c211cfa622b49de838 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Tue, 21 Jan 2025 19:21:07 +0100 Subject: [PATCH] Fixed an issue with tooltips at the bottom of the screen --- app/MindWork AI Studio/Components/ChatComponent.razor.cs | 2 +- app/MindWork AI Studio/Components/ConfidenceInfo.razor | 2 +- app/MindWork AI Studio/Components/ProfileSelection.razor | 2 +- app/MindWork AI Studio/wwwroot/changelog/v0.9.27.md | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/MindWork AI Studio/Components/ChatComponent.razor.cs b/app/MindWork AI Studio/Components/ChatComponent.razor.cs index e3c66aa1..5a10625e 100644 --- a/app/MindWork AI Studio/Components/ChatComponent.razor.cs +++ b/app/MindWork AI Studio/Components/ChatComponent.razor.cs @@ -40,7 +40,7 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable [Inject] private IDialogService DialogService { get; init; } = null!; - private const Placement TOOLBAR_TOOLTIP_PLACEMENT = Placement.Bottom; + private const Placement TOOLBAR_TOOLTIP_PLACEMENT = Placement.Top; private static readonly Dictionary USER_INPUT_ATTRIBUTES = new(); private Profile currentProfile = Profile.NO_PROFILE; diff --git a/app/MindWork AI Studio/Components/ConfidenceInfo.razor b/app/MindWork AI Studio/Components/ConfidenceInfo.razor index e43a4cbe..f120b919 100644 --- a/app/MindWork AI Studio/Components/ConfidenceInfo.razor +++ b/app/MindWork AI Studio/Components/ConfidenceInfo.razor @@ -1,6 +1,6 @@ @using AIStudio.Provider
- + @if (this.Mode is ConfidenceInfoMode.ICON) { diff --git a/app/MindWork AI Studio/Components/ProfileSelection.razor b/app/MindWork AI Studio/Components/ProfileSelection.razor index a832ec60..44f242bf 100644 --- a/app/MindWork AI Studio/Components/ProfileSelection.razor +++ b/app/MindWork AI Studio/Components/ProfileSelection.razor @@ -1,4 +1,4 @@ - + @foreach (var profile in this.SettingsManager.ConfigurationData.Profiles.GetAllProfiles()) { diff --git a/app/MindWork AI Studio/wwwroot/changelog/v0.9.27.md b/app/MindWork AI Studio/wwwroot/changelog/v0.9.27.md index 49f20500..b1db142e 100644 --- a/app/MindWork AI Studio/wwwroot/changelog/v0.9.27.md +++ b/app/MindWork AI Studio/wwwroot/changelog/v0.9.27.md @@ -5,4 +5,5 @@ - Fixed a memory leak in the chat component. - Fixed an issue with the workspace title not being updated when a chat was moved to another workspace. - Fixed an issue with the chat component not loading the current workspace name when the component was refreshed. +- Fixed an issue with tooltips at the bottom of the screen not being displayed as expected. - Removed the "send to" button from the ERI server assistant, since it is not supported. \ No newline at end of file