Commit Graph

10 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
2642fd2d24 feat(ui): complete redesign with modern Tailwind styling and enhanced UX
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
2025-11-19 23:57:15 +01:00
0c096f4e40 feat(events): implement event invitation via token
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.
2025-11-19 22:58:01 +01:00
83db04a187 feat: Introduce event management with new database entities, server functions, and UI components. 2025-11-19 22:35:51 +01:00
572827e10b feat: Implement user authentication and session management using tower-sessions and update UI components to reflect login state. 2025-11-19 22:07:12 +01:00
94593f54b1 feat: Implement user authentication with database integration and update routing. 2025-11-19 20:26:10 +01:00