Skip to content
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

Merged
merged 9 commits into from
Sep 13, 2024
Merged

Refactor: email commands #514

merged 9 commits into from
Sep 13, 2024

Conversation

MrPunyapal
Copy link
Collaborator

@MrPunyapal MrPunyapal commented Aug 26, 2024

This PR merges SendDailyEmailsCommand and SendWeeklyEmailsCommand in the SendReminderEmailsCommand with the --weekly flag.

Tests are the same just moved to a new file SendReminderEmailsCommandTest.

-- Solved notifications count issue.
-- Solved logo issue in email

use Illuminate\Database\Eloquent\Builder;
use Illuminate\Support\Facades\Mail;

final class SendReminderEmailsCommand extends Command
Copy link
Member

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".

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SendUnreadNotificationEmailsCommand?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CamKem any suggestions?

@nunomaduro nunomaduro merged commit b55ead6 into main Sep 13, 2024
@MrPunyapal MrPunyapal deleted the refactor/email-commands branch September 13, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't send email if there are no notifications unread image of logo is broke on verify email address email
2 participants