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.
This commit is contained in:
Julien Froidefond
2025-08-20 17:04:19 +02:00
parent ab9c35c276
commit 328a1b68a1
6 changed files with 186 additions and 8 deletions

View File

@@ -48,6 +48,8 @@ export interface UserProfile {
export interface SkillEvaluation {
skillId: string;
level: SkillLevel;
canMentor?: boolean;
wantsToLearn?: boolean;
}
export interface CategoryEvaluation {