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] Pré-remplir le champ d'un QROC (PIX-6411) #5853

Merged
merged 3 commits into from Mar 29, 2023

Conversation

Jeremiejade
Copy link
Contributor

@Jeremiejade Jeremiejade commented Mar 22, 2023

🦄 Problème

Le champ d'un QROC ne peut pas avoir de valeur par défaut

🤖 Proposition

Permettre d'avoir une valeur par défaut pour les input d'une épreuve. Afin de produire un nouvelle modalité d'épreuves.

🌈 Remarques

La valeur par défaut est supportée dans les QROC pour les formats suivants :

  • phrase
  • paragraphe
  • nombre
  • mots
  • petit

Le format select ne la supporte pas.

💯 Pour tester

Petit : recNanzf3oEjJ7vA9
Mots : recnbJ6xTrDyv81S5
Phrase : recnEEe11E7sszBQO
Nombre recnGD3FuxOE5tZ0E
Paragraphe : rec1EOfDHPZ0Pvksy

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

@nlepage nlepage marked this pull request as draft March 23, 2023 09:05
@nlepage nlepage force-pushed the pix-6411-qroc-default-value branch 2 times, most recently from ca06818 to 2e401aa Compare March 23, 2023 11:12
@nlepage nlepage marked this pull request as ready for review March 23, 2023 14:42
@Jeremiejade Jeremiejade changed the title [FEATURE] Pré-remplir le champ d'un QROC ou QROCM (PIX-6411) [FEATURE] Pré-remplir le champ d'un QROC (PIX-6411) Mar 24, 2023
Copy link
Member

@nlepage nlepage left a comment

Choose a reason for hiding this comment

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

LGTM

mon-pix/app/utils/proposals-parser/response-block.js Outdated Show resolved Hide resolved
mon-pix/app/components/challenge-item-qroc.js Outdated Show resolved Hide resolved
mon-pix/app/components/challenge-item-qroc.js Outdated Show resolved Hide resolved
@nlepage nlepage force-pushed the pix-6411-qroc-default-value branch from 3360992 to b291255 Compare March 27, 2023 13:28
nlepage and others added 3 commits March 29, 2023 08:33
Co-authored-by: Alix Deschamps <alix.deschamps@pix.fr>
Co-authored-by: Jérémie Jadé <jeremie.jade@pix.fr>
Co-authored-by: Julie Planque <julie.planque@pix.fr>
Co-authored-by: Lucas Herrador <lucas.herrador@pix.fr>
Co-authored-by: Alix Deschamps <alix.deschamps@pix.fr>
Co-authored-by: Julie Planque <julie.planque@pix.fr>
@pix-service-auto-merge pix-service-auto-merge merged commit 891c5ea into dev Mar 29, 2023
5 checks passed
@pix-service-auto-merge pix-service-auto-merge deleted the pix-6411-qroc-default-value branch March 29, 2023 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Func Review OK PO validated functionally the PR 🚀 Ready to Merge team-contenu PR relatives à l'équipe Contenu Tech Review OK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants