Commit Graph

15 Commits

Author SHA1 Message Date
Julien Froidefond
44be5d2e98 Remove ESLint configuration file and update type imports across components: Deleted eslint.config.js to streamline project setup. Updated type imports in layout, login, register, and other components to use direct imports for improved clarity and consistency. Enhanced error handling in various components and replaced apostrophes with HTML entities for better rendering. 2025-12-10 06:01:34 +01:00
Julien Froidefond
a6c329ff15 Update event types in EventManagement and EventsPageSection components: Replace existing event types with new categories (ATELIER, KATA, PRESENTATION, LEARNING_HOUR) to better reflect current offerings. Adjust related functions and seed data to ensure consistency across the application. 2025-12-10 05:48:23 +01:00
Julien Froidefond
a69613a232 Refactor event status handling: Remove EventStatus enum from the Prisma schema and update related API routes and UI components to calculate event status dynamically based on event date. This change simplifies event management and enhances data integrity by ensuring status is always derived from the date. 2025-12-10 05:45:25 +01:00
Julien Froidefond
fb830c6fcc Refactor date handling in EventsPageSection: Update getFirstDayOfMonth function to correctly convert UTC day of the week for improved calendar display. Simplify month navigation logic by directly using UTC date methods, enhancing clarity and functionality in event date management. 2025-12-10 05:37:42 +01:00
Julien Froidefond
1b07fe8ae5 Refactor event date handling: Update event model to use DateTime type for date fields in Prisma schema. Modify API routes and UI components to ensure consistent date formatting and handling, improving data integrity and user experience across event management and display. 2025-12-10 05:32:23 +01:00
Julien Froidefond
fdd860c456 Enhance event model and management: Add new fields for room, time, and maxPlaces to the Event model in Prisma schema. Update API routes and UI components to support these fields, improving event details and user interaction in event management and registration processes. 2025-12-10 05:27:35 +01:00
Julien Froidefond
fb5c8c1466 Refactor event registration logic in EventsPageSection: Introduce useRef to track initial data usage, preventing unnecessary API calls when user session changes. Update loading and error handling to enhance user experience during event registration. 2025-12-09 22:18:31 +01:00
Julien Froidefond
b643e283fa Enhance event registration handling: Integrate server-side session management to fetch user registrations for upcoming events, preventing flicker on load. Update EventsPageSection to accept initial registration data, improving user experience by pre-populating registration states. 2025-12-09 22:18:01 +01:00
Julien Froidefond
16b0437ecb Refactor event fetching and display: Change event retrieval order to descending by date, enhance event data structure to include registration counts, and update UI components to reflect these changes for better user experience. 2025-12-09 21:55:42 +01:00
Julien Froidefond
50a2eaf109 Implement event registration functionality: Add EventRegistration model to Prisma schema, enabling user event registrations. Enhance EventsPageSection component with registration checks, calendar view, and improved event display. Refactor event rendering logic to separate upcoming and past events, improving user experience. 2025-12-09 21:53:10 +01:00
Julien Froidefond
67131f6470 Refactor page components to use NavigationWrapper and integrate Prisma for data fetching. Update EventsSection and LeaderboardSection to accept props for events and leaderboard data, enhancing performance and user experience. Implement user authentication in ProfilePage and AdminPage, ensuring secure access to user data. 2025-12-09 14:11:47 +01:00
Julien Froidefond
8c326bdd20 Refactor admin preferences management to use global site preferences, update UI components for better user experience, and implement image selection for background settings. 2025-12-09 08:37:52 +01:00
Julien Froidefond
4486f305f2 Add database and Prisma configurations, enhance event and leaderboard components with API integration, and update navigation for session management 2025-12-09 08:24:14 +01:00
Julien Froidefond
c5bd94ec69 Translate event details and UI text to French, including event names, descriptions, and status labels. Update navigation styles for consistency. 2025-12-08 17:22:14 +01:00
Julien Froidefond
4e6ce54e0f Init 2025-12-08 17:13:14 +01:00