-
-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor: email commands #514
Conversation
4e27163
to
3a9cbc3
Compare
use Illuminate\Database\Eloquent\Builder; | ||
use Illuminate\Support\Facades\Mail; | ||
|
||
final class SendReminderEmailsCommand extends Command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feels that this should not be called "reminder".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SendUnreadNotificationEmailsCommand
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CamKem any suggestions?
…ers daily and weekly
…notifications count in email subject and content
3a9cbc3
to
48477cc
Compare
…unread-notifications-emails'
This PR merges
SendDailyEmailsCommand
andSendWeeklyEmailsCommand
in theSendReminderEmailsCommand
with the--weekly
flag.Tests are the same just moved to a new file
SendReminderEmailsCommandTest
.-- Solved notifications count issue.
-- Solved logo issue in email