Files
grimoire/src/lib/composers
Claude d1dc14c846 test: add tests for kind 1 event composition and cleanup
- Add note-builder module with buildNoteDraft and buildNoteEvent functions
- Add comprehensive tests for note event creation (21 tests):
  - Basic event structure (kind, content, timestamp)
  - Hashtag extraction from content
  - Custom emoji tags
  - Subject tag for title
  - Address references (a tags)
  - Client tag inclusion
  - Blob attachments (imeta tags)
- Fix useRelaySelection to avoid object dependency in useMemo
- Refactor PostViewer to use extracted note-builder

https://claude.ai/code/session_01WpZc66saVdASHKrrnz3Tme
2026-01-29 09:25:22 +00:00
..