Patterns
Alerts
Visitor request — visitor-requests/[id].tsx
Approve Visitor
Are you sure you want to approve this visitor?
Cancel
Approve
Success
Visitor approved! They will be notified and can now enter.
OK
Error
Failed to approve visitor. Please try again.
OK
Reject Visitor
Please provide a reason for rejection (optional):
Cancel
Reject
Success
Visitor request rejected. They will be notified.
OK
Error
Failed to reject visitor. Please try again.
OK
Confirm Action
Are you sure you want to checked in this visitor?
Cancel
Confirm
Success
Visitor checked in successfully
OK
Error
Failed to checked in visitor. Please try again.
OK
Visitor management — (roles)/guard/(tabs)/visitors.tsx
Success
Visitor checked in successfully! Resident has been notified.
OK
Error
Failed to check in visitor
OK
Success
Visitor checked out successfully
OK
Error
Failed to check out visitor
OK
Success
Visitor request approved
OK
Error
Failed to approve visitor request
OK
Success
Visitor request rejected
OK
Error
Failed to reject visitor request
OK
New visitor entry — (roles)/guard/(tabs)/add-visitor.tsx
Missing Information
Please fill all required fields
OK
Success
Visitor registered successfully
Add Another
Done
Error
Failed to register visitor. Please try again.
OK
Add visitor — create-visitor.tsx
Error
Please fill in all required fields
OK
Error
Please select a society and unit first
OK
Error
Please enter a valid arrival date and time
OK
Success
Visitor request created successfully!
OK
Error
Failed to create visitor request
OK
Society notices — (roles)/guard/(tabs)/notices.tsx
Error
Notice title is required
OK
Error
Notice content is required
OK
Success
Notice posted successfully
OK
Error
Failed to post notice
OK
Emergency & Contacts — (roles)/guard/(tabs)/contacts.tsx
Make Call
Call Police at 100?
Cancel
Call
Error
Unable to make call
OK
Profile — profile/index.tsx
Notification
Test notification triggered
OK
Feedback
Open feedback screen (to implement)
OK
Share failed
OK
Push, app in foreground — lib/push/pushListeners.tsx
🚨 Visitor Request
You have a new visitor request
View
Later