-
Notifications
You must be signed in to change notification settings - Fork 2
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
Interview Scheduler Admin View #855
Conversation
[diff-counting] Significant lines: 389. |
return false; | ||
}); | ||
|
||
if (missingHeader) return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This logic is kind of complicated so maybe you could move it to a separate utility function that parses csv files
onClick={() => { | ||
InterviewSchedulerAPI.deleteInstance(uuid).then(() => { | ||
setInstances((instances) => instances.filter((inst) => inst.uuid !== uuid)); | ||
}); | ||
setIsOpen(false); | ||
}} | ||
> | ||
Yes | ||
</Button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe you could add a success message or feedback to the user after successfully deleting? you could also perhaps separate the delete logic into a separate function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Chris! Great job as usual!! I left some small suggestions but otherwise everything looks good to me.
Summary
This PR adds the admin view of the interview scheduler tool. Admins are allowed to handle all basic CRUD operations for an interview scheduler instance. Applicants are specified via a CSV file. Instances can be closed to prevent further updates on signing up.
Test Plan
2025-03-02.11-32-42.mp4