Closed kara22 closed 3 weeks ago
Introduction of Email Selection Method
The ParticulierController
has been updated with a new method named choose_email
. This method aims to set the @france_connect_email
variable.
User Association Process Enhancement
A new associate_user
method has been added to ParticulierController
. This enhancement will obtain the 'fci' object from the session and link it with a user using the provided email.
Added Support for Rendering Partials
An email_field
method, which allows for the rendering of a partial, has been integrated into the ParticulierController
.
Incorporation of FranceConnectController TypeScript Class
A new TypeScript class, FranceConnectController
, has been added, introducing toggleEmailField
and connect
methods to the project.
Installation of Additional View Files
Two new view files have been included; choose_email.html.haml
and confirmation_sent.html.haml
to enhance user experience and functionality.
Language Localization Support
New translations strings were added to the en.yml
and fr.yml
locale files, providing English and French language support for the new views.
Improvements to User Confirmation Process
The associate_user!
method in the FranceConnectInformation
model has been altered. The confirmed_at
variable assignment has been dropped in favor of employing send_confirmation_instructions
on the created user.
Update to Application Routes
The application routes have been updated to incorporate the new methods added in the ParticulierController
and FranceConnectController
.
Attention: Patch coverage is 97.89474%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 84.61%. Comparing base (
0b8212f
) to head (5e2cc74
).
Files with missing lines | Patch % | Lines |
---|---|---|
...ntrollers/france_connect/particulier_controller.rb | 97.26% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
amélioration pour la saisie du mail alternatif (on a un 'helper' pour detecter les typos, autant s'en servir ici pour se faciliter la vie au support) :
0001-feat-france_connect-choose_email-prevent-bad-email.patch
🔴 ETQ usager me connectant avec FC, lorsque je demande a être notifié sur un mail spécifique, si j'utilise un email existant => 500 🟢 ETQ usager me connectant avec FC, lorsque je demande a être notifié sur un mail spécifique, si j'utilise un email existant => je suis encouragé a faire une demande de reset password
0001-feat-particulier-associate_user-catch-email-already-.patch
J'ai l'impression que l'écran pour choisir son email via une connection FC n'est pas clair :
En substance, après une création de compte par email, qui lui est clair :
@kara22 , moyen que tu clarifies le truc ?
L'écran de demande de confirmation d'email etait un peu brut :
Maintenant il brille
C'est un premier bout de revue fonctionnelle (ac un peu de code ou Sim ne s'etait pas trop exprimé). Cependant pas facile de relire la ou il y a encore pas mal de suggestion de Sim : j'attends que vous vous accordiez/mergiez les suggestions déjà ouverte avant de venir en rajouter.
Donc je m'arrete la pour le moment. @kara22, souhaites tu merger les patchs toi même ou je push ? dis moi ce que tu préfère
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Quelques recos ergo/UX (le dernier écran "Confirmez votre adresse / connexion par mail" reste à rediscuter) : UX_Connexion avec FranceConnect.pdf
10425
Etape 1 :
Etape 2 :
Étape 3 (en cas de changement de mail) :
Etape 4 :
Etape 5 : confirmer le mail
Etape 6 : le mail est confirmé