449 create individual judge hacker hub invite#450
Merged
michelleyeoh merged 41 commits intomainfrom Mar 14, 2026
Merged
Conversation
Template and template image pending change
A per-person pipeline with two independent concurrency-limited pools where each person moves from Tito to email on their own as soon as a slot is free, with no batch boundaries.
A per-person pipeline with two independent concurrency-limited pools where each person moves from Tito to email on their own as soon as a slot is free, with no batch boundaries.
…is/hackdavis-hub into 376-mentor-email-invites
…/HackDavis/hackdavis-hub into 376-mentor-email-invites" This reverts commit 458d2db, reversing changes made to fd85880.
Judge still uses sendSingleJudgeInvite.ts to send email
…o 376-mentor-email-invites
…o 376-mentor-email-invites
…is/hackdavis-hub into 376-mentor-email-invites
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…is/hackdavis-hub into 376-mentor-email-invites
…://github.com/HackDavis/hackdavis-hub into 449-create-individual-judge-hacker-hub-invite
There was a problem hiding this comment.
Pull request overview
Adds an “Emergency Invites” admin entry point and refactors invite/reset email HTML into reusable templates, supporting one-off Hub invites (for hackers & judges) and password reset emails.
Changes:
- Update Admin dashboard navigation to point to
/admin/emergency-invites. - Add
/admin/emergency-invitespage rendering the existingInviteLinkForm. - Replace inline HTML in
emailMessagewith two new template functions.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| app/(pages)/admin/page.tsx | Updates admin navigation link to the new emergency invites route. |
| app/(pages)/admin/emergency-invites/page.tsx | Adds the emergency invites admin page that renders InviteLinkForm. |
| app/(pages)/admin/_components/InviteLinkForm/InviteLinkForm.tsx | Updates form heading text. |
| app/(api)/_actions/invite/emailMessage.ts | Refactors email HTML generation to use template functions. |
| app/(api)/_actions/emails/emailTemplates/hubEmergencyInviteTemplate.ts | New invite email HTML template. |
| app/(api)/_actions/emails/emailTemplates/forgotPasswordTemplate.ts | New forgot-password email HTML template. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
app/(api)/_actions/emails/emailTemplates/hubEmergencyInviteTemplate.ts
Outdated
Show resolved
Hide resolved
app/(api)/_actions/emails/emailTemplates/forgotPasswordTemplate.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
No description provided.