-
Notifications
You must be signed in to change notification settings - Fork 24
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
UX/UI : Modification filtres sur la liste des salariés et PASS IAE et sur la liste des fiches salarié ASP #4083
Conversation
8aa8a8f
to
cbbb752
Compare
🥁 La recette jetable est prête ! 👉 Je veux tester cette PR ! |
cbbb752
to
fa9d8c2
Compare
641cbb5
to
08d5faf
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.
Joli !
J’ai réécrit le JS pour le simplifier, virer un console.log() qui trainait et le faire bien fonctionner avec HTMX.
STR 1:
- Se connecter en tant que l’EI
- http://localhost:8000/employee_record/list
- Appuyer sur « Effacer tout »
Le fait d’enlever les filtres fait qu’on ne voit plus aucune fiche salarié. On pourrait rediriger le bouton « Effacer tout » vers la vue nouvelles fiches salariées, qui est la vue par défaut. Ou alors, avoir toutes les FS, ou encore ne pas afficher le bouton « Effacer tout ».
J’attire ton attention sur le fait que le nouveau JS affiche les filtres actifs tout le temps (pas seulement après un |
Oui, merci pour l'amélioration 👍 |
8f250be
to
3cedf76
Compare
@francoisfreitag J'ai supprimé le bouton "Effacer tout" et mis du propre dans les commits. |
3cedf76
to
f119e19
Compare
f119e19
to
d8a8a22
Compare
d8a8a22
to
25d2485
Compare
Effectivement, c’est réglé ! :) |
Encore un petit "aprrove" et on est bon |
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.
STR :
- Connecté en tant que EI
- http://localhost:8000/employee_record/list?status=SENT&order=-hiring_start_at
- Changer le tri pour « la plus ancienne d’abord »
La page se recharge, le tri est appliqué, mais l’UI affiche toujours « la plus récente d’abord ».
25d2485
to
824da9d
Compare
Ah oui effectivement, je n'avais pas capté. |
824da9d
to
4f2b107
Compare
4f2b107
to
754289f
Compare
754289f
to
96a45c9
Compare
The approval expiry field value for ALL changed from "0" to "". That allows the JS for `has-selected-item` to identify the “empty” option. It also allowed simplifying the form.
96a45c9
to
ca86c6e
Compare
🤔 Pourquoi ?
Évolutions UI
🍰 Comment ?
Maj des templates, ajout de js
💻 Captures d'écran
Avant
Apres