From 940459ca467051b0dfee76ef22d091a83e0f4aa2 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Tue, 21 Jan 2025 19:22:26 +0100 Subject: [PATCH] Fixed an issue with tooltips at the bottom of the app (#271) --- 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 e3c66aa..5a10625 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 e43a4cb..f120b91 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 a832ec6..44f242b 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 49f2050..1f525e5 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 app 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