Skip to content

feat(UC-11): implement admin invite students by email - #60

Merged
visiort merged 2 commits into
mainfrom
feature/uc-11
Apr 26, 2026
Merged

visiort merged 2 commits into
mainfrom
feature/uc-11

Conversation

@yggd-millenia

Copy link
Copy Markdown
Collaborator
  • Backend: invite module with InviteController, InviteService, EmailService
    • POST /api/v1/sections/{id}/invites/preview — parses & validates semicolon-separated emails, returns count + email preview (admin only)
    • POST /api/v1/sections/{id}/invites/send — sends registration email to each address via Spring Mail with per-student registration link
    • InvalidEmailFormatException + handler for malformed addresses
  • Frontend: SectionInvite.vue two-step flow
    • Step 1: textarea input for semicolon-separated emails
    • Step 2: shows recipient count, recipient chips, full email preview
    • Admin can go back to modify or confirm to send
  • Added /sections/:id/invite route (admin-only)
  • Added "Invite Students" button to SectionDetail header

Delia Sanchez Juarez and others added 2 commits April 23, 2026 17:04
- Backend: invite module with InviteController, InviteService, EmailService
  - POST /api/v1/sections/{id}/invites/preview — parses & validates
    semicolon-separated emails, returns count + email preview (admin only)
  - POST /api/v1/sections/{id}/invites/send — sends registration email
    to each address via Spring Mail with per-student registration link
  - InvalidEmailFormatException + handler for malformed addresses
- Frontend: SectionInvite.vue two-step flow
  - Step 1: textarea input for semicolon-separated emails
  - Step 2: shows recipient count, recipient chips, full email preview
  - Admin can go back to modify or confirm to send
- Added /sections/:id/invite route (admin-only)
- Added "Invite Students" button to SectionDetail header

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Conflict in header buttons: kept Peer Eval Report button added in main
alongside the existing Edit button from uc-11.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@visiort
visiort merged commit 3ecdb06 into main Apr 26, 2026
2 checks passed
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.

2 participants