Felipe Cardoso
d61e518697
Add event_id and guest_id to RSVPSchema and RSVPSchemaCreate
...
event_id and guest_id fields were added to both RSVPSchema and RSVPSchemaCreate to ensure these properties are included in the API schema. This change also updates the required fields list, improving completeness and validation for RSVP-related actions.
2025-03-19 08:40:37 +01:00
Felipe Cardoso
cd22418786
Add event_id and guest_id fields to RSVPSchemaBase
...
Build and Push Docker Images / changes (push) Successful in 4s
Build and Push Docker Images / build-backend (push) Successful in 47s
Build and Push Docker Images / build-frontend (push) Has been skipped
This update introduces event_id and guest_id fields to the RSVPSchemaBase model, ensuring better tracking of RSVP details. These additions enhance data association and model usability.
2025-03-19 08:38:22 +01:00
Felipe Cardoso
472a0b7834
Add delete functionality for gifts in the dashboard
...
Introduced `handleDeleteGift` to delete a gift and refetch items after deletion. Connected the delete action to the dropdown menu, enabling users to remove gifts from the UI seamlessly. This enhances gift management capabilities on the dashboard.
2025-03-19 08:23:26 +01:00
Felipe Cardoso
1441843a55
Add cascading delete to Gift and Guest relationships
...
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Successful in 49s
Build and Push Docker Images / build-frontend (push) Has been skipped
Updated the `ondelete="CASCADE"` behavior for foreign key constraints in Alembic migrations and added cascading rules to related models in SQLAlchemy. These changes ensure proper cleanup of dependent records when a parent record is deleted.
2025-03-19 08:16:38 +01:00
Felipe Cardoso
7d8eacad7a
Update gift cancellation to include received status
...
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Successful in 49s
Build and Push Docker Images / build-frontend (push) Has been skipped
Allow cancellation of gifts with a status of either RESERVED or RECEIVED. This ensures consistency in handling gift statuses during reservation management across the application.
2025-03-19 07:32:09 +01:00
Felipe Cardoso
0410d148d3
Refactor RSVP form to improve guest input usability
...
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / build-frontend (push) Successful in 1m10s
Added buttons to increment and decrement the number of guests for better user experience, particularly on mobile devices. Introduced direct numeric input handling to ensure valid input. Updated theme settings and adjusted styles for improved visual consistency.
2025-03-17 18:42:19 +01:00
Felipe Cardoso
479cb7ade8
Switch backend to production API and adjust headers for auth
...
Build and Push Docker Images / changes (push) Successful in 4s
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / build-frontend (push) Successful in 1m12s
Updated the backend API URL to production across configurations and removed unused bearer security schemes in SDK. Introduced optional `authorization` headers in type definitions to handle authentication dynamically.
2025-03-17 12:33:08 +01:00
Felipe Cardoso
ebfa57abc9
Set default URLs for backend and app environments
...
Build and Push Docker Images / changes (push) Successful in 4s
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / build-frontend (push) Successful in 1m13s
Added fallback default URLs for BACKEND_API_URL and APP_URL when environment variables are not defined. This ensures the application functions correctly in environments without explicit configuration.
2025-03-17 12:25:55 +01:00
Felipe Cardoso
7d0319462e
Fix cors
Build and Push Docker Images / changes (push) Successful in 6s
Build and Push Docker Images / build-backend (push) Successful in 49s
Build and Push Docker Images / build-frontend (push) Has been skipped
2025-03-17 12:19:37 +01:00
Felipe Cardoso
1946484fd6
Update gitignore
2025-03-17 08:27:09 +01:00
Felipe Cardoso
d4074cf01e
Fix build problems
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / build-frontend (push) Successful in 1m10s
2025-03-17 08:23:48 +01:00
Felipe Cardoso
3d24f287af
Populate the deploy compose
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / build-frontend (push) Has been skipped
2025-03-17 08:16:28 +01:00
Felipe Cardoso
7ef605b468
Translate invite page rsvp components to italian
2025-03-17 08:16:15 +01:00
Felipe Cardoso
8e0c5355de
Translate invite page to italian
2025-03-17 08:13:54 +01:00
Felipe Cardoso
8dc74c743f
Translate invite page to italian
2025-03-17 08:07:17 +01:00
Felipe Cardoso
514ca7742e
fix guest rsvp additional guests
2025-03-16 21:16:24 +01:00
Felipe Cardoso
fce2f32ffb
fix guest rsvp additional guests
Build and Push Docker Images / changes (push) Successful in 4s
Build and Push Docker Images / build-backend (push) Successful in 52s
Build and Push Docker Images / build-frontend (push) Has been skipped
2025-03-16 21:13:48 +01:00
Felipe Cardoso
d56a0d3baa
fix reserve gifts endpoint
2025-03-16 21:07:56 +01:00
Felipe Cardoso
0a642581e8
fix available gifts filter
2025-03-16 21:07:05 +01:00
Felipe Cardoso
b55ef5387b
Add gift registry page
Build and Push Docker Images / changes (push) Successful in 4s
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / build-frontend (push) Failing after 52s
2025-03-16 20:24:12 +01:00
Felipe Cardoso
2f1fe8dd75
Add alert component
2025-03-16 20:24:01 +01:00
Felipe Cardoso
1a18347e93
Fix several problems with gift registry api
2025-03-16 20:23:52 +01:00
Felipe Cardoso
54fbed2816
Fix crud query for guests reservations
2025-03-16 20:13:51 +01:00
Felipe Cardoso
878d2e8c45
Fix auth dependencies
2025-03-16 19:54:58 +01:00
Felipe Cardoso
5971dfb405
Update gifts table in dashboard
Build and Push Docker Images / changes (push) Successful in 4s
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / build-frontend (push) Failing after 52s
2025-03-16 18:20:45 +01:00
Felipe Cardoso
bf21fadf00
Update gift modal
2025-03-16 18:20:23 +01:00
Felipe Cardoso
e10e43fb8b
Add gift modal
2025-03-16 17:56:14 +01:00
Felipe Cardoso
e2c6c64fe7
Fix minor bugs in gift-context.tsx
2025-03-16 17:47:56 +01:00
Felipe Cardoso
97a9e1588f
Add category-modal.tsx to gifts page
2025-03-16 17:37:08 +01:00
Felipe Cardoso
371ef4c45f
Add additional ui deps
2025-03-16 17:36:42 +01:00
Felipe Cardoso
16b6269d05
Add default categories to init_db.py
2025-03-16 17:36:16 +01:00
Felipe Cardoso
1dcad21bed
Remove unnecessary parameter from RSVP usage
2025-03-16 17:19:33 +01:00
Felipe Cardoso
ac800e6356
Add draft implementation of gifts page
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / build-frontend (push) Failing after 53s
2025-03-16 17:10:29 +01:00
Felipe Cardoso
df1256996b
Refactor of dashboard page with breadcrumbs and cleaner component
2025-03-16 17:10:05 +01:00
Felipe Cardoso
b9bff35122
Add gift registry page
2025-03-16 16:56:30 +01:00
Felipe Cardoso
f6ac22731d
Update gift-context.tsx
2025-03-16 16:35:35 +01:00
Felipe Cardoso
88c9e634de
Add quantity in reserve_gift_item endpoint
2025-03-16 16:33:17 +01:00
Felipe Cardoso
4363e27ae6
Add minor change in client api
2025-03-16 16:31:30 +01:00
Felipe Cardoso
44d6f6d837
Add initial implementation of gift context in frontend
2025-03-16 16:05:14 +01:00
Felipe Cardoso
861baa7b66
remove local .next volume from docker-compose.dev.yml
2025-03-16 16:02:56 +01:00
Felipe Cardoso
9a58a38903
Update generated api client
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / build-frontend (push) Failing after 52s
2025-03-16 15:46:28 +01:00
Felipe Cardoso
29ba036094
Add operation ids for gift route
2025-03-16 15:45:09 +01:00
Felipe Cardoso
19f3534f22
Additional fixes for gift models
2025-03-16 15:33:17 +01:00
Felipe Cardoso
b5f1c7ddcb
Fixe (partially) gift tests and api
2025-03-16 15:07:31 +01:00
Felipe Cardoso
4ef202cc5a
Big refactor of gift categories model
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Successful in 52s
Build and Push Docker Images / build-frontend (push) Has been skipped
2025-03-16 14:51:04 +01:00
Felipe Cardoso
ed017a42ed
Add for gifts: schema, crud, route, tests
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Successful in 51s
Build and Push Docker Images / build-frontend (push) Has been skipped
2025-03-16 14:23:28 +01:00
Felipe Cardoso
25d2f16816
Fix max-additional guests in guests-list.tsx
Build and Push Docker Images / changes (push) Successful in 4s
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / build-frontend (push) Failing after 51s
2025-03-16 12:10:54 +01:00
Felipe Cardoso
b6cabf6031
Update guest-context.tsx with new guest rsvp hybrid endpoint
2025-03-16 12:07:25 +01:00
Felipe Cardoso
f3b5192e4d
Update server with new guest rsvp endpoint
2025-03-16 12:06:52 +01:00
Felipe Cardoso
8c1b737de9
Update client with new guest rsvp endpoint
Build and Push Docker Images / changes (push) Successful in 4s
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / build-frontend (push) Failing after 51s
2025-03-16 12:06:43 +01:00