Julien Froidefond julienfroidefond
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-10 06:01:39 +01:00
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.
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.
Compare 2 commits »
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-10 05:55:55 +01:00
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.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-10 05:54:10 +01:00
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.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-10 05:49:49 +01:00
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.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-10 05:48:28 +01:00
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.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-10 05:45:30 +01:00
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.
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.
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.
Compare 3 commits »
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-10 05:32:27 +01:00
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.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-10 05:27:38 +01:00
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.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-09 22:18:38 +01:00
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.
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.
Compare 2 commits »
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-09 22:16:02 +01:00
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.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-09 22:11:51 +01:00
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.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-09 22:06:09 +01:00
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.
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.
Compare 2 commits »
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-09 21:55:46 +01:00
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.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-09 21:53:17 +01:00
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.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-09 14:40:05 +01:00
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.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-09 14:32:51 +01:00
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.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-09 14:26:18 +01:00
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.
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-09 14:11:52 +01:00
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.
julienfroidefond created branch main in julienfroidefond/got-gaming 2025-12-09 14:03:37 +01:00
julienfroidefond pushed to main at julienfroidefond/got-gaming 2025-12-09 14:03:37 +01:00
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.
4e38bd1e8e Refactor Navigation component to improve user experience by adding profile link for user access and enhancing navigation options.
447ef9d076 Add profile link to Navigation component for user access, enhancing navigation options.
f732eb7385 feat: user admin ui : condensed
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'.
Compare 10 commits »