mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-05 14:29:07 +00:00
Fixed an issue with tooltips at the bottom of the app (#271)
This commit is contained in:
parent
09d67bc1c2
commit
940459ca46
@ -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;
|
||||||
|
@ -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())"/>
|
||||||
|
@ -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())
|
||||||
{
|
{
|
||||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user