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

@@ -322,7 +322,7 @@ public partial class Embeddings : MSGComponentBase
if (failure.FailureReason is not ProviderRequestFailureReason.NONE)
{
var isFixedInSettings = failure.FailureReason.IsFixedInProviderSettings;
return new FailureCause(isFixedInSettings ? 0 : 1, failure.FailureReason.Name, isFixedInSettings ? Icons.Material.Filled.Key : Icons.Material.Filled.CloudOff, Color.Error, false, isFixedInSettings, true);
return new FailureCause(isFixedInSettings ? 0 : 1, failure.FailureReason.Name, isFixedInSettings ? AppIcons.KEY : AppIcons.PROVIDER_ERROR, Color.Error, false, isFixedInSettings, true);
}
//
@@ -335,8 +335,8 @@ public partial class Embeddings : MSGComponentBase
var showsMessagePerFile = !hasCauseName || failure.ExtractionCode is FileExtractionErrorCode.MEDIA_PROCESSING_FAILED;
return failure.IsPermanent
? new FailureCause(3, title, Icons.Material.Filled.SkipNext, Color.Default, true, false, showsMessagePerFile)
: new FailureCause(2, title, Icons.Material.Filled.ReportProblem, Color.Warning, false, false, !hasCauseName);
? new FailureCause(3, title, AppIcons.SKIPPED, Color.Default, true, false, showsMessagePerFile)
: new FailureCause(2, title, AppIcons.WARNING, Color.Warning, false, false, !hasCauseName);
}
private static string GetEmbeddingProviderName(IEnumerable<DataSourceEmbeddingFailure> failures) => failures
@@ -359,7 +359,7 @@ public partial class Embeddings : MSGComponentBase
0,
T("Too large"),
string.Format(T("These files match the data source patterns, but they are larger than its limit of {0}. You can raise the limit in the expert settings of the data source."), this.GetMaxFileSizeText(status)),
Icons.Material.Filled.Straighten,
AppIcons.FILE_SIZE,
Color.Warning,
true,
false),
@@ -367,7 +367,7 @@ public partial class Embeddings : MSGComponentBase
0,
T("No transcription provider"),
T("These audio or video files match the data source patterns, but no transcription provider is configured that AI Studio may use. Once you choose one in the settings, AI Studio transcribes the files and adds their text to the index."),
Icons.Material.Filled.MicOff,
AppIcons.MICROPHONE_OFF,
Color.Warning,
false,
true),
@@ -375,7 +375,7 @@ public partial class Embeddings : MSGComponentBase
0,
T("Transcription provider not allowed"),
T("These audio or video files match the data source patterns, but your transcription provider does not meet the confidence level this data source requires. Choose another transcription provider, or change the confidence level of the data source."),
Icons.Material.Filled.GppBad,
AppIcons.SECURITY_BLOCKED,
Color.Warning,
true,
true),
@@ -383,7 +383,7 @@ public partial class Embeddings : MSGComponentBase
1,
FileTypes.IMAGE.FilterName,
T("These image files match the data source patterns, but images cannot currently be added to the index."),
Icons.Material.Filled.ImageNotSupported,
AppIcons.IMAGE_NOT_SUPPORTED,
Color.Default,
false,
false),
@@ -463,7 +463,7 @@ public partial class Embeddings : MSGComponentBase
catch (Exception e)
{
this.Logger.LogWarning(e, "Could not show a file of the embedding failure list in the file manager.");
await this.MessageBus.SendError(new(Icons.Material.Filled.Folder, T("Could not open the file location.")));
await this.MessageBus.SendError(new(AppIcons.FOLDER_OPEN, T("Could not open the file location.")));
return;
}
@@ -471,7 +471,7 @@ public partial class Embeddings : MSGComponentBase
return;
var issue = string.IsNullOrWhiteSpace(response.Issue) ? T("Unknown error") : response.Issue;
await this.MessageBus.SendError(new(Icons.Material.Filled.Folder, string.Format(T("Could not open the file location: {0}"), issue)));
await this.MessageBus.SendError(new(AppIcons.FOLDER_OPEN, string.Format(T("Could not open the file location: {0}"), issue)));
}
/// <remarks>
@@ -555,7 +555,7 @@ public partial class Embeddings : MSGComponentBase
return;
if (!await this.DataSourceEmbeddingService.ApprovePendingMailRemovalAsync(status.DataSourceId, removalCount))
await this.MessageBus.SendWarning(new(Icons.Material.Filled.PlaylistRemove, T("Your agreement could not be recorded: either the number of mails to remove changed in the meantime, or the index cannot be reached. AI Studio asks you again after the next sync.")));
await this.MessageBus.SendWarning(new(AppIcons.REMOVE_FROM_INDEX, T("Your agreement could not be recorded: either the number of mails to remove changed in the meantime, or the index cannot be reached. AI Studio asks you again after the next sync.")));
this.ReloadStatuses();
await this.InvokeAsync(this.StateHasChanged);