Is your feature request related to a problem? Please describe.
In the MembersFragment, list of all users are displayed and when user clicks on any user MemberProfileActivity opens up. The problem I found here is that in the MemberProfileActivity when the member is neither available to mentor nor needs mentoring, then also sendRequestActivity open up on clicking of "Send Request" Button which I think is a bad UX.
Describe the solution you'd like
The solution for this problem can be in the MemberProfileActivity, If the user is neither available to mentor nor he/she needs mentoring then on clicking of "Send Request" Button Snackbar should be displayed with message "User is not available to accept request or any relevant message" and if the user is either available for mentoring or he/she needs mentoring then only SendRequestActivity should opens up.
Additional context
If mentors find this an appropriate issue, then "First Timers" can claim this issue and start working on this.
@mohak1283 I totally understand this and agree with it! A suggestion I have is the button could be set to the disabled state.
Also as a note, according to the current business logic, when a user1 is currently in a mentorship relation, other user2 cannot send a request to user1. This is something that could be solved later on backend, and then on Android.
Regarding giving this to first-timers, I think that's great! But if you feel like solving this, you can do it (since you found it 馃槈)
Okay so let me do this @isabelcosta :+1:
Hey, @mohak1283 is this issue solved or can I work on this? :)
Also @isabelcosta told me that you were facing some problems while squashing the commits. Can I help you in that?
Hey @Lavanyagaur22 I have sent the PR for this issue because in that PR, @isabelcosta mentioned that regarding this feature, community discussion is required, and also, she post that in the slack channel too, but there no one replied yet. That's why this PR is open yet.
@mohak1283 I am making this issue available please claim if you want to work.
@isabelcosta @aditmehta9 I would like to work on this issue
@isabelcosta @aditmehta9 I would like to work on this issue
Sure but please read above discussion before working on. I cannot assign you now because my laptop is in repairing so you can start working on.
ok @aditmehta9 i will start working on this but please update asap