Chat Application Instructions
This is a real-time chat application that supports different types of messages and client roles.
Client Roles
- Hub: System hub with yellow message background
- Bob: Regular user with blue message background
- Sally: Regular user with purple message background
- Sallys Shoe Shack Admin: Special Sally role with purple message background
- Amazon: System user with green message background
- Admin Portal Mobile: Mobile admin interface with orange message background
- Portal: Portal interface with light blue message background
Message Types
- Chat Messages: Regular text messages between users
- Click "Send Chat" button or press Enter to send
- Messages are color-coded by sender's role
- Vendor Onboarding: Special message type for vendor registration
- Click "Send Vendor Onboard" button to send
- System will send a predefined vendor onboarding notification
- Product Backfilled: Notification for product data updates
- Click "Send Product Backfilled" button to send
- System will send a predefined product backfilled notification
Features
- Real-time message updates
- Connection status indicator
- Role-based client counting
- Automatic reconnection handling
- Message timestamps
Connection Status
- Yellow: Connected/Reconnecting
- Red: Error/Connection issues