fix(icons): remove remaining electrs icon references, use electrumx.png

GoalDetail.vue, EasyHome.vue, and the backend's docker_packages.rs
metadata still pointed electrs-family app ids at the old electrs
icon (svg). Point them at electrumx.png like every other reference,
and delete the now-unused electrs.svg asset.
This commit is contained in:
archipelago 2026-07-01 14:48:14 -04:00
parent ed95d54ffe
commit 4c3aa8cc8e
5 changed files with 8 additions and 21 deletions

View File

@ -396,7 +396,7 @@ fn get_app_metadata(app_id: &str) -> AppMetadata {
"electrumx" | "mempool-electrs" | "electrs" => AppMetadata {
title: "ElectrumX".to_string(),
description: "ElectrumX server — full Electrum protocol indexer for Bitcoin. Powers Mempool and Electrum wallets.".to_string(),
icon: "/assets/img/app-icons/electrs.svg".to_string(),
icon: "/assets/img/app-icons/electrumx.png".to_string(),
repo: "https://github.com/spesmilo/electrumx".to_string(),
tier: "",
},

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@ -72,7 +72,8 @@ const APP_ICON_MAP: Record<string, string> = {
nextcloud: '/assets/img/app-icons/nextcloud.webp',
fedimint: '/assets/img/app-icons/fedimint.png',
mempool: '/assets/img/app-icons/mempool.webp',
electrs: '/assets/img/app-icons/electrs.svg',
electrs: '/assets/img/app-icons/electrumx.png',
electrumx: '/assets/img/app-icons/electrumx.png',
}
function goalAppIcons(goal: GoalDefinition): { appId: string; url: string }[] {

View File

@ -180,7 +180,8 @@ const APP_ICON_MAP: Record<string, string> = {
nextcloud: '/assets/img/app-icons/nextcloud.webp',
fedimint: '/assets/img/app-icons/fedimint.png',
mempool: '/assets/img/app-icons/mempool.webp',
electrs: '/assets/img/app-icons/electrs.svg',
electrs: '/assets/img/app-icons/electrumx.png',
electrumx: '/assets/img/app-icons/electrumx.png',
}
function stepIconUrl(step: GoalStep): string | undefined {

View File

@ -240,12 +240,9 @@ const APP_ICON_FALLBACKS: Record<string, string> = {
'archy-lnd-ui': '/assets/img/app-icons/lnd.png',
'archy-electrs-ui': '/assets/img/app-icons/electrumx.png',
// ElectrumX ships under a few historical ids (the backend was renamed
// electrs → electrumx). Without an explicit map, an `electrs`-keyed install
// falls through to the default `/assets/img/app-icons/electrs.png`, which
// doesn't exist → handleImageError swaps .png→.svg and lands on electrs.svg
// (the "Electrs in Rust" logo) instead of the real ElectrumX icon. Pin the
// whole family to the ElectrumX icon so My Apps shows the right logo no
// matter which id the node has it installed under.
// electrs → electrumx). Pin the whole family to the ElectrumX icon so My
// Apps shows the right logo no matter which id the node has it installed
// under.
'electrs': '/assets/img/app-icons/electrumx.png',
'electrs-ui': '/assets/img/app-icons/electrumx.png',
'electrumx': '/assets/img/app-icons/electrumx.png',