Skip to content

GPS : liste des groupes > la date n'apparaît pas pour les groupes créés en masse // changement de l'ordre#4279

Merged
celine-m-s merged 4 commits intomasterfrom
celinems/gps-ui
Jun 26, 2024
Merged

GPS : liste des groupes > la date n'apparaît pas pour les groupes créés en masse // changement de l'ordre#4279
celine-m-s merged 4 commits intomasterfrom
celinems/gps-ui

Conversation

@celine-m-s
Copy link
Copy Markdown
Contributor

🤔 Pourquoi ?

Demandes remontées pendant l'OL.
J'ai aussi mis à jour les fixtures pour répliquer l'import initial.

💻 Captures d'écran

image

🚨 À vérifier

  • Mettre à jour le CHANGELOG_breaking_changes.md ?

🏝️ Comment tester

Se connecter avec l'ETTI (utilisatrice Daphnée Delavigne) puis, en bas du tableau de bord, cliquer sur « Visualiser les bénéficiaires ».

@celine-m-s celine-m-s added the modifié Modifié dans le changelog. label Jun 21, 2024
@celine-m-s celine-m-s self-assigned this Jun 21, 2024
@celine-m-s celine-m-s added the 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC label Jun 21, 2024
@github-actions
Copy link
Copy Markdown

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

@notion-workspace
Copy link
Copy Markdown

@celine-m-s celine-m-s added 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC and removed 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC labels Jun 21, 2024
@github-actions
Copy link
Copy Markdown

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

@celine-m-s celine-m-s removed the 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC label Jun 21, 2024
Comment thread itou/fixtures/django/26_follow_up_groups.json
Comment thread itou/templates/gps/my_groups.html Outdated
Comment thread tests/gps/__snapshots__/test_views.ambr Outdated
- Show groups created lately first.
- Don't display the creation date if membership was created by the
  initial script
Comment thread itou/templates/gps/my_groups.html
Comment thread tests/gps/test_models.py
FollowUpGroup.objects.follow_beneficiary(beneficiary=beneficiary, user=other_member, is_referent=True)
assert group.memberships.count() == 2
other_membership = group.memberships.get(member=other_member)
assert other_membership.is_referent is True # No limit to the number of referent
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

On est d'accord que dans ce test il n'y a qu'une seule membership référente & active ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

À la fin, oui, car l'autre membership.is_referent est passée à False ligne 52. Mais je suis d'accord avec toi, ce n'est pas évident.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Je modifierai ce test une autre fois. Là, j'aimerais bien passer cette PR.

@celine-m-s celine-m-s added this pull request to the merge queue Jun 26, 2024
Merged via the queue into master with commit 5000daa Jun 26, 2024
@celine-m-s celine-m-s deleted the celinems/gps-ui branch June 26, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

modifié Modifié dans le changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants