Skip to content

Conversation

hbalty
Copy link
Contributor

@hbalty hbalty commented Sep 25, 2025

No description provided.

@revu-bot revu-bot bot requested a review from revu-bot September 25, 2025 14:51
Copy link
Collaborator

@revu-bot revu-bot left a comment

Choose a reason for hiding this comment

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

This PR implements a DSFR (Design System of the French Republic) redesign for the login page in the portail-usagers package. The changes include significant UI/UX improvements with new components, styling, and layout. However, there are several critical issues that need attention: duplicate module imports in the shared module, debugging code left in production, and potential accessibility concerns with form validation.

};
}

public onClick(event: Event) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Critical: Debug code with console.log should not be committed to production. This method appears to be leftover debugging code and should be removed entirely.

<dsfr-form-input
appUppercase
inputId="login"
type="email"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Important: The input type is set to 'email' but the field is labeled as 'identifiant' (identifier). This creates a semantic mismatch and may cause accessibility issues. If this field accepts non-email identifiers, use type='text' instead.

Suggested change
type="email"
type="text"

[disabled]="this.mode === 'login-change-password'"
[message]="
f.login.dirty && f.login.errors
? 'Veuillez vérifier l\'identifiant. Celui-ci se trouve sur le document que vous à remit la structure.'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Important: The error message contains a grammatical error that affects user experience. 'que vous à remit' should be 'que vous a remis'.

Suggested change
? 'Veuillez vérifier l\'identifiant. Celui-ci se trouve sur le document que vous à remit la structure.'
? 'Veuillez vérifier l\'identifiant. Celui-ci se trouve sur le document que vous a remis la structure.'

Copy link

@hbalty hbalty marked this pull request as draft September 25, 2025 14:53
@tokenbureau
Copy link

tokenbureau bot commented Sep 25, 2025

🎉 Deployment for commit c2fdaa8 :

Ingresses
Docker images
  • 📦 docker pull harbor.fabrique.social.gouv.fr/domifa/domifa/backend:sha-c2fdaa86249818b8497ca07f30866b2d813d1bc6
  • 📦 docker pull harbor.fabrique.social.gouv.fr/domifa/domifa/frontend:sha-c2fdaa86249818b8497ca07f30866b2d813d1bc6
  • 📦 docker pull harbor.fabrique.social.gouv.fr/domifa/domifa/portail-admins:sha-c2fdaa86249818b8497ca07f30866b2d813d1bc6
  • 📦 docker pull harbor.fabrique.social.gouv.fr/domifa/domifa/portail-usagers:sha-c2fdaa86249818b8497ca07f30866b2d813d1bc6
Debug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants