Commit Graph

95 Commits

Author SHA1 Message Date
Julien Froidefond
18d11d623a Update deployment workflow: Modify deploy.yml to include 'docker compose down' and 'docker compose build --no-cache' commands for improved deployment process and to ensure fresh builds. 2025-12-10 14:06:21 +01:00
Julien Froidefond
30dc84ccc0 Update deployment configuration: Change runner name in deploy.yml from 'Mac-mini-de-Julien.local' to 'mac-orbstack-runner' for consistency in workflow execution.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
2025-12-10 14:02:34 +01:00
Julien Froidefond
378cf3d66a Update deployment configuration: Change runner name in deploy.yml from 'mac-orbstack-runner' to 'Mac-mini-de-Julien.local' for improved clarity and consistency in workflow execution.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
2025-12-10 14:00:28 +01:00
Julien Froidefond
3c318e1763 Enhance feedback submission process: Update FeedbackModal to improve user experience for event feedback. Refactor event handling logic to better manage feedback state and streamline user interactions.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
2025-12-10 13:59:11 +01:00
Julien Froidefond
9fde18a35e Add feedback functionality to EventsPageSection: Integrate FeedbackModal for event feedback submission, allowing users to provide feedback on selected events. Update event handling to manage feedback state and improve user interaction. 2025-12-10 12:06:30 +01:00
Julien Froidefond
80e9d953ae Remove unused import for calculateEventStatus in Events page component to streamline code and improve clarity. 2025-12-10 11:37:40 +01:00
Julien Froidefond
d11059dac2 Refactor ESLint configuration and update code formatting: Standardize quotes in eslint.config.mjs, next.config.js, and various TypeScript files for consistency. Add Prettier as a dependency and include formatting scripts in package.json. Clean up unnecessary whitespace in multiple files to enhance code readability. 2025-12-10 11:30:00 +01:00
Julien Froidefond
66237458ec Update Next.js configuration and enhance dynamic rendering: Set output to 'standalone' in next.config.js for improved deployment. Implement 'force-dynamic' rendering in multiple pages (Home, Admin, Events, Leaderboard) to ensure fresh data retrieval on each request. 2025-12-10 11:26:11 +01:00
Julien Froidefond
3bd43e777e Implement event feedback functionality: Add EventFeedback model to Prisma schema, enabling users to submit ratings and comments for events. Update EventsPageSection and AdminPanel components to support feedback management, including UI for submitting feedback and viewing existing feedbacks. Refactor registration logic to retrieve all user registrations for improved feedback handling. 2025-12-10 06:11:32 +01:00
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
13b8971cc7 Update ESLint configuration and dependencies: Change lint script in package.json to use eslint directly with TypeScript extensions. Add new ESLint dependencies including @eslint/js, @typescript-eslint/eslint-plugin, and @typescript-eslint/parser to enhance code quality and maintainability. Update pnpm-lock.yaml to reflect these changes and ensure consistent package management. 2025-12-10 06:00:04 +01:00
Julien Froidefond
88d377e7b2 Add user deletion functionality: Implement DELETE API endpoint for user management, allowing admins to remove users while preventing self-deletion. Enhance UserManagement component with delete confirmation and error handling for improved user experience. 2025-12-10 05:55:52 +01:00
Julien Froidefond
125e9b345d Enhance user registration and profile management: Update registration API to include bio, character class, and avatar fields. Implement validation for character class and improve error messages. Refactor registration page to support multi-step form with avatar upload and additional profile customization options, enhancing user experience during account creation. 2025-12-10 05:54:06 +01:00
Julien Froidefond
95e580aff6 Refactor event date handling in EventsSection and PlayerStats components: Serialize event dates for consistent formatting and update date display to use localized string representation. Remove profile link from Navigation and integrate it into PlayerStats for improved user experience. 2025-12-10 05:49:44 +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
56de7d6b01 Add upcoming events to seed data: Introduce new workshops on monoids, naming processes, rule design patterns, and wrap refactoring techniques, enhancing the event catalog for better user engagement and learning opportunities. 2025-12-10 05:35:47 +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
e6201120b9 Add user seeding functionality and enhance user profiles: Update prisma.config to include seed script and modify seed.ts to add new users with character classes, avatars, and bios, enriching user profiles and gameplay experience. 2025-12-09 22:15:58 +01:00
Julien Froidefond
0ac6dbd423 Add character selection modal to Leaderboard: Implement a modal for displaying detailed user profiles when a leaderboard entry is clicked. This includes user avatar, rank, character class, score, level, and bio, enhancing user interaction and profile visibility. 2025-12-09 22:11:47 +01:00
Julien Froidefond
b245be3bf4 Enhance user profiles with character class feature: Add character class field to user model and update related API routes, UI components, and validation logic. This update improves user profile customization and leaderboard entries by allowing users to select and display their character class. 2025-12-09 22:03:51 +01:00
Julien Froidefond
3a0dd57bb6 Add bio field to user model and update related components: Enhance leaderboard and profile features by including a bio field in user data. Update API routes, UI components, and validation logic to support bio input and display, improving user profiles and leaderboard entries. 2025-12-09 22:00:19 +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
5ae6cde14e Enhance HeroSection component: Implement mouse-following gradient effect for the game title, improving visual interactivity. Update CSS for better font formatting and add a new title animation class for enhanced text styling. 2025-12-09 14:40:02 +01:00
Julien Froidefond
6dc08dc818 Refactor HeroSection component: Remove particle and orb animations to simplify the code and improve performance. Streamline the component structure while maintaining the existing background image functionality. 2025-12-09 14:32:45 +01:00
Julien Froidefond
b8f4672206 Refactor ProfileForm component: Improve code readability by formatting error messages and UI elements. Add default avatar selection feature for user profile customization, enhancing user experience. Update button labels for clarity during avatar upload and password modification. 2025-12-09 14:26:13 +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
b1f36f6210 Enhance Admin and Profile UI: Update admin page to display user preferences with improved layout and visuals. Add password change functionality to profile page, including form handling and validation. Refactor ImageSelector for better image preview and upload experience. 2025-12-09 14:02:27 +01:00
Julien Froidefond
4e38bd1e8e Refactor Navigation component to improve user experience by adding profile link for user access and enhancing navigation options. 2025-12-09 12:56:24 +01:00
Julien Froidefond
447ef9d076 Add profile link to Navigation component for user access, enhancing navigation options. 2025-12-09 12:46:29 +01:00
Julien Froidefond
f732eb7385 feat: user admin ui : condensed 2025-12-09 12:40:45 +01:00
Julien Froidefond
d1e94f1402 Update HeroSection buttons to use Next.js Link for navigation to events and leaderboard, enhancing user experience and accessibility. Rename game title in Navigation component to 'Peaksys'. 2025-12-09 08:51:24 +01:00
Julien Froidefond
82c557e10c Add Event Management section to admin page, allowing users to manage events alongside preferences and user management. Updated UI to include event button and corresponding display area. 2025-12-09 08:49:47 +01:00
Julien Froidefond
4de3fea776 Add User Management component to admin page, replacing placeholder text with functional UI for user management. 2025-12-09 08:48:08 +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
f57a30eb4d Enhance HeroSection layout by adding flexbox for better alignment and adjusting max-width for larger screens. This improves the overall presentation of the game title. 2025-12-09 06:53:27 +01:00
Julien Froidefond
f62843efcf Refactor Navigation component to use Next.js Link for navigation links, improving performance and accessibility. 2025-12-09 06:50:54 +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