- Fetch BOTH kind 1 (NIP-10) and kind 1111 (NIP-22) replies for all root events
- Track original event ID when opening thread from a reply
- Auto-expand parent if focused event is a 2nd level reply
- Highlight focused event with ring-2 ring-primary/50
- Auto-scroll to focused event on mount
- Determine thread kind dynamically per event instead of globally
- Show clicked reply even when opening thread from nested reply
- Create ThreadCommentRenderer for compact comment display
- Remove reply preview from comments
- Remove footer from comments
- Remove reply count display when collapsed
- Reduce padding in comments section
- Tighter spacing between comments (space-y-0)
- Use compact renderer for both kind 1 and 1111 in thread view
Implements a thread viewer that displays Nostr conversations with:
- Automatic root resolution for NIP-10 (kind 1) and NIP-22 (kind 1111)
- 2-level tree structure with expand/collapse
- Thread participants display with usernames
- Read-only relay dropdown showing connection status
- Chronological sorting of replies
- Context menu integration on all events
Components:
- ThreadViewer: Main thread display with header and root event
- ThreadConversation: 2-level threaded reply tree
- thread-parser: Command argument parsing
UI Integration:
- Added "Thread" action to event dropdown menu
- Added right-click context menu to all events
- Wired into window rendering system
- Added to man pages with examples
Usage: thread <note1|nevent1|naddr1|hex-id>