feat(anime): show extension and repo icons in extensions panel

- Add extension-icons module (buildIconIndex, isSafeIconUrl, repoFaviconUrl, iconMonogram) with tests
- Render each row's icon with a monogram fallback while loading or missing
- Installed extensions borrow their icon from the catalogue; repo rows use the index host's favicon
- Restrict icon loads to https URLs
- Thread iconUrl through AvailableExtension and the runtime, document the feature
This commit is contained in:
2026-08-06 22:02:38 -07:00
parent b22001f68e
commit 8c22567da9
7 changed files with 190 additions and 1 deletions
+2
View File
@@ -156,6 +156,8 @@ export interface AvailableExtension {
version: string;
nsfw: boolean;
repoUrl: string;
/** Where the repository publishes the extension's icon; may 404. */
iconUrl: string;
sourceNames: string[];
installed: boolean;
}