gocodebox / gocodebox/lifterlms

create email notification tests for existing notifications

Ouverte
#653 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
good first issue hacktoberfest help wanted
Langage dominant
PHP
Étoiles
212
Forks
140
Merge moyen
2 j 14 h
PR mergées (30 j)
19

Description

- [ ] Course Complete
- [ ] Course Track Complete
- [ ] Enrollment
- [ ] Gateway: Manual - Payment Due
- [ ] Lesson Complete
- [ ] Payment Retry Scheduled
- [x] Purchase Receipt
- [x] Quiz Failed - has pr #676
- [x] Quiz Passed - has pr #672
- [ ] Section Complete
- [ ] Student Welcome
- [ ] Subscription Cancellation Notice

Notification controllers should implement new`get_test_settings()` method: https://github.com/gocodebox/lifterlms/blob/master/includes/abstracts/llms.abstract.notification.controller.php#L319-L328

As well as new `send_test()` method: https://github.com/gocodebox/lifterlms/blob/master/includes/abstracts/llms.abstract.notification.controller.php#L445-L455

Existing controllers should implement a method which queries existing actions which triggered the notification in order to provide a list of examples that can be used to send a test email.

This means that there must be sample data on the site which can be used to send the test. EG: a course completion test cannot be sent if there haven't been any course completions.

Example implementation example to come

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par includes/abstracts/llms.abstract.notification.controller.php et examinez get_test_settings() et send_test(), puis comparez les contrôleurs de notification existants indiqués dans la checklist. Ajoutez une couverture pour les notifications non cochées et assurez-vous que chacune puisse tirer des exemples d’actions de déclenchement existantes ; le travail est terminé lorsque les notifications listées peuvent être testées à l’aide des exemples de données disponibles.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
php, wordpress
Domaine
backend, testing
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.