A project serving Community Education Partnerships - https://www.cep.ngo/ . This Rails application presents an admin interface for CEP to manage their volunteers and students. And provides a GraphQL backend for https://github.com/rubyforgood/inkind-volunteer .
As an admin, I need to assign students to my volunteers.
Things to Consider
This will have fancier mocks/autocomplete functionality later. But we have to get the basic functionality up first. So for now, a dropdown of AVAILABLE student names will suffice.
One volunteer has_many students.
At any given time, a student only has ONE volunteer. But, they might have a volunteer for year 1-2, then a different one for 3 months, then a 3rd one for 7 years. (We likely need to add effective dates to the student_users table.)
Possible visual representation (NOT A FINAL MOCKUP):
^ Again - do not labor over styles, because this is not how this will ultimately look. Think about functionality and data first :).
Criteria for Completion
On the Volunteer Edit page:
[ ] An admin can choose a student from a drop down to assign them to that volunteer
[ ] Only available students show up in the dropdown (students that are NOT already assigned on the current date).
[ ] Saving on the Volunteer Edit page creates/updates student_user records that associate students to volunteers
Summary
As an admin, I need to assign students to my volunteers.
Things to Consider
This will have fancier mocks/autocomplete functionality later. But we have to get the basic functionality up first. So for now, a dropdown of AVAILABLE student names will suffice.
One volunteer has_many students. At any given time, a student only has ONE volunteer. But, they might have a volunteer for year 1-2, then a different one for 3 months, then a 3rd one for 7 years. (We likely need to add effective dates to the
student_users
table.)Possible visual representation (NOT A FINAL MOCKUP):
^ Again - do not labor over styles, because this is not how this will ultimately look. Think about functionality and data first :).
Criteria for Completion
On the Volunteer Edit page: