Commit Graph

13 Commits

Author SHA1 Message Date
Julien Froidefond
72b653de19 feat: refactor skills API and database schema
- Replaced file-based skill category loading with API calls in the GET and POST methods of the skills route.
- Added new `SkillsService` for handling skill category operations.
- Updated SQL initialization script to create `skill_categories`, `skills`, and `skill_links` tables with appropriate relationships.
- Enhanced `ApiClient` with methods for loading skill categories and creating new skills, improving API interaction.
- Introduced error handling for skill category creation and loading processes.
2025-08-21 09:55:35 +02:00
Julien Froidefond
345ff5baa0 feat: adding teams in PG 2025-08-21 09:44:29 +02:00
Julien Froidefond
4e82a6d860 feat: add PostgreSQL support and enhance evaluation loading
- Added `pg` and `@types/pg` dependencies for PostgreSQL integration.
- Updated `useEvaluation` hook to load user evaluations from the API, improving data management.
- Refactored `saveUserEvaluation` and `loadUserEvaluation` functions to interact with the API instead of localStorage.
- Introduced error handling for profile loading and evaluation saving to enhance robustness.
- Added new methods for managing user profiles and evaluations, including `clearUserProfile` and `loadEvaluationForProfile`.
2025-08-21 08:46:52 +02:00
Julien Froidefond
488684fd9b feat: dashboard 2025-08-21 08:23:24 +02:00
Julien Froidefond
328a1b68a1 Add mentor and learning status updates to skill evaluation
- Introduced `updateSkillMentorStatus` and `updateSkillLearningStatus` functions to manage mentor and learning preferences for skills.
- Updated `SkillEvaluationCard` to include buttons for toggling mentor and learning statuses with corresponding icons.
- Enhanced `SkillEvaluationGrid` and `SkillEvaluation` components to pass new status update handlers.
- Modified `SkillEvaluation` type to accommodate new properties for mentor and learning status.
2025-08-20 17:04:19 +02:00
Julien Froidefond
ab9c35c276 Add score color logic and evaluation migration
- Introduced `getScoreColors` function to dynamically set badge colors based on skill scores for better visual feedback.
- Updated HomePage to display skill evaluation percentages with corresponding colors.
- Implemented `migrateEvaluation` function to ensure existing evaluations are updated with new skill categories, enhancing data integrity.
- Refactored data loading in `loadSkillCategories` and `loadTeams` to fetch from API endpoints, improving flexibility and maintainability.
2025-08-20 16:50:30 +02:00
Julien Froidefond
38d8e7ec40 Refactor data loading to use static JSON imports
- Replaced dynamic fetch calls with direct imports of skill category and team data from JSON files for improved performance and reliability.
- Removed obsolete JSON files from the public/data directory to clean up the codebase.
- Updated loadSkillCategories and loadTeams functions to return imported data directly.
2025-08-20 16:26:12 +02:00
Julien Froidefond
553ee39728 Refactor TechIcon component for improved readability
- Split conditional check for Font Awesome icon into multiple lines for better clarity.
- Maintained existing functionality while enhancing code maintainability.
2025-08-20 16:24:37 +02:00
Julien Froidefond
f74d4d3e87 Add Font Awesome icons and refactor tech icon handling
- Added Font Awesome dependencies for enhanced icon support.
- Refactored tech icon components to utilize Font Awesome icons instead of custom SVGs.
- Updated skill data files to include icon properties for various technologies.
- Removed obsolete tech icon files to streamline the codebase.
2025-08-20 16:24:07 +02:00
Julien Froidefond
e6d4bbe13d Refactor radar chart and improve UI elements
- Updated radar chart to use abbreviated category labels for better readability.
- Enhanced chart visibility with improved grid and axis styling.
- Added a gradient background to the radar area for a more polished look.
- Simplified links in JSON files for backend, cloud, and devops skills.
- Adjusted HomePage text for clarity and consistency.
2025-08-20 16:10:28 +02:00
Julien Froidefond
5c510ebd07 Add skill removal functionality and enhance UI components
- Integrated onRemoveSkill functionality in SkillEvaluation, SkillSelector, and SkillEvaluationCard components for better skill management.
- Updated UI to improve user experience when removing skills, including tooltip descriptions and styling adjustments.
- Added new skills to backend, devops, frontend, and mobile JSON files for comprehensive skill coverage.
2025-08-20 16:06:09 +02:00
Julien Froidefond
fe63f9592a Enhance skill evaluation UI with category icons and URL state management
- Added category icons to the skill evaluation components for better visual representation.
- Implemented URL parameter handling in SkillEvaluation to maintain selected category state across navigation.
- Improved the HomePage layout with expandable skill categories and enhanced user interaction.
- Updated skill data files to include icon properties for each category.
2025-08-20 15:52:59 +02:00
Julien Froidefond
09d2c5cbe1 init 2025-08-20 15:43:24 +02:00