Skip to content

Fix/competences valeur type#1

Merged
godetremy merged 3 commits intoBlocksHub:mainfrom
Lynx6319:fix/competences-valeur-type
Apr 1, 2026
Merged

Fix/competences valeur type#1
godetremy merged 3 commits intoBlocksHub:mainfrom
Lynx6319:fix/competences-valeur-type

Conversation

@Lynx6319
Copy link
Copy Markdown
Contributor

@Lynx6319 Lynx6319 commented Mar 30, 2026

G mis a jour le markskill.ts pour qu'il prenne en charge les différentes valeurs de ed et que les pastilles de competences fonctionne.

update markskill.ts so it can accept the skills different states
update so it won't break if ed is not using a string
Copilot AI review requested due to automatic review settings March 30, 2026 16:36
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the MarkSkill type to reflect the possible competency “valeur” values returned by EcoleDirecte, so competency badges/pills can be handled correctly downstream.

Changes:

  • Broadened MarkSkill.valeur from a single literal to a union of supported level values (1–4), covering both numeric and string forms.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@godetremy godetremy merged commit b2ec892 into BlocksHub:main Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants