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

GPS: Transformer la liste des bénéficiaires en tableau #5359

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

tonial
Copy link
Contributor

@tonial tonial commented Jan 8, 2025

🤔 Pourquoi ?

https://www.notion.so/gip-inclusion/Transformer-la-liste-des-b-n-ficiaires-en-tableau-14d5f321b604807db116cdd0197dc5ec?pvs=4

🍰 Comment ?

Décrivez en quelques mots la solution retenue et mise en oeuvre, les difficultés ou problèmes rencontrés. Attirez l'attention sur les décisions d'architecture ou de conception importantes.

🚨 À vérifier

  • Mettre à jour le CHANGELOG_breaking_changes.md ?

🏝️ Comment tester

Les instructions pour reproduire le problème, les profils de test, le parcours spécifique à utiliser, etc. Si vous disposez d'une recette jetable, mettre l'URL pour tester dans cette partie.

💻 Captures d'écran

@tonial tonial added the modifié label Jan 8, 2025
@tonial tonial self-assigned this Jan 8, 2025
@tonial tonial added the 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC label Jan 8, 2025
Copy link

github-actions bot commented Jan 8, 2025

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

Copy link
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.

@tonial J'ai pushé un petit commit de correctifs UI et now c'est ok pour moi 👍
(je te laisse rebase mon commit après avoir jeté un œil aux modifs)

@tonial tonial force-pushed the alaurent/gps_list branch from 33bbb32 to d01d08a Compare January 9, 2025 13:09
@tonial
Copy link
Contributor Author

tonial commented Jan 9, 2025

merci !

itou/templates/gps/includes/memberships_results.html Outdated Show resolved Hide resolved
@@ -30,14 +30,20 @@ def my_groups(request, template_name="gps/my_groups.html"):
.annotate(nb_members=Count("follow_up_group__members"))
.order_by("-created_at")
.select_related("follow_up_group", "follow_up_group__beneficiary", "member")
.prefetch_related("follow_up_group__members")
.prefetch_related(
Copy link
Contributor

Choose a reason for hiding this comment

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

Je me dis qu'un assertSnapshotQueries sur la vue pourrait être bien du coup :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

C'est ajouté

@tonial tonial force-pushed the alaurent/gps_list branch from 19b5323 to a5f0437 Compare January 9, 2025 14:18
@tonial tonial force-pushed the alaurent/gps_list branch from a5f0437 to 6ab3e8f Compare January 9, 2025 14:30
@tonial tonial added this pull request to the merge queue Jan 13, 2025
Merged via the queue into master with commit 41cae5f Jan 13, 2025
9 checks passed
@tonial tonial deleted the alaurent/gps_list branch January 13, 2025 09:27
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é
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants