Skip to content

Comments

Notifying user if an already existing user is added#13852

Closed
gsunit wants to merge 5 commits intoRocketChat:developfrom
gsunit:check-user-exists-in-room
Closed

Notifying user if an already existing user is added#13852
gsunit wants to merge 5 commits intoRocketChat:developfrom
gsunit:check-user-exists-in-room

Conversation

@gsunit
Copy link
Contributor

@gsunit gsunit commented Mar 22, 2019

Currently, a success toastr is displayed even if an already existing user is added to a channel. With this we can issue an elegant little notification, which is only visible to the user, that says $username is already in here.
Closes #13837

@bhardwajaditya
Copy link
Contributor

@gsunit I think it would be better if along with the toastr message we can add that users already in the channel are not displayed in the autocomplete popup list.

@gsunit
Copy link
Contributor Author

gsunit commented Mar 23, 2019

Thanks, @bharadwajaditya! Can be easily done. But then there will be no notifications. Let's wait for the reviewers and see what they have to say.

@bhardwajaditya
Copy link
Contributor

@gsunit yeah sure. This was just my idea for this issue. Since you are working on it so it will be easy for you to implement it.

@sudipt1999
Copy link

@gsunit I was also working on this issue ! my bad I didn't saw the issue referenced.

@gsunit
Copy link
Contributor Author

gsunit commented Apr 15, 2019

Closing this PR due to conflicts. Opening a new PR for the same feature, please have a look at PR #14142

@gsunit gsunit closed this Apr 15, 2019
@sudipt1999
Copy link

Did it creates conflict with #13962 @gsunit ! Please have a look! Mine is for not adding added user to pop up list !

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.

Added user can be added again in channel

3 participants