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

@@ -217,7 +217,7 @@ public sealed class GlobalShortcutService : BackgroundService, IMessageBusReceiv
{
this.localFallbackWarningShown = true;
await this.messageBus.SendWarning(new(
Icons.Material.Filled.Keyboard,
AppIcons.KEYBOARD_SHORTCUT,
TB("The voice recording shortcut currently works only while AI Studio is focused.")));
}
}
@@ -236,9 +236,9 @@ public sealed class GlobalShortcutService : BackgroundService, IMessageBusReceiv
result.ErrorMessage);
if (result.Cancelled)
await this.messageBus.SendWarning(new(Icons.Material.Filled.Keyboard, userMessage));
await this.messageBus.SendWarning(new(AppIcons.KEYBOARD_SHORTCUT, userMessage));
else
await this.messageBus.SendError(new(Icons.Material.Filled.Keyboard, userMessage));
await this.messageBus.SendError(new(AppIcons.KEYBOARD_SHORTCUT, userMessage));
}
}
@@ -327,7 +327,7 @@ internal sealed class DocumentRunProgress(IndexedRunContext context, int totalDo
// Once per kind of failure and pass, not once per document or step:
if (context.Pass.TryMarkReported(providerFailure.FailureReason))
await MessageBus.INSTANCE.SendError(new(Icons.Material.Filled.CloudOff, providerFailure.UserMessage));
await MessageBus.INSTANCE.SendError(new(AppIcons.PROVIDER_ERROR, providerFailure.UserMessage));
break;
}
@@ -215,7 +215,7 @@ public sealed class LocalIndexSearchService(SettingsManager settingsManager, Rus
return;
}
await MessageBus.INSTANCE.SendWarning(new(Icons.Material.Filled.SearchOff, userMessage));
await MessageBus.INSTANCE.SendWarning(new(AppIcons.RETRIEVAL_GAP, userMessage));
}
/// <summary>
@@ -58,7 +58,7 @@ public sealed class PandocAvailabilityService(RustService rustService, IDialogSe
{
this.Logger.LogError("Pandoc is not available after installation attempt.");
if (showErrorMessage)
await MessageBus.INSTANCE.SendError(new(Icons.Material.Filled.Cancel, TB("AI Studio needs Pandoc for this, but it is not available.")));
await MessageBus.INSTANCE.SendError(new(AppIcons.PANDOC_UNAVAILABLE, TB("AI Studio needs Pandoc for this, but it is not available.")));
}
}
@@ -42,9 +42,9 @@ public sealed partial class RustService
finally
{
if (succeeded)
await MessageBus.INSTANCE.SendSuccess(new(Icons.Material.Filled.ContentCopy, message));
await MessageBus.INSTANCE.SendSuccess(new(AppIcons.COPY, message));
else
await MessageBus.INSTANCE.SendError(new(Icons.Material.Filled.ContentCopy, message));
await MessageBus.INSTANCE.SendError(new(AppIcons.COPY, message));
}
}
}
@@ -100,7 +100,7 @@ public sealed class UpdateService : BackgroundService, IMessageBusReceiver
if (notifyUserWhenNoUpdate)
{
await this.messageBus.SendError(new(Icons.Material.Filled.Error, TB("Failed to check for updates. Please try again later.")));
await this.messageBus.SendError(new(AppIcons.ERROR, TB("Failed to check for updates. Please try again later.")));
}
return;
@@ -127,7 +127,7 @@ public sealed class UpdateService : BackgroundService, IMessageBusReceiver
}
catch (Exception)
{
await this.messageBus.SendError(new(Icons.Material.Filled.Error, TB("Failed to install update automatically. Please try again manually.")));
await this.messageBus.SendError(new(AppIcons.ERROR, TB("Failed to install update automatically. Please try again manually.")));
}
}
else
@@ -137,7 +137,7 @@ public sealed class UpdateService : BackgroundService, IMessageBusReceiver
{
if (notifyUserWhenNoUpdate)
{
await this.messageBus.SendInfo(new(Icons.Material.Filled.Update, TB("No update found.")));
await this.messageBus.SendInfo(new(AppIcons.APP_UPDATE, TB("No update found.")));
}
}
}