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

[FEATURE] Pix Junior - Utiliser les options de validation de challenge provenant de Pix Editor #11296

Merged

Conversation

aurelie-crouillebois
Copy link
Contributor

@aurelie-crouillebois aurelie-crouillebois commented Jan 31, 2025

🥞 Problème

Dans Pix Junior, les données focus et timer sont détournées de leur usage pour gérer des cas spécifiques de validation des épreuves :

les leçons contenant uniquement des vidéos ou des fiches récapitulatives sans besoin de validation
les épreuves embeds avec validation interne comme les gdevelop ou les embeds pixwriter de mise en forme.

🥓 Proposition

Utiliser les 2 nouvelles colonnes dans le challenge contenant ces informations.

😋 Pour tester

Non régression :
Les épreuves indiquées comme focus continuent à s'afficher sans bouton de vérification.
Les épreuves contenant un timer continuent de bénéficier d'une validation automatique.

Test de l'utilisation des nouvelles infos :
Modifier une épreuve contenant le flag focus, et positionne le flag noValidationNeeded. Le comportement reste inchangé.
Modifier une épreuve contenant un timer, et positionne le flag hasEmbedInternalValidation. Le comportement reste inchangé.

@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 :

@aurelie-crouillebois aurelie-crouillebois force-pushed the pix-16315-use-new-challenges-column-in-pix-junior branch from 475f537 to 6dc13df Compare January 31, 2025 14:35
@aurelie-crouillebois aurelie-crouillebois changed the title [FEATURE] Pix Junior - Utiliser les options de validation de challenge provenant de Pix Editor [Ne pas merger][FEATURE] Pix Junior - Utiliser les options de validation de challenge provenant de Pix Editor Jan 31, 2025
@aurelie-crouillebois aurelie-crouillebois added 👀 Tech Review Needed 👀 Func Review Needed Need PO validation for this functionally labels Jan 31, 2025
@aurelie-crouillebois aurelie-crouillebois force-pushed the pix-16315-use-new-challenges-column-in-pix-junior branch from 6dc13df to e3f650e Compare January 31, 2025 17:31
@aurelie-crouillebois aurelie-crouillebois changed the title [Ne pas merger][FEATURE] Pix Junior - Utiliser les options de validation de challenge provenant de Pix Editor [FEATURE] Pix Junior - Utiliser les options de validation de challenge provenant de Pix Editor Feb 4, 2025
@rouxxi rouxxi added the Func Review OK PO validated functionally the PR label Feb 4, 2025
Comment on lines +47 to +48
hasEmbedInternalValidation: true,
noValidationNeeded: true,
Copy link
Contributor

@rouxxi rouxxi Feb 4, 2025

Choose a reason for hiding this comment

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

Ce cas n'existe pas ?
Il ne vaut pas mieux faire des true/false ou false/true ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

L'idée était surtout de faire des tests techniques (passage de false à true ou pas...).
Les challenges ne sont pas "réalistes", ici, c'est un QCU avec autoReply à true par exemple.

Comment on lines +88 to 90
hasEmbedInternalValidation: true,
noValidationNeeded: true,
};
Copy link
Contributor

Choose a reason for hiding this comment

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

même question

Comment on lines +537 to +539
hasEmbedInternalValidation: true,
noValidationNeeded: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Même question

Comment on lines +592 to +594
hasEmbedInternalValidation: true,
noValidationNeeded: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Même question

@pix-service-auto-merge pix-service-auto-merge force-pushed the pix-16315-use-new-challenges-column-in-pix-junior branch from e3f650e to 27b37a3 Compare February 4, 2025 17:00
@pix-service-auto-merge pix-service-auto-merge merged commit 33fef72 into dev Feb 4, 2025
7 of 10 checks passed
@pix-service-auto-merge pix-service-auto-merge deleted the pix-16315-use-new-challenges-column-in-pix-junior branch February 4, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants