Commit Graph

5 Commits

Author SHA1 Message Date
hamid zarghami 587a2f30b1 base page title 2025-10-15 12:29:37 +03:30
hamid zarghami d1fcb2b79a Swap admin and seller message positions in chat
- Admin messages now appear on the left (gray background)
- Seller messages now appear on the right (blue background)
- Updated styling and positioning classes accordingly
2025-10-12 17:13:44 +03:30
hamid zarghami 82c7497234 Redesign TicketMessages page with minimal UI
- Minimal header with ticket number and status
- Compact ticket info bar with essential details
- Clean chat-like message design with better spacing
- Inline message form with horizontal layout
- Improved color scheme and typography
- Reduced visual clutter and improved readability
2025-10-12 17:07:33 +03:30
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