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

story #13140 : new datepicker component for design system #1970

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

hazco75
Copy link
Contributor

@hazco75 hazco75 commented Aug 1, 2024

Description

Nouveau composant datepicker pour l'instant destiné pour le design-system

Type de changement

Indiquer le ou les types de changements

  • Nouveau Code

Contributeur

  • VAS (Vitam Accessible en Service)

@GiooDev GiooDev added this to the IT 139 milestone Aug 1, 2024
Copy link
Contributor

@marob marob left a comment

Choose a reason for hiding this comment

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

Si le datepicker est disabled, on ne devrait pas pouvoir avoir de focus
image

Il manque un effet "hover" sur la sélection des années/mois/jour
image

Le composant ne gère pas le cas "required".

Si on saisit une valeur incorrecte, le label et la valeur s'affichent l'une sur l'autre (et aucune erreur ne s'affiche) :
image

@GiooDev GiooDev modified the milestones: IT 139, IT 140 Aug 9, 2024
@hazco75 hazco75 force-pushed the story_13140_new_datepicker branch from d1116ef to 0cf74ea Compare August 9, 2024 12:40
Copy link
Contributor

@marob marob left a comment

Choose a reason for hiding this comment

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

La date saisie n'est pas reflétée (saisie : 2021, en surbrillance : 2024)
image

Il est possible de basculer sur un écran de saisie de jour en cliquant sur l'année, même lorsque le datepicker est configuré pour saisir seulement une année ou année/mois
image

En navigation au clavier, il n'y a pas de surbrillance des années/mois/jours sur lesquels on a le "focus".

Un clic sur le mat-hint ne devrait pas focus le champ.

Le curseur de la souris n'est pas le même en hover sur l'input et sur "Date" ou les bords du champ. Il faudrait que ce soit un cursor: text partout.

@hazco75 hazco75 force-pushed the story_13140_new_datepicker branch from 932851c to 4b12593 Compare August 13, 2024 10:53
@hazco75 hazco75 merged commit bcd2ce1 into develop Aug 13, 2024
7 of 8 checks passed
@hazco75 hazco75 deleted the story_13140_new_datepicker branch August 13, 2024 12:12
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.

4 participants