Plan out notification features
mattjegan opened this issue · 2 comments
mattjegan commented
Plan out notification features
clintonb commented
A mistake that some apps make is that they do too much. I want a badging library, not a badging and notifications library. Odds are my rules for notifications (e.g. timing, unsubscribed users) are different than yours. Same goes for my methods of notification (e.g. email, push).
Instead of sending an email/alert, fire a signal when a badge is awarded. Such a signal would probably be the same as Django's existing save signal, but there may be some value in providing a custom name (e.g. badge.awarded
) for future expansion.