-
Notifications
You must be signed in to change notification settings - Fork 6
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
[#IP-275] Managed service preferences before message creation #142
Conversation
Example of PR titles that include pivotal stories:
Generated by 🚫 dangerJS |
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.
LGTM
Co-authored-by: gquadrati <[email protected]>
Co-authored-by: Daniele Manni <[email protected]>
Co-authored-by: Daniele Manni <[email protected]>
Co-authored-by: Daniele Manni <[email protected]>
Co-authored-by: gquadrati <[email protected]>
Co-authored-by: Daniele Manni <[email protected]>
Co-authored-by: Daniele Manni <[email protected]>
Co-authored-by: Daniele Manni <[email protected]>
The code seems to work as expected, anyway by a reviewer perspective is hard for me to focus on differences because the whole activity has been refactored. I'm afraid I cannot spot eventual bug/regression/edge-case we may have included in those changes. To help on this I rewrote the test suite so that is easier to figure out which scenario we're testing and which we're not. So far I just replicated tests we used to have, and group such in three families: successes, failures and exceptions. Changes are in 7e98711 |
Refactoring happened mainly to avoid linting errors due to too much parameters in function signature. Other refactoring happened to extract the old code and make the logic more understandable. Your test refactoring seems legit. |
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.
LGTM
List of Changes
Motivation and Context
We want to create messages only for users that allow to be reached, and return a coherent blockedInboxOrChannels based on preferences if they are present.
How Has This Been Tested?
It has been tested by performing:
Types of changes
Checklist: