rubyforgood / inkind-admin

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 .
MIT License
9 stars 27 forks source link

[ISSUE-143] students have many active volunteers #161

Closed goromlagche closed 2 years ago

goromlagche commented 2 years ago

Resolves #143

Description

I have added changes to allow assigning multiple volunteers to students. I also have added a new js library to search and select multiple volunteers on the UI

We need a new library for having auto-complete on searching for volunteers. I have used slim-select for this.

Yes, please find the attached gif. I also have added specs to handle assigning multiple volunteers to a student.

Please review the PR thoroughly, since I am new to this codebase :)

Type of change

Screenshots

student-mutiple-volunteer

garettarrowood commented 2 years ago

Great work here! Thank you for this contribution. Particularly adding a lightweight typeahead library.

Change the update strategy in the one spot I noted and this is good to merge.