Commit Graph

18 Commits

Author SHA1 Message Date
997b2f1781 feat: add French localization support for character attributes and improve character display logic
All checks were successful
Build Docker Image / build (push) Successful in 1m18s
- Added optional French names, affiliations, origins, and epithets to character records.
- Updated character import logic to handle new French fields.
- Enhanced character search and display components to show French names and epithets based on selected language.
- Modified database schema to include French fields for characters.
- Improved error handling in daily character setup to check for existing characters.
- Refactored components to utilize helper functions for displaying names and attributes based on language.
2026-03-15 22:00:19 +01:00
bd121b7d85 feat(i18n): integrate internationalization for game pages
- Added translation support for various game-related texts in the home, daily, infinite, login, and profile pages.
- Replaced hardcoded French strings with translation keys using the `$t` function.
- Updated titles, descriptions, and button texts to enhance localization.
2026-03-15 20:19:26 +01:00
fd83ac911a refactor: improve type definitions for selectedCharacter and selectedCharacters in WinPanel component 2026-03-14 17:22:44 +01:00
eeccf812cf refactor: improve type definitions for dailyCharacter and selectedCharacters in HintsPanel component 2026-03-14 17:20:26 +01:00
9485d9841c refactor: improve type definitions and event handling in CharacterSearchInput component 2026-03-14 17:18:58 +01:00
31308ef126 refactor: enhance affiliation handling and improve type definitions in GuessHistoryTable component 2026-03-14 17:13:13 +01:00
57a0427e77 refactor: improve bounty extraction logic and enhance character selection in infinite mode 2026-03-14 17:09:33 +01:00
3bd2506c2f refactor: enhance type safety and improve layout structure in GuessHistoryTable component 2026-03-14 16:33:43 +01:00
edab42fd26 fix: improve status display logic in GuessHistoryTable for unknown and null values 2026-03-06 19:03:03 +01:00
2ddcd548a2 fix: enhance affiliation comparison logic in GuessHistoryTable
All checks were successful
Build Docker Image / build (push) Successful in 1m11s
2026-03-05 23:42:48 +01:00
de2c8cdc77 feat: improve search functionality by normalizing input and character names
All checks were successful
Build Docker Image / build (push) Successful in 1m23s
2026-03-03 23:38:07 +01:00
4ee7445b68 feat: refactor WinPanel to use selectedCharacter prop for improved clarity and consistency 2026-03-03 19:11:08 +01:00
6cd18992f6 feat: enhance WinPanel with dynamic attempt messages based on user performance
Some checks failed
Build Docker Image / build (push) Has been cancelled
2026-03-02 23:19:51 +01:00
73593f99a6 feat: add lazy loading to character images in CharacterSearchInput component
All checks were successful
Build Docker Image / build (push) Successful in 1m19s
2026-03-02 22:35:54 +01:00
bf963ee3fd feat: update GuessHistoryTable styles for improved layout and readability
All checks were successful
Build Docker Image / build (push) Successful in 1m23s
2026-03-02 22:00:25 +01:00
cf25a96719 feat: add WinPanel and YesterdayCharacter components; refactor daily game page
- Introduced WinPanel component to display win/loss messages based on game outcome.
- Added YesterdayCharacter component to show the character from the previous day.
- Refactored daily game page to utilize new components for better code organization and readability.
- Updated server-side logic to fetch daily character ID and count wins more efficiently.
- Cleaned up character selection logic and hint availability tracking.
2026-03-02 22:00:25 +01:00
114f6cde7a feat: add daily win recording endpoint, user authentication, and profile management
- Implemented a POST endpoint for recording daily wins in the game.
- Created login and signup functionality with email and password.
- Developed a profile page allowing users to update their profile information, change passwords, and manage active sessions.
- Added a toggle feature for switching between login and signup forms.
- Enhanced the layout by removing the profile button and adjusting the header structure.
2026-03-02 22:00:24 +01:00
b45909f86e feat: add user admin status and profile management
- Updated user schema to include isAdmin field.
- Enhanced authentication hooks to fetch and set user admin status.
- Created ProfileButton component for user profile actions.
- Implemented profile and password update functionality.
- Added session management for user accounts.
- Developed login and signup pages with form handling.
- Introduced layout server for user session data.
- Updated daily page to reflect character changes.
2026-03-02 22:00:24 +01:00