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
Comprehensive UI overhaul implementing a modern design system with:
- New gradient backgrounds and improved color palette
- Redesigned navigation with logo and better user state handling
- Combined auth page with tab-based login/register flow
- Enhanced dashboard with event cards and empty states
- Improved event creation and join forms with better validation
- Responsive layouts with proper spacing and typography
- Added loading states and error handling throughout
- Modern button styles with hover effects and transitions
Verify that the requesting user is either the event creator or a
participant before returning the participant list. Update the UI to
safely handle errors and loading states.
Update the event model to include an `invite_token` generated upon
creation. Add server functions to retrieve events by token and handle
participant registration. Implement a new `/join/:token` route and UI
component for joining events, and display the shareable invite link on
the event details page.