Skip to content

Commit 940459c

Browse files
Fixed an issue with tooltips at the bottom of the app (#271)
1 parent 09d67bc commit 940459c

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

app/MindWork AI Studio/Components/ChatComponent.razor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
4040
[Inject]
4141
private IDialogService DialogService { get; init; } = null!;
4242

43-
private const Placement TOOLBAR_TOOLTIP_PLACEMENT = Placement.Bottom;
43+
private const Placement TOOLBAR_TOOLTIP_PLACEMENT = Placement.Top;
4444
private static readonly Dictionary<string, object?> USER_INPUT_ATTRIBUTES = new();
4545

4646
private Profile currentProfile = Profile.NO_PROFILE;

app/MindWork AI Studio/Components/ConfidenceInfo.razor

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@using AIStudio.Provider
22
<div class="d-flex">
3-
<MudTooltip Text="Shows and hides the confidence card with information about the selected LLM provider.">
3+
<MudTooltip Text="Shows and hides the confidence card with information about the selected LLM provider." Placement="Placement.Top">
44
@if (this.Mode is ConfidenceInfoMode.ICON)
55
{
66
<MudIconButton Icon="@Icons.Material.Filled.Security" Class="confidence-icon" Style="@this.LLMProvider.GetConfidence(this.SettingsManager).SetColorStyle(this.SettingsManager)" OnClick="@(() => this.ToggleConfidence())"/>

app/MindWork AI Studio/Components/ProfileSelection.razor

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<MudTooltip Text="You can switch between your profiles here">
1+
<MudTooltip Text="You can switch between your profiles here" Placement="Placement.Top">
22
<MudMenu StartIcon="@Icons.Material.Filled.Person4" EndIcon="@Icons.Material.Filled.KeyboardArrowDown" Label="@this.CurrentProfile.Name" Variant="Variant.Filled" Color="Color.Default" Class="@this.MarginClass">
33
@foreach (var profile in this.SettingsManager.ConfigurationData.Profiles.GetAllProfiles())
44
{

app/MindWork AI Studio/wwwroot/changelog/v0.9.27.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
- Fixed a memory leak in the chat component.
66
- Fixed an issue with the workspace title not being updated when a chat was moved to another workspace.
77
- Fixed an issue with the chat component not loading the current workspace name when the component was refreshed.
8+
- Fixed an issue with tooltips at the bottom of the app not being displayed as expected.
89
- Removed the "send to" button from the ERI server assistant, since it is not supported.

0 commit comments

Comments
 (0)