-
Notifications
You must be signed in to change notification settings - Fork 103
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
register enhancement #2575
register enhancement #2575
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #2575 +/- ##
===========================================
- Coverage 68.02% 67.94% -0.08%
===========================================
Files 84 84
Lines 7389 7397 +8
===========================================
Hits 5026 5026
- Misses 2363 2371 +8
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
c575742
to
5c7fdd8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est peu être l'occasion de rajouter des tests
@@ -10,6 +10,10 @@ | |||
<li><b>Prénom :</b> {{user.prenom_role}}</li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Voir si ce n'est pas plus pertinent d'avoir un champ organisme basé sur bib_organisme + champ texte autre organisme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pour l'instant on reste sur un champs texte dans le formulaire de création de compte.
Mais oui, ça serait bien à terme.
if (this.config.ACCOUNT_MANAGEMENT.ACCOUNT_FORM.length > 0) { | ||
finalForm['champs_addi'] = this.dynamicFormGroup.value; | ||
} | ||
// ajout de organisme aux champs addi | ||
finalForm['champs_addi']['organisme'] = this.form.value['organisme']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enlever organisme des champs prédéfinis et le mettre dans les champs additionnels
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Les champs additionels sont optionnels et à définir dans la config
c'est pas mal au final de garder ce champs dans les champs prédéfinis
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oui on peut se demander si au final on n'en fait pas juste un champs additionnel optionnel et que chacun se le met ou pas...
Mais c'est vrai aussi que c'est un champs classique qui est pertinent dans toute demande de création de compte, à priori.
Donc ça me va de le laisser de base.
Squash commits from PR #2575. See: https://github.com/PnX-SI/GeoNature/pull/2575/commits Original authors: @joelclems, @TheoLechemia.
@jpm-cbna une erreur ? |
Inscription