Brightscout / mattermost-plugin-disable-dm

A mattermost plugin to disable direct messages and group chats.
MIT License
14 stars 10 forks source link

Non intuitive UI for blocked DMs #5

Open hairmare opened 5 years ago

hairmare commented 5 years ago

As I mentioned in https://github.com/mattermost/mattermost-server/issues/2440#issuecomment-492180042 the DM-UI needs some polish to make it viable in a educational context.

Right now the plugin blocks DMs to a user and displays this as follows:

image

In cases where sending DMs is blocked the user is still able to create a new DM-Channel which then doesn't work. A more intuitive approach would be to hide the plus button next to "direct message" so users on an instance with disabled DMs can't even open a new DM-Channel.

Tampa commented 4 years ago

@hairmare I see you forked from this repo, did you manage to hide the UI parts in the native apps as well or just the browser version?

hairmare commented 4 years ago

@Tampa We did some work to hide the plus button on this branch: https://github.com/adfinis-forks/mattermost-plugin-disable-dm/tree/dev/webapp. The change only works for the web-app and not for the native app which is why the original issue is still unsolved for us.

olamide2 commented 1 year ago

Hi

Any hope of Disabling DMs based on user roles would be a nice addition as well as basically hiding the plus button?

Regards