Changed all icons of AI Studio to Lucide (#1187)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-11 14:20:49 +01:00
1 parent 9a676101f7
commit 7ef26cd5c8
352 files changed
+6261 -1620

No files matched your search

@@ -7,7 +7,7 @@
<MudTextField T="string"
@bind-Text="@this.inputPrompt"
Validation="@this.ValidateInputPrompt"
AdornmentIcon="@Icons.Material.Filled.AutoFixHigh"
AdornmentIcon="@AppIcons.ASSISTANT_PROMPT_OPTIMIZER"
Adornment="Adornment.Start"
Label="@T("Prompt or prompt description")"
Variant="Variant.Outlined"
@@ -20,7 +20,7 @@
<EnumSelection T="CommonLanguages"
NameFunc="@(language => language.NameSelectingOptional)"
@bind-Value="@this.selectedTargetLanguage"
Icon="@Icons.Material.Filled.Translate"
Icon="@AppIcons.LANGUAGE"
Label="@T("Language for the optimized prompt")"
AllowOther="@true"
OtherValue="CommonLanguages.OTHER"
@@ -37,7 +37,7 @@
HelperText="@T("(Optional) Specify aspects the optimizer should emphasize in the resulting prompt, such as output structure, or constraints.")"
ShrinkLabel="true"
Variant="Variant.Outlined"
AdornmentIcon="@Icons.Material.Filled.List"
AdornmentIcon="@AppIcons.IMPORTANT_ASPECTS"
Adornment="Adornment.Start"/>
<MudStack Row="true" AlignItems="AlignItems.Center" Class="mb-2">
@@ -90,7 +90,7 @@ else if (this.useCustomPromptGuide)
<MudStack Row="true" AlignItems="AlignItems.Center" Wrap="Wrap.Wrap" StretchItems="StretchItems.None" Class="mb-3">
<MudButton Variant="Variant.Outlined"
StartIcon="@Icons.Material.Filled.MenuBook"
StartIcon="@AppIcons.PROMPT_GUIDE"
OnClick="@(async () => await this.OpenPromptingGuidelineDialog())">
@T("View default prompt guide")
</MudButton>
@@ -109,7 +109,7 @@ else if (this.useCustomPromptGuide)
Style="min-width: 18rem;"/>
<MudButton Variant="Variant.Outlined"
StartIcon="@Icons.Material.Filled.Visibility"
StartIcon="@AppIcons.PREVIEW"
Disabled="@(!this.CanPreviewCustomPromptGuide)"
OnClick="@(async () => await this.OpenCustomPromptGuideDialog())">
@T("View")
@@ -105,7 +105,7 @@ public partial class AssistantPromptOptimizer : AssistantBaseCore<SettingsDialog
{
Text = T("Improve further"),
Tooltip = T("Moves the optimized prompt into the prompt field so you can optimize it again."),
Icon = Icons.Material.Filled.Input,
Icon = AppIcons.USE_AS_INPUT,
Color = Color.Default,
AsyncAction = this.UseOptimizedPromptAsInput,
DisabledActionParam = () => !this.CanImproveFurther,
@@ -626,7 +626,7 @@ public partial class AssistantPromptOptimizer : AssistantBaseCore<SettingsDialog
this.currentCustomPromptGuidePath = filePath;
if (replacedPrevious)
await this.MessageBus.SendInfo(new(Icons.Material.Filled.SwapHoriz, T("Replaced the previously selected custom prompt guide file.")));
await this.MessageBus.SendInfo(new(AppIcons.REPLACE, T("Replaced the previously selected custom prompt guide file.")));
}
private async Task LoadCustomPromptGuidelineContentAsync(FileAttachment fileAttachment)
@@ -634,7 +634,7 @@ public partial class AssistantPromptOptimizer : AssistantBaseCore<SettingsDialog
if (!fileAttachment.Exists)
{
this.customPromptingGuidelineContent = string.Empty;
await this.MessageBus.SendWarning(new(Icons.Material.Filled.FindInPage, T("The selected custom prompt guide file could not be found.")));
await this.MessageBus.SendWarning(new(AppIcons.FILE_NOT_FOUND, T("The selected custom prompt guide file could not be found.")));
return;
}
@@ -649,7 +649,7 @@ public partial class AssistantPromptOptimizer : AssistantBaseCore<SettingsDialog
catch
{
this.customPromptingGuidelineContent = string.Empty;
await this.MessageBus.SendError(new(Icons.Material.Filled.Description, T("Failed to load custom prompt guide content.")));
await this.MessageBus.SendError(new(AppIcons.DOCUMENT, T("Failed to load custom prompt guide content.")));
}
finally
{
@@ -663,7 +663,7 @@ public partial class AssistantPromptOptimizer : AssistantBaseCore<SettingsDialog
var promptingGuideline = await ReadPromptingGuidelineAsync();
if (string.IsNullOrWhiteSpace(promptingGuideline))
{
await this.MessageBus.SendWarning(new(Icons.Material.Filled.MenuBook, T("The prompting guideline file could not be loaded.")));
await this.MessageBus.SendWarning(new(AppIcons.PROMPT_GUIDE, T("The prompting guideline file could not be loaded.")));
return;
}