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.
This commit is contained in:
Julien Froidefond
2025-08-20 16:06:09 +02:00
parent fe63f9592a
commit 5c510ebd07
22 changed files with 1758 additions and 42 deletions

View File

@@ -5,12 +5,14 @@ interface SkillEvaluationGridProps {
currentCategory: SkillCategory;
currentEvaluation: CategoryEvaluation;
onUpdateSkill: (category: string, skillId: string, level: SkillLevel) => void;
onRemoveSkill: (category: string, skillId: string) => void;
}
export function SkillEvaluationGrid({
currentCategory,
currentEvaluation,
onUpdateSkill,
onRemoveSkill,
}: SkillEvaluationGridProps) {
const getSkillLevel = (skillId: string): SkillLevel => {
const skillEval = currentEvaluation?.skills.find(
@@ -52,6 +54,9 @@ export function SkillEvaluationGrid({
onUpdateSkill={(skillId, level) =>
onUpdateSkill(currentCategory.category, skillId, level)
}
onRemoveSkill={(skillId) =>
onRemoveSkill(currentCategory.category, skillId)
}
/>
);
})}