gocodebox / gocodebox/lifterlms

create email notification tests for existing notifications

Abierto
#653 3 comentarios 0 reacciones 0 asignados Ver en GitHub
good first issue hacktoberfest help wanted
Lenguaje dominante
PHP
Estrellas
212
Forks
140
Merge medio
2 d 14 h
PR fusionados (30 d)
19

Descripción

- [ ] 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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza por includes/abstracts/llms.abstract.notification.controller.php e inspecciona get_test_settings() y send_test(); después compara los controladores de notificaciones existentes indicados en la checklist. Añade cobertura para las notificaciones no marcadas y asegúrate de que cada una pueda obtener ejemplos de acciones desencadenantes existentes; el trabajo estará terminado cuando las notificaciones enumeradas puedan probarse usando los datos de ejemplo disponibles.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
php, wordpress
Área
backend, testing
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.