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:
@@ -48,6 +48,8 @@ export interface UserProfile {
|
||||
export interface SkillEvaluation {
|
||||
skillId: string;
|
||||
level: SkillLevel;
|
||||
canMentor?: boolean;
|
||||
wantsToLearn?: boolean;
|
||||
}
|
||||
|
||||
export interface CategoryEvaluation {
|
||||
|
||||
Reference in New Issue
Block a user