Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add team matching for club ambassadors #5363

Open
wants to merge 1 commit into
base: qa
Choose a base branch
from

Conversation

shaun-technovation
Copy link
Contributor

This will let club ambassadors assign a student or a mentor to a team.

Chapter ambassadors already have this functionality, to make it work for club ambassadors I extracted the existing functionality and made it so that both chapter ambassadors and club ambassadors can share the same functionality.

@shaun-technovation shaun-technovation changed the title WIP: Add team matching for club ambassadors Add team matching for club ambassadors Feb 6, 2025
This will let club ambassadors assign a student or a mentor to a team.

Chapter ambassadors already had this functionality, to make it work for
club ambassadors I extracted the existing functionality and made it so
that both chapter ambassadors and club ambassadors can share the same
functionality.

Refs: #5331
@shaun-technovation shaun-technovation force-pushed the 5331-add-team-matching-for-club-ambassadors branch from 45e1912 to 57f0765 Compare February 6, 2025 18:29
@shaun-technovation shaun-technovation changed the base branch from preview to qa February 6, 2025 18:29
Copy link
Contributor

@viviancan viviancan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to access the matching functionality as a CA & as a ChA - however I think the teams collection needs to be updated in app/controllers/ambassador/participants_controller.rb
as it is still using the "in region" functionality. When I selected the team dropdown to assign a mentor to a team in my chapter, there were no teams to select from (even though I had team on my team datagrid)

@teams = Team.current.in_region(current_ambassador)

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.

2 participants