Skip to content

Commit

Permalink
Fixed an issue with tooltips at the bottom of the app (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
SommerEngineering authored Jan 21, 2025
1 parent 09d67bc commit 940459c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/MindWork AI Studio/Components/ChatComponent.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, object?> USER_INPUT_ATTRIBUTES = new();

private Profile currentProfile = Profile.NO_PROFILE;
Expand Down
2 changes: 1 addition & 1 deletion app/MindWork AI Studio/Components/ConfidenceInfo.razor
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@using AIStudio.Provider
<div class="d-flex">
<MudTooltip Text="Shows and hides the confidence card with information about the selected LLM provider.">
<MudTooltip Text="Shows and hides the confidence card with information about the selected LLM provider." Placement="Placement.Top">
@if (this.Mode is ConfidenceInfoMode.ICON)
{
<MudIconButton Icon="@Icons.Material.Filled.Security" Class="confidence-icon" Style="@this.LLMProvider.GetConfidence(this.SettingsManager).SetColorStyle(this.SettingsManager)" OnClick="@(() => this.ToggleConfidence())"/>
Expand Down
2 changes: 1 addition & 1 deletion app/MindWork AI Studio/Components/ProfileSelection.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<MudTooltip Text="You can switch between your profiles here">
<MudTooltip Text="You can switch between your profiles here" Placement="Placement.Top">
<MudMenu StartIcon="@Icons.Material.Filled.Person4" EndIcon="@Icons.Material.Filled.KeyboardArrowDown" Label="@this.CurrentProfile.Name" Variant="Variant.Filled" Color="Color.Default" Class="@this.MarginClass">
@foreach (var profile in this.SettingsManager.ConfigurationData.Profiles.GetAllProfiles())
{
Expand Down
1 change: 1 addition & 0 deletions app/MindWork AI Studio/wwwroot/changelog/v0.9.27.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 940459c

Please sign in to comment.