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

Student Pair Programming MVP #34

Open
ncbrown1 opened this issue May 11, 2017 · 0 comments
Open

Student Pair Programming MVP #34

ncbrown1 opened this issue May 11, 2017 · 0 comments
Assignees

Comments

@ncbrown1
Copy link
Contributor

ncbrown1 commented May 11, 2017

As a student, I have the option, when creating a new repo, of adding a pair partner.

The default is individual.

If I select "add a pair partner", I'm prompted for github id of the pair partner. The message back to the user will be something like "If that github user is a member of the organization, an invitation has be sent to them."

If there is no match, then nothing will happen.

If there's a match, it creates and sends an invitation in the Anacapa system. The invitation will show up on the assignment page for the corresponding lab for the student that was invited. The invited student will be given the option to either accept or reject the invitation. Upon acceptance, the regular repo creation routine will occur. Upon rejection, the invitation record in the system is deleted and no longer shows up on the invitee's assignment page.

CheckoutAssignmentJob.perform_later(params[:id], params[:student])

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

No branches or pull requests

2 participants