Add copy-to-clipboard functionality for event invite links with
visual feedback. The copy button now uses the Clipboard API via
JavaScript eval to copy the link and displays a green checkmark
icon for 2 seconds on successful copy.
Add a new AssignmentReveal component that enables users to reveal their
secret gift exchange assignments through an interactive hold-to-reveal
mechanism. The component includes a frosted glass overlay with smooth
fade transitions, an animated progress ring, and comprehensive event
handling for both mouse and touch interactions.
Backend changes:
- Add get_my_assignment server function to fetch user's assignment
- Protect event creator from having admin role removed
Additional updates:
- Update year placeholder in create event form to 2025
- Add CSS utilities for animations, gradients, and effects
- Add Role enum to participants schema to distinguish between Admin and Member
- Grant Admin role to event creators automatically
- Restrict sensitive actions (drawing names, editing budget, managing participants) to admins
- Add UI controls for promoting members to admins and removing participants
- Clean up unused Tailwind CSS variables and utility classes