Skip to content

feat: add volunteer management with SMS integration (#3)#570

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
Imole203:feat/volunteer-management-sms
May 29, 2026
Merged

feat: add volunteer management with SMS integration (#3)#570
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
Imole203:feat/volunteer-management-sms

Conversation

@Imole203
Copy link
Copy Markdown
Contributor

feat: Volunteer Management with SMS Integration

Summary

Implements a volunteer management system with SMS notification support for the
TeachLink platform.

Changes

src/types/volunteer.ts

  • Defines Volunteer, VolunteerRole, VolunteerStatus, VolunteerSMSPreferences,
    and VolunteerSMSPayload types

src/app/store/volunteerStore.ts

  • Zustand store with localStorage persistence for volunteer CRUD operations
  • Actions: addVolunteer, updateVolunteer, removeVolunteer, updateSMSPreferences

src/app/api/volunteers/route.ts

  • Edge-compatible GET and POST API routes for volunteer management
  • Validates required fields (name, email, role) on creation

What's Next (remaining tasks)

  • VolunteerManagement UI component (list, add, edit, SMS opt-in/out)
  • useVolunteerSMS hook integrating with existing notification system
  • Admin page at /admin/volunteers

Testing

  • Types are fully typed — no implicit any
  • Store follows the same pattern as notificationStore
  • API returns proper status codes (201 on create, 400 on bad input)

Closes #457

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@Imole203 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER RUKAYAT-CODER merged commit f90a2ad into rinafcode:main May 29, 2026
3 of 6 checks passed
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.

documentation SMS Integration : Volunteer Management

2 participants