Skip to content
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

Merged
merged 4 commits into from
Mar 2, 2025
Merged

Conversation

cchrischen
Copy link
Collaborator

@cchrischen cchrischen commented Feb 23, 2025

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

@cchrischen cchrischen requested a review from a team as a code owner February 23, 2025 22:04
@dti-github-bot
Copy link
Member

dti-github-bot commented Feb 23, 2025

[diff-counting] Significant lines: 389.

return false;
});

if (missingHeader) return;
Copy link
Collaborator

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

Comment on lines 30 to 38
onClick={() => {
InterviewSchedulerAPI.deleteInstance(uuid).then(() => {
setInstances((instances) => instances.filter((inst) => inst.uuid !== uuid));
});
setIsOpen(false);
}}
>
Yes
</Button>
Copy link
Collaborator

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

Copy link
Collaborator

@jujulcrane jujulcrane left a 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.

@cchrischen cchrischen merged commit 162fc8a into main Mar 2, 2025
12 checks passed
@cchrischen cchrischen deleted the cc/admin-view-interview-scheduler branch March 2, 2025 16:59
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