[INTF25] Adds applicant record and reviews query#81
Merged
Conversation
…nto INTF25-applicant-record-review-query
gavxue
commented
Nov 2, 2025
backend/typescript/services/implementations/reviewDashboardService.ts
Outdated
Show resolved
Hide resolved
gavxue
commented
Nov 2, 2025
…nto INTF25-applicant-record-review-query
…nto INTF25-applicant-record-review-query
…nto INTF25-applicant-record-review-query
ruiichen
reviewed
Nov 15, 2025
| ): Promise<ReviewDashboardSidePanelDTO> { | ||
| try { | ||
| const applicantRecord: ApplicantRecord | null = | ||
| await ApplicantRecord.findOne({ |
ruiichen
approved these changes
Nov 15, 2025
Collaborator
ruiichen
left a comment
There was a problem hiding this comment.
👍🏻 works on my machine
mxc-maggiechen
approved these changes
Nov 26, 2025
Contributor
mxc-maggiechen
left a comment
There was a problem hiding this comment.
LGTM! Thanks for doing this Gavin!
…nto INTF25-applicant-record-review-query
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Notion ticket link
Build queries for applicant record and review query
Implementation description
getReviewDashboardSidePanelquery to fetch detailed applicant information including review datatoSidePanelDTOhelper function inreviewDashboardService.tsto transformApplicantRecordmodels intoReviewDashboardSidePanelDTOobjects, following the same pattern as the existingtoDTOhelperReviewDashboardSidePanelDTOGraphQL type and corresponding TypeScript type definitions to support the side panel querySteps to test
We don't actually have correctly formatted review data in the db right now so we will have to insert some test data via sql queries.
YOUR_APPLICANT_RECORD_IDwith the one chosen from step 1.YOUR_APPLICANT_RECORD_IDwith the one chosen from step 1.For example, the result should resemble the following (with different applicant details obviously, but reviewer details should be similar):
What should reviewers focus on?
getReviewDashboard()Checklist