Skip to content

UX/UI : Filtrer les fiches salarié de manière plus dynamique#3993

Merged
francoisfreitag merged 1 commit into
masterfrom
ff/htmx-fs-real
May 2, 2024
Merged

UX/UI : Filtrer les fiches salarié de manière plus dynamique#3993
francoisfreitag merged 1 commit into
masterfrom
ff/htmx-fs-real

Conversation

@francoisfreitag
Copy link
Copy Markdown
Member

@francoisfreitag francoisfreitag commented Apr 29, 2024

🤔 Pourquoi ?

Faciliter la transition vers la nouvelle interface.

🏝️ Comment tester

from tests.employee_record.factories import EmployeeRecordFactory

EmployeeRecordFactory.create_batch(100, job_application__to_company_id=3850)
  1. Se connecter en tant que l’EI Garage Martinet
  2. Depuis le tableau de bord, suivre le lien “Gérer les fiches salarié (ASP)”
  3. Vérifier le fonctionnement des filtres
  4. Vérifier le fonctionnement de la pagination
  5. Vérifier le fonctionnement du tri

@francoisfreitag francoisfreitag added the modifié Modifié dans le changelog. label Apr 29, 2024
@francoisfreitag francoisfreitag self-assigned this Apr 29, 2024
@francoisfreitag francoisfreitag marked this pull request as draft April 29, 2024 16:01
@francoisfreitag francoisfreitag marked this pull request as ready for review April 29, 2024 16:29
@hellodeloo hellodeloo added the 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC label Apr 30, 2024
@github-actions
Copy link
Copy Markdown

🥁 La recette jetable est prête ! 👉 Je veux tester cette PR !

Copy link
Copy Markdown
Contributor

@hellodeloo hellodeloo left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@francoisfreitag francoisfreitag force-pushed the ff/htmx-fs-real branch 2 times, most recently from f48aef5 to a47f689 Compare April 30, 2024 06:59
Copy link
Copy Markdown
Contributor

@xavfernandez xavfernandez left a comment

Choose a reason for hiding this comment

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

Merci 🙏

@notion-workspace
Copy link
Copy Markdown

@francoisfreitag francoisfreitag force-pushed the ff/htmx-fs-real branch 2 times, most recently from f567750 to 1fac86f Compare May 2, 2024 09:45
@francoisfreitag
Copy link
Copy Markdown
Member Author

francoisfreitag commented May 2, 2024

Je viens d’ajouter un fixup pour un cas qu’on avait raté : la màj des badges de compte de fiches salarié et le select2 des salariés. Si une nouvelle embauche ou une nouvelle FS est ajoutée pendant que l’utilisateur filtre, elle n’apparaitra pas sur la page.
1fac86f

Copy link
Copy Markdown
Contributor

@xavfernandez xavfernandez left a comment

Choose a reason for hiding this comment

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

Bien vu 👍
Est-ce qu'on souhaite rajouter un test pour ce cas-là ?

@francoisfreitag
Copy link
Copy Markdown
Member Author

francoisfreitag commented May 2, 2024

Bien vu 👍 Est-ce qu'on souhaite rajouter un test pour ce cas-là ?

Bien entendu, c’est pour ça que j’ai ajouté test_htmx_new_employee_record_updates_badge_count dans le même commit ;)

Edit : je me suis foiré, le test a été ajouté avec 58fdc80 🤦

Rewrote the sort button dropdown to use native events and not jQuery
events, so that HTMX can listen to its change events.
Copy link
Copy Markdown
Contributor

@xavfernandez xavfernandez left a comment

Choose a reason for hiding this comment

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

👍

@francoisfreitag francoisfreitag added this pull request to the merge queue May 2, 2024
Merged via the queue into master with commit cc25520 May 2, 2024
@francoisfreitag francoisfreitag deleted the ff/htmx-fs-real branch May 2, 2024 13:09
@leo-naeka leo-naeka changed the title UX/UI : Filtrer les fiches salariés de manière plus dynamique UX/UI : Filtrer les fiches salarié de manière plus dynamique Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC modifié Modifié dans le changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants