Update comment action menu to match expected behavior:
- "View details" now opens modal showing full event JSON
- Modal includes "View on Event Page" button at top for navigation
- Simplified modal to only show JSON (removed individual field displays)
- Removed separate "View JSON" menu item (consolidated into View details)
Technical changes:
- Consolidated jsonModalOpen and detailsModalOpen into single state
- All action menus (root, replies, nested) now use consistent modal
- Button navigates to /events?id={nevent} for full event view
- Increased JSON preview max-height to 500px for better visibility
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Implement full-featured comment system for publications with support for article-level and section-level comments, complete action menus, and threaded reply functionality.
Key features:
- Article-level comments display next to publication header with responsive layout (desktop: right sidebar, mobile: below header)
- Three-dot action menu on all comment levels (root, replies, nested replies) with View details, View JSON, Copy nevent, and Delete options
- Reply functionality for all comment levels with NIP-22 compliant tagging
- View details navigates to event page (/events?id={nevent})
- View JSON opens modal displaying full event data
- Discussion button now available for blog-type publications
- Replace placeholder in Discussion sidebar with actual comment rendering
Technical implementation:
- Responsive comment layout matching section comment pattern
- State management for reply UI, deletion, and modals
- Proper NIP-22 threading with root/parent tag structure
- Integration with deletion service for comment removal
- Navigation to event details page
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>