Overview
The system uses a comprehensive notification system with toast messages and contextual alerts to provide real-time feedback to users.Toast Notifications
Success Messages
Notify users of successful operations:~/workspace/source/src/pages/Alumnos.tsx:254-262
Error Messages
Display error feedback:~/workspace/source/src/pages/Alumnos.tsx:263
Login Notifications
Welcome message on successful login:~/workspace/source/src/pages/Login.tsx:50-66
Alert Components
Destructive Alerts
Display critical errors inline:~/workspace/source/src/pages/Login.tsx:82-88
Idle Session Notifications
Session Timeout Warning
Notify users when logged out due to inactivity:~/workspace/source/src/components/auth/IdleHandler.tsx:11-18
Registration Notifications
Email Whitelist Validation
~/workspace/source/src/pages/Register.tsx:85-94
Successful Registration
~/workspace/source/src/pages/Register.tsx:113-134
Field Validation Messages
Missing Required Fields
~/workspace/source/src/pages/Login.tsx:37-44
CRUD Operation Notifications
Update Success
~/workspace/source/src/pages/Alumnos.tsx:266-278
Delete Success
~/workspace/source/src/pages/Alumnos.tsx:280-291
System Notifications (from README)
Toast System
~/workspace/source/README.md:485-495
Notification Variants
Available Variants
- Success - Green, for successful operations
- Error/Destructive - Red, for errors and failures
- Info - Blue, for informational messages
- Warning - Yellow, for warnings and cautions
Loading States
Operation in Progress
~/workspace/source/src/pages/Login.tsx:148-158
Email Validation Loading
~/workspace/source/src/pages/Register.tsx:253-268
Best Practices
- Consistent Messaging - Use consistent tone and format across all notifications
- Clear Actions - Tell users what happened and what to do next
- Appropriate Duration - Auto-dismiss success messages, keep errors visible
- Visual Hierarchy - Use colors and icons to convey message importance
- Avoid Notification Spam - Don’t overwhelm users with too many messages
- Contextual Placement - Show inline alerts near relevant form fields
- Loading Feedback - Always indicate when operations are in progress
- Error Details - Provide specific error messages when possible