Skip to content

send weekly digest email in user's locale #556

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

Merged
merged 3 commits into from
Mar 18, 2020
Merged

Conversation

markets
Copy link
Collaborator

@markets markets commented Feb 28, 2020

closes #453

@markets markets added the wip label Feb 28, 2020
@markets markets force-pushed the emails_by_lang branch 3 times, most recently from f3f050e to 0d1f442 Compare March 1, 2020 21:33
@markets markets removed the wip label Mar 1, 2020
@markets
Copy link
Collaborator Author

markets commented Mar 16, 2020

New approach as discussed in #556 (comment) and improved code coverage 💪

org_locales.each_with_object({}) do |locale, hash|
hash[locale] = with_notifications.where(locale: locale)
end
end
Copy link
Collaborator

Choose a reason for hiding this comment

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

👌

@sauloperez
Copy link
Collaborator

@sseerrggii this is ready for a quick round of testing.

@sseerrggii
Copy link
Contributor

Tested 💚

Supereasy to test with sidekiq @markets 😉

@sauloperez sauloperez merged commit 6b94c95 into develop Mar 18, 2020
@sauloperez sauloperez deleted the emails_by_lang branch March 18, 2020 15:34
@sauloperez sauloperez mentioned this pull request Apr 23, 2020
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.

Send email notifications in user language
3 participants