/claim #13532
Summary
Reviving and completing the email invite feature for team event-type assignment. This PR resolves the current blockers (CI failure, stale state, missing integration stability) and ensures the feature works end-to-end as intended.
What I did
- Rebased with latest
main to resolve stale state
- Fixed failing CI check (
PR Update / required)
- Verified the email invite flow works correctly from Assignment tab
- Ensured no regression in existing host assignment logic
- Cleaned up edge cases in email parsing and validation
Feature Behavior
- Supports inviting users directly via email from Assignment tab
- Accepts comma / space / semicolon separated emails
- Automatically sends team invitations using existing backend flow
- Invited users appear as Pending members in team settings
- UI refreshes via cache invalidation after successful invite
Approach
Followed a low-risk, modular approach by keeping the invite flow isolated from the existing assignment logic and reusing the existing inviteMember procedure instead of introducing new backend complexity.
Testing
- Tested with single and multiple email inputs
- Verified invitation flow and pending state in team members
- Confirmed UI updates correctly after invite
- Checked no console errors or UI regressions
Demo
[Attach Loom / demo video here]
Status
✅ Ready for review
Would appreciate feedback to move this forward