Skip to content

[INTF25] Build Applicant Status Mutators#87

Merged
mxc-maggiechen merged 5 commits intomainfrom
INTF25-applicant-status-mutators
Dec 3, 2025
Merged

[INTF25] Build Applicant Status Mutators#87
mxc-maggiechen merged 5 commits intomainfrom
INTF25-applicant-status-mutators

Conversation

@ericahan22
Copy link
Member

@ericahan22 ericahan22 commented Nov 15, 2025

Notion ticket link

Build Applicant Status Mutators

Implementation description

  • Modified ApplicationStatus type:
    • Interview -> Selected, Interview Complete -> Interviewed, Not Considered -> Rejected
    • Used "InReview" rather than "In Review" to work with GraphQL types
  • Added updateApplicantStatus and bulkUpdateApplicantStatus service functions
  • Added relevant GraphQL resolver and type files
    • Used a GraphQL enum to ensure that status is a valid status as defined in types (so don't pass status as a string in the query)

Steps to test

  1. Open the GraphQL playground (http://localhost:5000/graphql) and test out the following mutations. You may use ids a9950643-2221-415b-a3ff-9c8f857643ae and 93340887-f9d5-436e-867d-4a27efdbb0dd for testing.
mutation {
  updateApplicantStatus(applicantRecordId: "rec_123", status: Interviewed) {
    id
    applicantId
    position
    status
    choice
    skillCategory
    isApplicantFlagged
  }
}

mutation {
  bulkUpdateApplicantStatus(applicantRecordIds: ["rec_123", "rec_124"], status: Interviewed) {
    id
    applicantId
    position
    status
    choice
    skillCategory
    isApplicantFlagged
  }
}

What should reviewers focus on?

Checklist

  • My PR name is descriptive and in imperative tense
  • My commit messages are descriptive and in imperative tense. My commits are atomic and trivial commits are squashed or fixup'd into non-trivial commits
  • I have run the appropriate linter(s)
  • I have requested a review from the PL, as well as other devs who have background knowledge on this PR or who will be building on top of this PR

@ericahan22 ericahan22 self-assigned this Nov 15, 2025
@ruiichen ruiichen self-requested a review November 15, 2025 19:31
Base automatically changed from INTF25-flag-applicant-mutator to main November 19, 2025 03:06
Copy link
Contributor

@mxc-maggiechen mxc-maggiechen left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Collaborator

@ruiichen ruiichen left a comment

Choose a reason for hiding this comment

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

LGTM 🚢

@mxc-maggiechen mxc-maggiechen merged commit c5ef398 into main Dec 3, 2025
@mxc-maggiechen mxc-maggiechen deleted the INTF25-applicant-status-mutators branch December 3, 2025 01:33
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.

3 participants