Skip to content

449 create individual judge hacker hub invite#450

Merged
michelleyeoh merged 41 commits intomainfrom
449-create-individual-judge-hacker-hub-invite
Mar 14, 2026
Merged

449 create individual judge hacker hub invite#450
michelleyeoh merged 41 commits intomainfrom
449-create-individual-judge-hacker-hub-invite

Conversation

@michelleyeoh
Copy link
Contributor

No description provided.

ReehalS and others added 30 commits February 26, 2026 00:53
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.
…/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
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-invites page rendering the existing InviteLinkForm.
  • Replace inline HTML in emailMessage with 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.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@michelleyeoh michelleyeoh deployed to development March 14, 2026 22:07 — with GitHub Actions Active
@michelleyeoh michelleyeoh merged commit 38db3a6 into main Mar 14, 2026
2 checks passed
@michelleyeoh michelleyeoh linked an issue Mar 14, 2026 that may be closed by this pull request
@michelleyeoh michelleyeoh deleted the 449-create-individual-judge-hacker-hub-invite branch March 14, 2026 22:09
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.

Create individual judge + hacker hub invite Refactor forgot password ui & backend

3 participants