mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-17 19:07:06 +02:00
feat: improve badges display with images and limited count (#128)
- Add badge image display to BadgeDefinitionRenderer feed items - Shows badge image/icon (16x16) with name and description - Falls back to Award icon if no image available - Limit ProfileBadgesRenderer to show max 5 badges with "& n more" pattern - Prevents overcrowded feeds when users have many badges - Maintains clickability to see full list in detail view - Rename "Badge definition" to "Badge" for clearer user-facing text - Updated constants/kinds.ts and nostr-kinds-schema.yaml - Simplifies terminology (kind 30009 is just "Badge" not "Badge definition") Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1402,7 +1402,7 @@ kinds:
|
||||
- *etag
|
||||
|
||||
30009:
|
||||
description: Badge Definition
|
||||
description: Badge
|
||||
in_use: true
|
||||
content:
|
||||
type: free
|
||||
|
||||
Reference in New Issue
Block a user