Fixed an issue with tooltips at the bottom of the app (#271)

This commit is contained in:
Thorsten Sommer 2025-01-21 19:22:26 +01:00 committed by GitHub
parent 09d67bc1c2
commit 940459ca46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 3 deletions

View File

@ -40,7 +40,7 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
[Inject] [Inject]
private IDialogService DialogService { get; init; } = null!; 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 static readonly Dictionary<string, object?> USER_INPUT_ATTRIBUTES = new();
private Profile currentProfile = Profile.NO_PROFILE; private Profile currentProfile = Profile.NO_PROFILE;

View File

@ -1,6 +1,6 @@
@using AIStudio.Provider @using AIStudio.Provider
<div class="d-flex"> <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) @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())"/> <MudIconButton Icon="@Icons.Material.Filled.Security" Class="confidence-icon" Style="@this.LLMProvider.GetConfidence(this.SettingsManager).SetColorStyle(this.SettingsManager)" OnClick="@(() => this.ToggleConfidence())"/>

View File

@ -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"> <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()) @foreach (var profile in this.SettingsManager.ConfigurationData.Profiles.GetAllProfiles())
{ {

View File

@ -5,4 +5,5 @@
- Fixed a memory leak in the chat component. - 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 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 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. - Removed the "send to" button from the ERI server assistant, since it is not supported.