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] Configuration de l'oralisation par élève pour les écoles (PIX-13753) #10346

Merged

Conversation

yaf
Copy link
Member

@yaf yaf commented Oct 16, 2024

🦄 Problème

L'oralisation ne peut pas toujours être utilisée (trop de bruit dans une classe où il y aurait plusieurs ordis sans casque dans une même pièce par exemple).

🤖 Proposition

Afficher si l'option d'oralisation a été activée ou désactivée pour chaque élève d'une classe.

🌈 Remarques

Nous avons utilisé l'interface générique (lié aux imports) pour faire ces modifications. Nous avons dû ajouter des tests pour masquer les informations de campagnes.

💯 Pour tester

Afficher les participants dans une organisation SCO-1D. Tous les participants ont la colonne "Lecture de la consigne" à "Désactivée" sauf 3 élèves dont le prénom contient 'oralisé' pour lesquels la feature est associée dans les seeds.

@yaf yaf changed the title Pix 13753 add oralizing feature for mission learner [TEATURE] Configure l'oralisation pour une organisation de type école (primaire) (PIX-13753) Oct 16, 2024
@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 :

@yaf yaf changed the title [TEATURE] Configure l'oralisation pour une organisation de type école (primaire) (PIX-13753) [FEATURE] Configure l'oralisation pour une organisation de type école (primaire) (PIX-13753) Oct 16, 2024
@aurelie-crouillebois aurelie-crouillebois force-pushed the pix-13753-add-oralizing-feature-for-mission-learner branch from 50cbb2b to 08950a3 Compare October 16, 2024 09:17
@rouxxi rouxxi force-pushed the pix-13753-add-oralizing-feature-for-mission-learner branch from d49ca0c to cde9df8 Compare October 16, 2024 13:35
@yaf yaf force-pushed the pix-13753-add-oralizing-feature-for-mission-learner branch 2 times, most recently from 92a7552 to faa0314 Compare October 18, 2024 13:59
@aurelie-crouillebois aurelie-crouillebois force-pushed the pix-13753-add-oralizing-feature-for-mission-learner branch from faa0314 to afa9365 Compare October 18, 2024 14:48
@rouxxi rouxxi force-pushed the pix-13753-add-oralizing-feature-for-mission-learner branch from afa9365 to 2f81124 Compare October 21, 2024 10:15
@yaf yaf changed the title [FEATURE] Configure l'oralisation pour une organisation de type école (primaire) (PIX-13753) [FEATURE] Configure l'oralisation pour une organisation de type école primaire (PIX-13753) Oct 21, 2024
@aurelie-crouillebois aurelie-crouillebois force-pushed the pix-13753-add-oralizing-feature-for-mission-learner branch from 9b4775f to 35dbfe8 Compare October 21, 2024 15:06
@aurelie-crouillebois aurelie-crouillebois marked this pull request as ready for review October 21, 2024 15:06
@aurelie-crouillebois aurelie-crouillebois requested review from a team as code owners October 21, 2024 15:06
@rouxxi rouxxi force-pushed the pix-13753-add-oralizing-feature-for-mission-learner branch 2 times, most recently from 9e9bf65 to 86a5e7b Compare October 21, 2024 15:38
@rouxxi rouxxi closed this Oct 21, 2024
@rouxxi rouxxi reopened this Oct 21, 2024
@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 :

@yaf yaf added Func Review OK PO validated functionally the PR and removed 👀 Func Review Needed Need PO validation for this functionally labels Oct 24, 2024
Copy link
Contributor

@Alexandre-Monney Alexandre-Monney left a comment

Choose a reason for hiding this comment

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

👍 🐈‍⬛

Copy link
Contributor

@machestla machestla left a comment

Choose a reason for hiding this comment

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

Tech review ok ✅

api/src/shared/domain/constants.js Outdated Show resolved Hide resolved
api/src/shared/domain/constants.js Outdated Show resolved Hide resolved
};

async function _addOralizationInformations({
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggestion: déplacer cette logique dans le repository pour qu'il aille chercher des infos supplémentaires et les mette dans le model. (non-blocking)

Copy link
Member Author

Choose a reason for hiding this comment

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

J'ai l'impression que ça ajouterait de la logique métier dans le code du repo, ça me fait bizarre. Nous pourrions extraire ces bouts de code dans un service éventuellement, tu en penses quoi ?

Ou bien par injection du décorateur 🤔 nous avons déjà fait ça dans un autre usecase, pour pixJunior, dans l'API je crois ...

Copy link
Member Author

Choose a reason for hiding this comment

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

je vais pousser comme ça pour le moment, en ajoutant un commentaire dans le code qui pointe vers cette conversation...

aurelie-crouillebois and others added 17 commits October 28, 2024 09:08
Co-Authored-By: Gwenvaël Laskar <[email protected]>
Co-Authored-By: Aurélie Crouillbois <[email protected]>
@pix-service-auto-merge pix-service-auto-merge force-pushed the pix-13753-add-oralizing-feature-for-mission-learner branch from 604152f to 874644f Compare October 28, 2024 09:08
@pix-service-auto-merge pix-service-auto-merge merged commit 701cc8b into dev Oct 28, 2024
7 of 8 checks passed
@pix-service-auto-merge pix-service-auto-merge deleted the pix-13753-add-oralizing-feature-for-mission-learner branch October 28, 2024 09:14
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.

9 participants