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

feat: allow pending requests for shift exchanges #12

Open
fntneves opened this issue Sep 5, 2018 · 0 comments · May be fixed by #57
Open

feat: allow pending requests for shift exchanges #12

fntneves opened this issue Sep 5, 2018 · 0 comments · May be fixed by #57
Labels
Milestone

Comments

@fntneves
Copy link
Member

fntneves commented Sep 5, 2018

Expected Behavior

Students should be allowed to register an intention of exchange from their current shift they're are enrolled in to a set of possible destination shifts. These intentions, as soon as a match occurs, are resolved and students move their enrollments to a new shift.

This should work not only for direct exchanges but also for cyclic exchanges. For instance, let's consider three students: A, B and C. A is enrolled in S1 and wants to move to S2. B is enrolled in S2 and wants to move to S3. C is enrolled in S3 and wants do move to S1. Therefore, we have something like this:

Graph:
     A
   /   \
  C --- B

Directions:
 A -> B -> C -> A

This is an example of what could happen and it should be resolved to meet these intentions.

Current Behavior

Currently, the only way of a student A to exchange from a shift S1 to a new shift S2 is by meeting a student B that is enrolled on shift S2 that wants to move to the shift S1. It is very limited, since such student should be found outside the platform.

Possible Solution

Integrate with the current existing module, developed by students of MEI, that accepts the current state of enrollments and exchange intentions and outputs the current possible enrollments that should be updated to meet such intentions.

More details will be available for the developer of this issue.

@fntneves fntneves added this to the v1.0.0 milestone Sep 13, 2018
@fntneves fntneves changed the title Integrate the shift exchange module feat: allow circular exchanges Jan 31, 2020
@fntneves fntneves changed the title feat: allow circular exchanges feat: allow pending requests for shift exchanges Jan 31, 2020
@ruioliveira02 ruioliveira02 linked a pull request May 27, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant