-
Notifications
You must be signed in to change notification settings - Fork 2.7k
added the warning message when a user with bot account gets deleted #2879
Conversation
8f02cd5
to
9353767
Compare
@pradeepmurugesan Is this ready for review? |
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.
Functionally this works great.
For the case when the user does not manage bot accounts, wondering if we can keep the text without the bullet like in mattermost/mattermost#10863. It may feel odd to the System Admin given there is only one item in the list.
I'm okay having the question on a separate line, however, like
This action deactivates \{user\}. They will be logged out and not have access to any teams or channels on this system.
Are you sure you want to deactivate \{user\}?
fb13ed9
to
0ed7dad
Compare
Thanks @pradeepmurugesan for the update! Looks like the latest build fails - I'll re-test after you've had a chance to take a look at it |
e87fe7d
to
639bf18
Compare
@jasonblais have modified the same. Kindly review |
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.
Looks good! Re-tested functionality as well.
I'll ask @asaadmahmood to help review as well, including the line spacing for the text on the dialog
a2693c1
to
8f8f65d
Compare
@sudheerDev @asaadmahmood Kind reminder to help review this PR when you have a chance |
Done @jasonblais. Updated the spacing. |
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 👍 . Requested a minor change.
components/admin_console/system_users/system_users_dropdown/system_users_dropdown.jsx
Outdated
Show resolved
Hide resolved
@jasonblais Need another dev reviewer on this. |
components/admin_console/system_users/system_users_dropdown/system_users_dropdown.jsx
Outdated
Show resolved
Hide resolved
@asaadmahmood also, looks like the build fails |
33325d2
to
b418ef0
Compare
@sudheerDev Fixed the review comments. @asaadmahmood I am so sorry. I found that I have overwritten your commit during the process of fixing the review comments. Can you kindly push your changes. I am so sorry. |
@pradeepmurugesan No worries, will do in a while. |
@pradeepmurugesan Done. |
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 :+1
@jasonblais is this PR slated for a release? |
@bradjcoughlin This can go into the 5.14 release (so just merged to master) @pradeepmurugesan Can you help rebase against the master branch? Looks like this is otherwise ready to merge 🎉 |
c3c68b0
to
fdb535d
Compare
Thanks @pradeepmurugesan for the awesome contribution 👍 |
Summary
This adds a disclaimer message regarding the bot accounts when deactivating a user with at-least one bot accounts created.
Ticket Link
Fixes mattermost/mattermost#10863
Related Pull Requests
Screenshots: