Open o-rayer opened 5 months ago
Je suis assez en phase avec le fait d'utiliser le level du badge dans les 2 cas, tout en étant bien conscient de la limitation que tu mentionnes Aurélien. Merci bcp pour ce travail en tous cas !!
On Tue, Feb 27, 2024 at 8:28 AM Aurélien Rayer @.***> wrote:
@.**** commented on this pull request.
In collectives/models/badge.py https://github.com/Club-Alpin-Annecy/collectives/pull/683#discussion_r1503755307 :
@@ -21,6 +34,9 @@ def display_names(cls): """ return { cls.Benevole: "Bénévole",
- cls.FirstWarning: "Désinscription Tardive - 1er avertissement",
- cls.SecondWarning: "Désinscription Tardive - 2ème avertissement",
J'y ai pensé aussi @gdaviet https://github.com/gdaviet tu as raison ce serait plus propre.
Le seul truc qui m'embête c'est que d'un côté on utiliserait le level pour le comptage (Banned) et de l'autre pour une logique fonctionnelle ( warning) + il faudrait accepter qu'on n'ait jamais besoin de compter le nombre de warnings, et il faut revoir la logique d'update. Ca peut le faire pour moi.
A confirmer tous ensemble ?
— Reply to this email directly, view it on GitHub https://github.com/Club-Alpin-Annecy/collectives/pull/683#discussion_r1503755307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB32XJF3TQMSMVKB56UYVUDYVWDJHAVCNFSM6AAAAABDGKFG7GVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTSMBSG4YTINRUGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Feature aiming at reducing the number of late unregistrations to events
https://trello.com/c/kDRVotJB/294-features-pour-r%C3%A9duire-les-d%C3%A9sinscriptions-sauvages
Functional Schema
Key Features
FirstWarning
,SecondWarning
&Banned
FirstWarning
,SecondWarning
expire the next 30th of SeptemberBanned
expires 4 weeks after assignmentBanned
badge, he cannot register to an eventThings to review or determine in priority
Next ideas / Things to do
last_unregistration_time
orlast_self_unregistration_time
to theRegistration
object in order to follow unregistration properly in the stats module