Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TECH] Ajouter cappedTubes requirement (PIX-???) #11421

Draft
wants to merge 25 commits into
base: pix-16445-refacto-quests
Choose a base branch
from

Conversation

laura-bergoens
Copy link
Member

@laura-bergoens laura-bergoens commented Feb 14, 2025

🥞 Problème

🥓 Proposition

🧃 Remarques

On peut séparer les deux derniers commits du reste pour avoir un truc mergeable

😋 Pour tester

@laura-bergoens laura-bergoens added the team-noa(h) noa - noah 🎾 label Feb 14, 2025
@laura-bergoens laura-bergoens self-assigned this Feb 14, 2025
@pix-bot-github
Copy link

Une fois les applications déployées, elles seront accessibles via les liens suivants :

Les variables d'environnement seront accessibles via les liens suivants :

for (const { tubeId, level } of cappedTubes) {
sumTotal += level; // ceci est très cavalier, je présuppose que le référentiel n'a aucun trou \o/
const dataForTubeId = this.#dataByTubeId[tubeId] ?? [];
sumValidated += dataForTubeId.filter(({ isValidated, difficulty }) => isValidated && difficulty <= level).length;
Copy link
Member Author

Choose a reason for hiding this comment

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

edge case qui existe : possible d'avoir 2 ke qui pointent vers un acquis de meme tube et de meme niveau, mais pas le meme id d'acquis
il faut donc idéalement compter que "une" fois les acquis de même niveau

@laura-bergoens laura-bergoens force-pushed the tech-everything-is-a-requirement-and-adding-capped-tube-requirement branch from 091e833 to 5445cd1 Compare February 14, 2025 13:54
@laura-bergoens laura-bergoens force-pushed the pix-16375-add-eligibility-requirement-that-checks-if-participation-has-ended branch from b067a11 to 7719619 Compare February 17, 2025 09:41
@laura-bergoens laura-bergoens force-pushed the tech-everything-is-a-requirement-and-adding-capped-tube-requirement branch from 5445cd1 to de0770e Compare February 17, 2025 09:48
frinyvonnick and others added 23 commits February 18, 2025 15:50
…inations

Co-authored-by: Yvonnick Frin <[email protected]>
Co-authored-by: Xavier Carron <[email protected]>
…le truc)

Co-authored-by: Yvonnick Frin <[email protected]>
Co-authored-by: Xavier Carron <[email protected]>
Co-authored-by: Yvonnick Frin <[email protected]>
Co-authored-by: Xavier Carron <[email protected]>
@xav-car xav-car force-pushed the tech-everything-is-a-requirement-and-adding-capped-tube-requirement branch from de0770e to c945fac Compare February 18, 2025 15:04
@xav-car xav-car changed the base branch from pix-16375-add-eligibility-requirement-that-checks-if-participation-has-ended to pix-16445-refacto-quests February 18, 2025 15:04
@xav-car xav-car changed the title [TECH] Les prérequis d'éligibilité et de succès sont de même type et interchangeables + essai d'ajouter cappedTubes requirement (PIX-???) [TECH] Ajouter cappedTubes requirement (PIX-???) Feb 18, 2025
@laura-bergoens laura-bergoens force-pushed the pix-16445-refacto-quests branch from 33312a3 to 6cadbff Compare February 19, 2025 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-noa(h) noa - noah 🎾
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants