Skip to content

feat: kind 30030 emoji pack card rendering#366

Merged
barrydeen merged 1 commit into
mainfrom
feat/emoji-pack-card
Mar 30, 2026
Merged

feat: kind 30030 emoji pack card rendering#366
barrydeen merged 1 commit into
mainfrom
feat/emoji-pack-card

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Render rich preview cards for kind 30030 emoji packs embedded via naddr in notes, DMs, group chats, and notifications
  • Cards display pack title, emoji grid preview (up to 15 emojis), author info with profile picture, and emoji count
  • Add/Remove button integrates with existing custom emoji system (ListCrudManager.addSetToEmojiList/removeSetFromEmojiList)
  • Button provides immediate visual feedback on click via local state
  • Badge uses user's selected theme accent color

Test plan

  • Embed a nostr:naddr1... referencing a kind 30030 emoji set in a note from another client
  • Verify card renders in feed with emoji previews, title, author, and Add button
  • Click "Add" → verify button switches to "Added ✓" and emojis appear in emoji picker
  • Click "Added ✓" → verify it reverts to "Add"
  • Verify card renders with Add button in DMs, group chats, and notifications
  • Verify card renders in search results and thread view
  • Test with packs containing >15 emojis to verify "+N more" label

Render rich preview cards when naddr references to kind 30030 emoji
packs are embedded in notes, DMs, group chats, and notifications.
Cards show the pack title, emoji grid preview, author info, and an
Add/Remove button that integrates with the existing custom emoji system.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@barrydeen barrydeen merged commit 02990d1 into main Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant