mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-09 15:07:10 +02:00
fix(kinds): use semantic icons for blocked and search relay lists
- Kind 10006 (Blocked Relays): Radio → ShieldBan - Kind 10007 (Search Relays): Radio → Search These icons propagate to KindBadge, settings accordions, and event renderers via getKindInfo(). Generic relay kinds (10002, 30002, etc.) keep the Radio icon. https://claude.ai/code/session_01JHirYU56sKDKYhRx6aCQ54
This commit is contained in:
@@ -48,8 +48,10 @@ import {
|
||||
Presentation,
|
||||
Radio,
|
||||
Repeat,
|
||||
Search,
|
||||
Settings,
|
||||
Shield,
|
||||
ShieldBan,
|
||||
ShoppingBag,
|
||||
Smile,
|
||||
Star,
|
||||
@@ -757,14 +759,14 @@ export const EVENT_KINDS: Record<number | string, EventKind> = {
|
||||
name: "Blocked Relay List",
|
||||
description: "Blocked relays list",
|
||||
nip: "51",
|
||||
icon: Radio,
|
||||
icon: ShieldBan,
|
||||
},
|
||||
10007: {
|
||||
kind: 10007,
|
||||
name: "Search Relay List",
|
||||
description: "Search relays list",
|
||||
nip: "51",
|
||||
icon: Radio,
|
||||
icon: Search,
|
||||
},
|
||||
10009: {
|
||||
kind: 10009,
|
||||
|
||||
Reference in New Issue
Block a user