Skip to content

Submissions should have an "assigned Judge" #21

Open

Description

@MathyouMB

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.

Activity

  1. moved this from Unassigned - Todo to Assigned - In Progress in Summer 2024 Open Source Contributionson Jun 26, 2024
  2. moved this from Assigned - In Progress to Unassigned - Todo in Summer 2024 Open Source Contributionson Jun 27, 2024
  3. moved this from Unassigned - Todo to Assigned - In Progress in Summer 2024 Open Source Contributionson Jul 2, 2024
  4. linked a pull request that will close this issueAdd assign judge method to submissions #25on Jul 2, 2024
  5. moved this from Assigned - In Progress to For Review - Completed in Summer 2024 Open Source Contributionson Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions