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

Submissions should have an "assigned Judge" #21

Open
MathyouMB opened this issue Jun 23, 2024 · 0 comments · May be fixed by #25
Open

Submissions should have an "assigned Judge" #21

MathyouMB opened this issue Jun 23, 2024 · 0 comments · May be fixed by #25
Assignees
Labels
enhancement New feature or request

Comments

@MathyouMB
Copy link
Member

As a Judge, I should be able to assign myself to a submission to indicate to other judges that I am in the process of reviewing the submission.

On the submissions service (app/challenges-platform/services/submissions-service.ts), we need to create a new method called "assign" that takes submisisonId (uuid) and judgeId (uuid) as arguments.

On app/challenges-platform/models/Submission.ts submissions should have a nullable/optional attribute called assignee of type Judge.

We will need to create the Judge model in app/challenges-platform/models and create a judges table in db/schema.ts

At the database level, submissions will need a nullable foreign key to the judges table.

For the scope of this ticket, only implement the assign method, do not worry about populating assignee in other submission service methods.

@MathyouMB MathyouMB added the enhancement New feature or request label Jun 24, 2024
@MrRibcage MrRibcage assigned MrRibcage and AJaccP and unassigned MrRibcage Jun 26, 2024
@AJaccP AJaccP linked a pull request Jul 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: For Review - Completed
Development

Successfully merging a pull request may close this issue.

3 participants