Commit Graph

5 Commits

Author SHA1 Message Date
1b5f820363 feat(ui): implement invite link copy with feedback
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.
2025-11-21 00:13:49 +01:00
f351cd83e2 feat(ui): implement interactive assignment reveal component
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
2025-11-21 00:01:24 +01:00
7ef4ff4221 feat(events): implement role-based access control
- 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
2025-11-20 23:06:25 +01:00
776f5e8ae5 feat: Implement a new dark theme and refresh UI components with updated styling and icons. 2025-11-20 22:13:22 +01:00
1cb0b6fccb feat: Implement core UI with authentication, event management (create, join, view), dashboard, and home views, supported by updated server functions, auth logic, and database. 2025-11-20 22:12:29 +01:00