Skip to content

feat: Add Emergency Button UI and Real-Time Dashboard Notification (SMS & Email Pending)#67

Open
maheen-fatma wants to merge 5 commits intocodinggita:mainfrom
maheen-fatma:feature/emergency-alert-button
Open

feat: Add Emergency Button UI and Real-Time Dashboard Notification (SMS & Email Pending)#67
maheen-fatma wants to merge 5 commits intocodinggita:mainfrom
maheen-fatma:feature/emergency-alert-button

Conversation

@maheen-fatma
Copy link

This PR implements the core structure and functionality for the Emergency Button feature on the Patient Dashboard, allowing patients to trigger emergency alerts that notify hospital staff (doctors) in real-time via the admin panel.
Partly fixes issue #64

Implemented Features:

  • Emergency Button added to the Patient Dashboard.
  • Real-time socket-based alert system broadcasting emergency alerts to Doctors.
  • Location sharing support if patient grants permission.
  • Confirmation step to avoid accidental alert triggers.
  • Displays a success message after the alert is sent.

Pending (To Be Completed in a Follow-up PR):

  • SMS Notification to hospital emergency contact.
  • Email Alert with patient and emergency details.
8dc196996b96422fa821d4c21c288b1e.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant