Commit Graph

87 Commits

Author SHA1 Message Date
Ryderjj89
becc530c18 Spacing issue with guest names 2025-06-04 18:53:27 -04:00
Ryderjj89
3af12b431b Rearranging event details & more width for view/manage pages 2025-06-04 18:45:50 -04:00
Ryderjj89
65d02964dc Fix email field not saving in EventAdmin RSVP edit form
- Changed submission data field from 'email_address' to 'attendee_email'
- Backend expects 'attendee_email' but frontend was sending 'email_address'
- This fixes the issue where email updates wouldn't save to the database
- Email field now properly updates when edited through the admin interface
2025-05-26 17:45:16 -04:00
Ryderjj89
a2f9c58f3f Restore complete EventAdmin.tsx file with email field and snackbar functionality
- Fixed missing hundreds of lines that were accidentally truncated
- Restored complete component with all dialogs, tables, and functionality
- Email field now properly populates in RSVP edit form from attendee_email
- Added snackbar notifications for email sending and link copying actions
- All admin functionality including item management, event updates, and RSVP editing is now complete
2025-05-26 17:37:48 -04:00
Ryderjj89
b6c548f25a Fix email field in EventAdmin RSVP edit form and add snackbar feedback
- Added email_address field to EditFormData interface
- Updated handleEditRsvp to populate email field from rsvp.attendee_email
- Modified handleEditSubmit to include email_address in submission data
- Added snackbar state variables for user feedback notifications
- Enhanced handleSendEmail and handleCopyLink with success/error snackbar messages
- Added handleSnackbarClose function for snackbar management
- Improved user experience with immediate visual feedback for admin actions
- Fixed issue where email field would show [object Object] instead of actual email text
2025-05-26 17:29:44 -04:00
Ryderjj89
7e4baa3388 Add email column and action buttons to EventAdmin RSVP table
- Added email column to display attendee_email in the RSVP management table
- Added email icon button to resend confirmation emails to attendees
- Added clipboard icon button to copy RSVP edit links to clipboard
- Updated RSVP interface to include attendee_email and edit_id fields
- Added backend endpoint /api/rsvps/resend-email/:editId for resending emails
- Email and copy buttons are disabled when email/edit_id are not available
- Improved admin functionality for managing RSVPs and communicating with attendees
2025-05-26 17:15:52 -04:00
Ryderjj89
7c09fd9d40 Fix event_conclusion_message displaying [object Object] in edit form
- Changed String() conversion to direct assignment in EventAdmin.tsx
- Now properly displays actual text content instead of [object Object]
- Handles null/undefined values by defaulting to empty string
2025-05-26 16:16:26 -04:00
Ryderjj89
cd9e43ee5a Updated event conclusion message handling to ensure consistency with description box in EventForm and EventAdmin components. 2025-05-26 15:43:32 -04:00
Ryderjj89
8f8f19bcfe Ensure event_conclusion_message is string in EventAdmin 2025-05-26 14:26:17 -04:00
Ryderjj89
a6ef28beea Add logging to EventAdmin update submit handler 2025-05-26 14:08:20 -04:00
Ryderjj89
58c0eebbba Update Event interface in EventAdmin with email conclusion fields 2025-05-26 13:58:10 -04:00
Ryderjj89
aa106f5196 Update Event interface in EventAdmin with email conclusion fields 2025-05-26 13:50:09 -04:00
Ryderjj89
95ee023e4d Fix frontend build error in EventAdmin related to setUpdateForm 2025-05-26 13:36:08 -04:00
Ryderjj89
c731e41d68 Fix frontend build error in EventAdmin 2025-05-26 13:33:26 -04:00
Ryderjj89
5f08039fd9 Fix TypeScript error in EventAdmin by adding UpdateFormData interface 2025-05-26 13:23:12 -04:00
Ryderjj89
ec747a9761 Update EventAdmin form with title and email conclusion settings, adjust wallpaper preview 2025-05-26 13:20:02 -04:00
Ryderjj89
1437b8e0ee Update 'Needed Items' chip color in EventAdmin table to green 2025-05-16 20:27:39 -04:00
Ryderjj89
726338b4c8 Add email notification settings to EventAdmin update modal 2025-05-16 19:00:44 -04:00
Ryderjj89
90e594850e fix: split 'Other Items' on newlines and commas for RSVP submission and admin edit 2025-05-04 18:01:29 -04:00
Ryderjj89
0f4b83c76d feat: use state-based refresh after RSVP edit/delete in EventAdmin 2025-05-04 17:55:42 -04:00
Ryderjj89
d667092b4f refactor: aggregate and display Other Items in state like Claimed Items 2025-05-04 17:45:43 -04:00
Ryderjj89
09f4ffc328 fix: robustly handle other_items as string, string[], or undefined in Other Items section 2025-05-04 17:31:15 -04:00
Ryderjj89
eb65707565 Fix: treat other_items as string not array in Other Items section 2025-05-04 17:26:00 -04:00
Ryderjj89
455dbf7ee6 Fix type guard for filtering 'Other Items' to support string | undefined 2025-05-04 17:17:16 -04:00
Ryderjj89
c87ad79a79 Add 'Other Items' section below Items Claimed in EventView and EventAdmin 2025-05-04 17:13:36 -04:00
Starstrike
e50122951a feat: Add other_items field to RSVP edit form 2025-05-01 18:30:18 -04:00
Starstrike
a33d521af3 feat: Add other items feature to RSVP form and update table headers 2025-05-01 18:19:08 -04:00
Starstrike
6b3cf70534 Fix guest names handling in RSVP updates to properly maintain array format 2025-05-01 18:00:10 -04:00
Starstrike
7c967d9209 Fix TypeScript error: Handle guest_names as both string and array in EventAdmin 2025-05-01 17:50:57 -04:00
Starstrike
023a4cf84f Update EventAdmin to handle guest names as both string and array formats 2025-05-01 17:49:11 -04:00
Starstrike
f6183f1c76 fix: type error in handleSelectChange for bringing_guests value 2025-05-01 17:34:52 -04:00
Starstrike
9c38c956fd feat: set default guest count to 1 when enabling bringing guests 2025-05-01 17:32:56 -04:00
Starstrike
8bcb802267 fix: type error in handleSelectChange for attendance status 2025-05-01 17:29:05 -04:00
Starstrike
7443312cc9 feat: automatically reset guest info and items when changing attendance to no/maybe 2025-05-01 17:27:15 -04:00
Starstrike
8e493cd7ed style: make RSVPs count display format consistent across views 2025-05-01 17:21:51 -04:00
Starstrike
2c0ca27136 fix: RSVP update functionality to properly handle 204 responses and prevent accidental deletions 2025-05-01 17:12:38 -04:00
Starstrike
a8ece7a0e8 Enhance RSVP update: improve API request format and add detailed logging 2025-05-01 17:06:42 -04:00
Starstrike
9ca3de4552 Fix API routing issues: add proper headers and improve error handling 2025-05-01 17:03:33 -04:00
Starstrike
82a99f02ca Fix RSVP update persistence: include event_id and add better error handling 2025-05-01 16:57:06 -04:00
Starstrike
0a83150bec Fix RSVP update persistence and add data verification 2025-05-01 16:53:39 -04:00
Starstrike
7c2caf457a Fix RSVP data preservation when editing and improve data display 2025-05-01 16:47:08 -04:00
Starstrike
d13aa44c91 Fix TypeScript type errors in items_bringing handling 2025-05-01 16:43:34 -04:00
Starstrike
c8fa6b4c55 Fix RSVP display and edit form handling: add null checks and proper typing 2025-05-01 16:41:44 -04:00
Starstrike
3c7760f5e2 Fix RSVP editing issues: proper guest count handling and state management 2025-05-01 16:35:14 -04:00
Starstrike
45b05b508c Add total guest count to RSVP lists - Show total number of attendees including guests 2025-05-01 16:28:53 -04:00
Starstrike
3a7f62fdbc Add WallpaperIcon to update info dialog - Consistent with event creation form 2025-05-01 16:06:41 -04:00
Starstrike
b2c7cd49e9 Replace default space wallpaper with solid color background - Changed to rgb(25, 28, 34) 2025-05-01 15:59:58 -04:00
Starstrike
ed4b60bfcb Fix background image styling - Ensure wallpaper covers full viewport 2025-05-01 15:49:27 -04:00
Starstrike
09444f58bc Fix background image overlay - Combined background and overlay into single CSS property 2025-05-01 15:38:37 -04:00
Starstrike
3d702b0ca3 Fix background image styling - Added proper z-indexing and overlay for better readability 2025-05-01 15:35:04 -04:00