[INTW26] Implement backend updates for interview scheduling feature - #130
Merged
Conversation
chene0
commented
Apr 11, 2026
| defaultValue: DataType.NOW, | ||
| }) | ||
| updatedAt!: Date; | ||
|
|
Member
Author
There was a problem hiding this comment.
added this BelongsTo decorator so i could do joins for getInterviewedApplicantsByGroupId
chene0
force-pushed
the
INTW26-interview-scheduling-feature
branch
2 times, most recently
from
April 11, 2026 17:22
a88e490 to
91894e7
Compare
chene0
force-pushed
the
INTW26-interview-scheduling-feature
branch
2 times, most recently
from
April 19, 2026 02:27
94e41e8 to
87f41e6
Compare
chene0
marked this pull request as ready for review
April 19, 2026 19:23
SaqAsh
force-pushed
the
INTW26-interview-scheduling-feature
branch
2 times, most recently
from
May 8, 2026 04:03
892b33b to
61376b4
Compare
SaqAsh
changed the base branch from
main
to
INTW26-build-interview-delegation-algorithm
May 9, 2026 03:06
SaqAsh
changed the base branch from
INTW26-build-interview-delegation-algorithm
to
main
May 9, 2026 03:07
mxc-maggiechen
force-pushed
the
INTW26-interview-scheduling-feature
branch
from
May 10, 2026 04:41
61376b4 to
cda1ec9
Compare
Comment on lines
+128
to
+144
| const interviewers = delegations.map( | ||
| (delegation) => delegation.interviewer, | ||
| ); | ||
| if (interviewers.length === 0) { | ||
| return []; | ||
| } | ||
|
|
||
| const uniqueByInterviewerId = new Set<number>(); | ||
| const uniqueInterviewers = interviewers.filter((interviewer) => { | ||
| if (uniqueByInterviewerId.has(interviewer.id)) { | ||
| return false; | ||
| } | ||
| uniqueByInterviewerId.add(interviewer.id); | ||
| return true; | ||
| }); | ||
|
|
||
| return uniqueInterviewers.map((interviewer) => toUserDTO(interviewer)); |
Contributor
There was a problem hiding this comment.
idk if there is a better way to dedupe this
Contributor
There was a problem hiding this comment.
update is required for the scheduling PR, create and delete are added as well bc it's just nice to have CRUD on a model all set
mxc-maggiechen
approved these changes
May 10, 2026
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.
THIS BRANCH IS CURRENTLY BASED OFF OF
INTW26-build-interview-delegation-algorithm, REBASE ONTO MAIN ONCE #127 GETS MERGEDNotion ticket link
Implement Interview Scheduling Feature
Implementation description
User, add a fkprofilePictureFileIdtofirebase_filesgetInterviewedApplicantsByGroupIdandgetInterviewersByGroupIdfor the interview review pageSteps to test
docker compose upanddocker exec recruitment_tools_backend node migrate up, ensure that the migrations ran successfully and in pgAdmin theuserstable now has aprofilePictureFileIdfk tofirebase_filesWhat should reviewers focus on?
Checklist