Added a tooltip to the confidence card button

This commit is contained in:
Thorsten Sommer 2024-09-13 21:37:34 +02:00
parent 5608b48a2d
commit 0bc758c8a9
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
3 changed files with 57 additions and 53 deletions

View File

@ -1,5 +1,6 @@
@using AIStudio.Provider
<div class="d-flex">
<MudTooltip Text="Shows and hides the confidence card with information about the selected LLM provider.">
@if (this.Mode is ConfidenceInfoMode.ICON)
{
<MudIconButton Icon="@Icons.Material.Filled.Security" Class="confidence-icon" Style="@this.Provider.GetConfidence(this.SettingsManager).SetColorStyle()" OnClick="@(() => this.ToggleConfidence())"/>
@ -10,6 +11,7 @@ else
Confidence
</MudButton>
}
</MudTooltip>
<MudPopover Open="@this.showConfidence" AnchorOrigin="Origin.TopLeft" TransformOrigin="Origin.BottomLeft" Style="@this.GetPopoverStyle()" DropShadow="@true" Class="border-solid border-4 rounded-lg">
<MudCard>

View File

@ -178,6 +178,6 @@
"contentHash": "FHNOatmUq0sqJOkTx+UF/9YK1f180cnW5FVqnQMvYUN0elp6wFzbtPSiqbo1/ru8ICp43JM1i7kKkk6GsNGHlA=="
}
},
"net8.0/osx-x64": {}
"net8.0/osx-arm64": {}
}
}

View File

@ -0,0 +1,2 @@
# v0.9.11, build 186
- Added a tooltip to the confidence card button.