Users are accidentally hitting the "Leave Team" button when they intend to leave a channel.
User story: https://community-daily.mattermost.com/core/pl/kggi7pngxb8kf83o3mgk3ra7sy
Proposed fix: Update the help text in the "Leave Team" modal to:
**You will be removed from all {num_of_public_channels} public channels and {num_of_private_channels} private channels on this team**. If the team is private you will not be able to rejoin the team without an invitation. Are you sure?
Where
**),{num_of_public_channels} refers to the number of public channels that the user is a member of in the team, and{num_of_private_channels} refers to the number of private channels that the user is a member of in the team, andCurrent modal:
If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
@hanzei Hi, This is my first time and I would love to take this up. :)
Welcome to the Mattermost community @vivek32ta :tada: Thanks for taking a look at this issue. Please let me know if you have any questions.
@vivek32ta how's this going? Need any help?
Thanks for asking @esethna
I tried my best to setup a development environment. But my PC just did not support it. I'm extremely sorry.
I got on the mattermost help channel as well. Didn't turn out to be of any use. I kept at it for over 5 weeks and finally gave up man.
Again, I'm really sorry and I really appreciate the opportunity! Thanks a lot :)
No worries @vivek32ta, thanks for trying, I'm going to open this ticket back up.
cc// @jasonblais on the above
Hey i would like to work on this if any help is needed.
Quick clarification, is the issue about replacing the "XX" mentioned in the question with respective team names?
Because otherwise the message displayed while leaving a team seems to be quite clear

@breditter Thank you, we'd welcome the help! :)
As for your question, the proposal is to update the help text to
**You will be removed from all {num_of_public_channels} public channels and {num_of_private_channels} private channels on this team**. If the team is private you will not be able to rejoin the team without an invitation. Are you sure?
Where
**),{num_of_public_channels} refers to the number of public channels that the user is a member of in the team, and{num_of_private_channels} refers to the number of private channels that the user is a member of in the team, andLet me know if that is helpful? I also update the ticket description for clarification.
Thanks again for offering the help :)
This issue appears stale and I鈥檓 adding the Up For Grabs label. If work is ongoing, please remove the label. If there is an existing PR, please also link it to the issue. Thanks!
@hanzei I can work on this issue?
Sure, thanks for already submitting a PR @sridhar02 :+1: