-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implement user blocking/unblocking flow #5
base: master
Are you sure you want to change the base?
Conversation
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.
@Vladyslav-Kuksiuk please make sure to do the following things:
-
review this PR by yourself, and do that really-really thoroughly;
-
next time perform p.1 before submitting a PR.
*/ | ||
|
||
/** | ||
* Provides ChatSPN `User` commands and common commands interfaces. |
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.
We don't use back-ticks in Javadoc. We use {@code ...}
.
And another thing is that I don't understand why you want to have a monospaced don't here.
Please review.
Same goes for the similar cases within this PR.
@@ -45,3 +45,10 @@ message UserRegistered { | |||
// A name of the registered user. | |||
string name = 2 [(required) = true]; | |||
} | |||
|
|||
// A new user chats has been created. |
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.
This is hardly a piece of English.
Please do better.
|
||
import "spine/core/user_id.proto"; | ||
|
||
// A user profile view in the chatting system. |
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.
?
Please make sure to review your own work before submitting a PR.
UserChats
creation flowThere 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.
@Vladyslav-Kuksiuk as discussed vocally, BlockUser
does not to make much sense if sent to User
aggregate, since it introduces some discrepancy (i.e. who blocks whom?). So please return to this PR later.
This PR adds an implementation of the user blocking and unblocking flows.
User blocking flow model:
User unblocking flow model: