From 8e1c00312c48ce57c11345f9381b5030ce6c2dbe Mon Sep 17 00:00:00 2001 From: Ionite Date: Wed, 10 Apr 2024 21:53:59 -0400 Subject: [PATCH] Add Inference prompt help tooltip --- .../Controls/Inference/PromptCard.axaml | 30 ++++++++++++------- .../Controls/Inference/PromptCard.axaml.cs | 2 +- .../Languages/Resources.Designer.cs | 9 ++++++ .../Languages/Resources.resx | 3 ++ .../Inference/PromptCardViewModel.cs | 30 +++++++++++++++++++ .../Models/Settings/TeachingTip.cs | 1 + 6 files changed, 64 insertions(+), 11 deletions(-) diff --git a/StabilityMatrix.Avalonia/Controls/Inference/PromptCard.axaml b/StabilityMatrix.Avalonia/Controls/Inference/PromptCard.axaml index 7c53337d..12423e48 100644 --- a/StabilityMatrix.Avalonia/Controls/Inference/PromptCard.axaml +++ b/StabilityMatrix.Avalonia/Controls/Inference/PromptCard.axaml @@ -8,6 +8,8 @@ xmlns:icons="clr-namespace:Projektanker.Icons.Avalonia;assembly=Projektanker.Icons.Avalonia" xmlns:mocks="clr-namespace:StabilityMatrix.Avalonia.DesignData" xmlns:vmInference="clr-namespace:StabilityMatrix.Avalonia.ViewModels.Inference" + xmlns:ui="clr-namespace:FluentAvalonia.UI.Controls;assembly=FluentAvalonia" + xmlns:lang="clr-namespace:StabilityMatrix.Avalonia.Languages" x:DataType="vmInference:PromptCardViewModel"> @@ -56,21 +58,29 @@ HorizontalAlignment="Right" Orientation="Horizontal"> -