Commit Graph

134 Commits

Author SHA1 Message Date
Felipe Cardoso
ebfa57abc9 Set default URLs for backend and app environments
All checks were successful
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
d4074cf01e Fix build problems
All checks were successful
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
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
0a642581e8 fix available gifts filter 2025-03-16 21:07:05 +01:00
Felipe Cardoso
b55ef5387b Add gift registry page
Some checks failed
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
5971dfb405 Update gifts table in dashboard
Some checks failed
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
1dcad21bed Remove unnecessary parameter from RSVP usage 2025-03-16 17:19:33 +01:00
Felipe Cardoso
ac800e6356 Add draft implementation of gifts page
Some checks failed
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
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
9a58a38903 Update generated api client
Some checks failed
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
25d2f16816 Fix max-additional guests in guests-list.tsx
Some checks failed
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
8c1b737de9 Update client with new guest rsvp endpoint
Some checks failed
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
Felipe Cardoso
2117655ec8 update rsvp-form handling the guest 2025-03-16 12:02:04 +01:00
Felipe Cardoso
a38eca3377 remove useless log 2025-03-16 12:01:37 +01:00
Felipe Cardoso
121cbcb42a Update rsvp-form.tsx style
Some checks failed
Build and Push Docker Images / build-frontend (push) Failing after 52s
Build and Push Docker Images / changes (push) Successful in 4s
Build and Push Docker Images / build-backend (push) Has been skipped
2025-03-16 11:04:32 +01:00
Felipe Cardoso
551a7ba9dc Add copy invitation link to clipboard in guests-list.tsx
Some checks failed
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / changes (push) Successful in 4s
Build and Push Docker Images / build-frontend (push) Failing after 50s
2025-03-16 10:59:08 +01:00
Felipe Cardoso
86ae3ca234 Add generateInviteLink util function 2025-03-16 10:58:35 +01:00
Felipe Cardoso
4d1bf86d19 Add APP URL env variable to frontend project 2025-03-16 10:58:15 +01:00
Felipe Cardoso
52476151a4 Improve current guest management
Some checks failed
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 51s
2025-03-16 10:21:37 +01:00
Felipe Cardoso
c231f41e9c Enhance guest management features in GuestListTable
Some checks failed
Build and Push Docker Images / build-frontend (push) Failing after 52s
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Has been skipped
Added functionality for adding, editing, deleting, and copying guests' details, along with filtering, exporting, and sending invitations. Improved user interactions with dialog handling and introduced error handling for better usability. Integrated GuestsList into the event detail page.
2025-03-16 10:13:41 +01:00
Felipe Cardoso
4e66b22bae Set default guest permissions to allow bringing up to 10 guests.
Updated guest schema and database models to increase the default value for `max_additional_guests` from 0 to 10 and enable `can_bring_guests` by default. This ensures new guests can bring additional attendees without manual configuration.
2025-03-16 09:45:37 +01:00
Felipe Cardoso
d6e5ade040 Add reusable UI components and update dependencies
Some checks failed
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 51s
Introduce new `Toaster`, `Tabs`, `DropdownMenu`, and `Table` components under `ui` for consistent design and functionality. Updated `next-themes` to `^0.4.6` and added `sonner` as a notification library to support the `Toaster` component.
2025-03-16 09:31:26 +01:00
Felipe Cardoso
445d644538 Add GuestContext for managing guest-related state
Some checks failed
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 51s
Introduced a new GuestContext with accompanying provider to handle guest-related data, including fetching, creating, updating, and deleting guests. Integrated GuestsProvider into the application's data provider hierarchy to ensure guest data is accessible across components.
2025-03-15 21:45:16 +01:00
Felipe Cardoso
90f49f99c6 Add @radix-ui/react-dropdown-menu dependency
Integrates the @radix-ui/react-dropdown-menu package to the project. Updates both package.json and package-lock.json to include the relevant version and dependencies. This prepares the app for dropdown menu functionality using Radix UI components.
2025-03-15 21:03:20 +01:00
Felipe Cardoso
22e11e9bfe Add guests list table MOCK component with search and actions
Introduce a dynamic guests list table featuring search, filters, and status badges. Includes functionality to add new guests, perform actions like editing or deleting, and view summarized data for confirmations and additional guests. just the mock
2025-03-15 21:03:13 +01:00
Felipe Cardoso
3800fcea19 Comment out RSVP section and update Gift Registry text
Some checks failed
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 51s
The RSVP section is now commented out, removing its visibility from the page. Additionally, the text and button for the Gift Registry section have been updated to better reflect its purpose, allowing users to manage and edit the registry.
2025-03-15 20:58:17 +01:00
Felipe Cardoso
df5a11a2a3 Make invitation_code optional and nullable in Guest schemas
Some checks failed
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 51s
Updated GuestCreate and GuestRead schemas to adjust the `invitation_code` field. It is now optional and can be null for GuestCreate, while required for GuestRead. This change ensures better flexibility in handling guest data.
2025-03-15 20:35:39 +01:00
Felipe Cardoso
e41e7d0867 Add RSVP modal and form components for event attendance
Some checks failed
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 50s
Introduced a new RSVP modal and form to enable guests to RSVP to events more seamlessly. Updated the invite page to integrate the new modal and handle guest attendance submissions. Refactored the RSVP functionality into reusable components for better maintainability.
2025-03-15 20:19:08 +01:00
Felipe Cardoso
695743fa76 Refactor schemas to update event-related models.
Some checks failed
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 50s
Replaced generation-related schemas with event-oriented ones like EventCreate, EventResponse, and EventTheme schemas. Introduced new fields and structures to support event management, including RSVP, themes, and contact information. Removed unused schemas and adjusted naming for consistency.
2025-03-15 20:00:54 +01:00
Felipe Cardoso
9695c29ab5 Add reusable Dialog component using Radix UI
Implemented a Dialog component with Radix UI's primitives for a customizable and accessible modal experience. Updated dependencies to include `@radix-ui/react-dialog` and structured the component for extensibility and reuse.
2025-03-15 19:56:57 +01:00
Felipe Cardoso
0ee314f1c0 Update react-query typings and methods for API endpoints
This refactor replaces outdated API methods with new ones, aligning with updated backend endpoints. The changes include renaming and restructuring query/mutation functions and their corresponding types to improve consistency and support additional API capabilities.
2025-03-15 19:56:50 +01:00
Felipe Cardoso
7f3401e759 Refactor: Update auto-generated schemas for API changes
Replaced and updated multiple schema definitions to align with new API structures. Includes renaming, adding new enums, refining object properties, and reorganizing schemas for clarity. Ensures better compatibility and adherence to the updated API specifications.
2025-03-15 19:56:38 +01:00
Felipe Cardoso
58ac33990f Add RSVP context and provider for managing RSVP state
Some checks failed
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 51s
Introduce a context and provider for handling RSVP data, including fetching, updating, creating, and deleting RSVPs. The implementation utilizes React Query for data management and exposes methods for managing RSVP operations throughout the application.
2025-03-15 19:44:20 +01:00
Felipe Cardoso
c0516c1086 Add schemas and APIs for Guest and RSVP management
Some checks failed
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 50s
Introduced schemas and types for Guests and RSVPs, along with their create, read, update, and delete endpoints. This also includes React Query integrations for managing guest and RSVP data in the frontend.
2025-03-15 02:26:04 +01:00
Felipe Cardoso
d5d6c4b3c9 Update RSVP date format and enhance invite page styles
Some checks failed
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 50s
Changed the RSVP deadline format to "dd.MM.yyyy" for consistency. Improved text styles by adding bold fonts to emphasize key sections and included a new confirmation message for RSVP deadline.
2025-03-15 01:18:10 +01:00
Felipe Cardoso
78533d3d17 Revamp invite page banner styling and layout.
Some checks failed
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 50s
Updated the invite page banner to use a more dynamic and visually appealing design with a background image or fallback styling. Added a text overlay for improved readability and enhanced the fallback display when an image is unavailable.
2025-03-14 18:47:02 +01:00
Felipe Cardoso
cb092cd643 Revamp invite page banner styling and layout.
Updated the invite page banner to use a more dynamic and visually appealing design with a background image or fallback styling. Added a text overlay for improved readability and enhanced the fallback display when an image is unavailable.
2025-03-14 17:00:10 +01:00