Commit Graph

2 Commits

Author SHA1 Message Date
hamid zarghami 361c761435 Fix sender detection logic to use senderRef field
- Change IMessage interface to use senderRef instead of sender
- Update message rendering logic to check if senderRef === 'Admin' for admin messages
- All other messages are treated as seller messages
2025-10-12 17:05:46 +03:30
hamid zarghami 28e59d6805 Complete TicketMessages page implementation
- Add ticket details section with seller info, category, status, etc.
- Implement messages display with chat-like UI (admin vs seller messages)
- Add send message form with textarea and file upload
- Connect to API for fetching ticket data and sending messages
- Use existing components: PageLoading, Error, StatusWithText, Button, Textarea, UploadBox
- Fix CreateTicketMessageType to allow dynamic content strings
2025-10-12 17:03:49 +03:30