Add DM inbox with NIP-04/NIP-17 support and soft delete

Features:
- Full DM inbox UI with conversation list and message view
- Support for both NIP-04 (kind 4) and NIP-17 (kind 14/1059) encryption
- Progressive message decryption with background loading
- Soft delete using kind 30078 Application Specific Data events
- Message selection UI with delete selected/delete all
- Undelete all functionality per conversation
- Jump to newest button with new message counter
- Conversation filtering (all / follows only)
- Per-conversation relay and encryption settings
- New messages indicator on sidebar (clears when inbox viewed)
- Follow indicator on conversation items

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
woikos
2025-12-31 11:06:51 +01:00
parent f78138c7c4
commit fecd4fdd45
29 changed files with 3717 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
# Deploy Command
Deploy smesh to the VPS at 10.0.0.1, serving on port 3008 behind smesh.mleku.dev.
Deploy smesh to the VPS at mleku.dev, serving on port 3008 behind smesh.mleku.dev.
## Instructions
@@ -13,17 +13,17 @@ Deploy smesh to the VPS at 10.0.0.1, serving on port 3008 behind smesh.mleku.dev
3. Sync the dist folder to the VPS:
```bash
rsync -avz --delete dist/ 10.0.0.1:~/smesh/dist/
rsync -avz --delete dist/ mleku.dev:~/smesh/dist/
```
4. Restart the smesh service on the VPS:
```bash
ssh 10.0.0.1 "sudo systemctl restart smesh"
ssh mleku.dev "sudo systemctl restart smesh"
```
5. Verify the service is running:
```bash
ssh 10.0.0.1 "sudo systemctl status smesh"
ssh mleku.dev "sudo systemctl status smesh"
```
6. Report the deployment status and the URL: https://smesh.mleku.dev