-
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
[#ICC-101] Return message read status, if applicable #211
Conversation
@types/semverAuthor: Unknown Description: TypeScript definitions for semver Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver
|
Created | over 11 years ago |
Last Updated | 4 days ago |
License | ISC |
Maintainers | 5 |
Releases | 95 |
Direct Dependencies | lru-cache |
New dependencies added: semver
and @types/semver
.
Example of PR titles that include pivotal stories:
- single story:
[#123456] my PR title
- multiple stories:
[#123456,#123457,#123458] my PR title
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.
Code is good, but I found some little points that I'd like to understand better.
GetMessage/userPreferenceChecker/userPreferencesCheckerFactory.ts
Outdated
Show resolved
Hide resolved
GetMessage/userPreferenceChecker/userPreferencesCheckerFactory.ts
Outdated
Show resolved
Hide resolved
GetMessage/userPreferenceChecker/userPreferencesCheckerFactory.ts
Outdated
Show resolved
Hide resolved
GetMessage/userPreferenceChecker/__tests__/messageReadStatusAuth.test.ts
Outdated
Show resolved
Hide resolved
GetMessage/userPreferenceChecker/__tests__/messageReadStatusAuth.test.ts
Outdated
Show resolved
Hide resolved
GetMessage/userPreferenceChecker/__tests__/messageReadStatusAuth.test.ts
Outdated
Show resolved
Hide resolved
GetMessage/userPreferenceChecker/__tests__/messageReadStatusAuth.test.ts
Outdated
Show resolved
Hide resolved
GetMessage/userPreferenceChecker/__tests__/messageReadStatusAuth.test.ts
Outdated
Show resolved
Hide resolved
GetMessage/userPreferenceChecker/__tests__/messageReadStatusAuth.test.ts
Outdated
Show resolved
Hide resolved
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.
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 @BurnedMarshal @michaeldisaro Can we merge?
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.
Verify this tests titles.
GetMessage/userPreferenceChecker/__tests__/userPreferencesCheckerFactory.test.ts
Outdated
Show resolved
Hide resolved
GetMessage/userPreferenceChecker/__tests__/userPreferencesCheckerFactory.test.ts
Outdated
Show resolved
Hide resolved
GetMessage/userPreferenceChecker/__tests__/userPreferencesCheckerFactory.test.ts
Outdated
Show resolved
Hide resolved
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, only 2 nitpicking comments.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
List of Changes
semver
library for version comparisonIUserPreferencesChecker
, an interface to check service's read authorization over a userIUserPreferencesChecker
implementations: in case user's app version does or does not handle read authorizationUserPreferenceCheckerFactory
for returning the right implementationMotivation and Context
return message read status to service, if user didn't explicitly disabled this feature.
In case user was not able to explicitly disable it (version < the one that introduced that feature), it will be disabled by default
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: