diff --git a/CHAT_INTEGRATION.md b/CHAT_INTEGRATION.md index 12d5e1e..34a3131 100644 --- a/CHAT_INTEGRATION.md +++ b/CHAT_INTEGRATION.md @@ -99,7 +99,17 @@ Response: - Message timestamps - Auto-scroll to latest messages -### 4. Navigation Features +### 4. Mobile-Responsive Design +- **Mobile-first approach**: Optimized for touch interactions +- **Peer list view**: Shows only peers list on mobile until a peer is selected +- **Full-width chat view**: When a peer is selected, switches to full-width chat +- **Back button**: Easy navigation back to peers list +- **Touch-friendly**: Larger touch targets and proper touch feedback +- **Responsive avatars**: Larger avatars on mobile for better visibility +- **Message bubbles**: Optimized width (75% max) for mobile readability +- **Keyboard-friendly**: Input stays visible when keyboard appears + +### 5. Navigation Features - Integrated into main navigation menu - Message icon for easy identification - Multi-language support diff --git a/src/components/nostr/ChatComponent.vue b/src/components/nostr/ChatComponent.vue index 94c0d15..3b7105f 100644 --- a/src/components/nostr/ChatComponent.vue +++ b/src/components/nostr/ChatComponent.vue @@ -1,9 +1,85 @@