issues
search
ctc-uci
/
abound-food-care-frontend
MIT License
3
stars
0
forks
source link
volunteer event signup
#153
Closed
ctc-devops
closed
2 years ago
ctc-devops
commented
2 years ago
What changes are included in this PR?
Event Signup Flow
Populates user info with current user
User info editable (except first/last, bday, email)
User info validation same as create account form
Event Signup Waivers
Added downloading event waivers (same behavior as download all waivers in event volunteer list)
Added uploading volunteer event waivers (same behavior as upload event in create event flow)
Unregister an Event
Added button to unregister volunteer from an event
Unregistering deletes volunteer-event row in volunteer_at_events table
Unregistering deletes all associated waivers for a volunteer and event in waivers table
Availability
Adapted create account availability table to a centralized AvailabilitiesChart component
One size fits all chart for create account, event signup, and view/edit profile
Fixed bug where added availabilities were not updated in avilailabilities table
Fixed bug where it would only display the first availability and not the rest
Instructions to test changes:
Event Signup Flow
Go to any view event page and click register button
Verify user info and availability
Try changing user info and compare with pgAdmin after submitting
Try invalid inputs and verify validation
Event Signup Waivers
Try downloading/uploading waivers
Verify uploaded waivers added in pgAdmin and s3
Unregister an Event
Click unregister in view event already registered for
Verify volunteer is removed from volunteer_at_events table in pgAdmin
Verify volunteer waivers for this event are deleted in pgAdmin
Availability
Try create account flow and view profile and compare availability charts with event signup (should be same format)
Verify availability data displayed in charts with pgAdmin
Verify any updates made to availabilities in event signup are reflected in pgAdmin
Images (if applicable)
Event Signup Flow
Event Signup Waivers
Unregister an Event
Availability
This comes after #138 + #134
closes #142
What changes are included in this PR?
Event Signup Flow
Event Signup Waivers
Unregister an Event
Availability
Instructions to test changes:
Event Signup Flow
Event Signup Waivers
Unregister an Event
Availability
Images (if applicable)
Event Signup Flow
Event Signup Waivers
Unregister an Event
Availability
closes #142