[openstreetmap/openstreetmap-website] Add UserMute to control private message visibility (PR #4284)

Gregory Igelmund notifications at github.com
Mon Oct 23 13:07:01 UTC 2023


Regarding the general feedback from @tomhughes 

> Firstly I think we should have a "mute user" button on the detail view (messages#show) for messages to make it more obvious that the option is available when a problem arises? […]

I think so too, but I haven't found the ideal place yet where I want to put that `mute user`-action.

This is the `Messages#show`-screen:

![SCR-20231023-mdgi](https://github.com/openstreetmap/openstreetmap-website/assets/28648/ae3617fb-9702-4f5c-b140-6aeeab8e31a9)

The action should be imo close to the Username (at the top) and not at the bottom since all actions on the bottom of the message are message-related actions.

There is not much space at the top of the message. We could re-use the layout we already use on `Dashboards#show`.

![SCR-20231023-njqe](https://github.com/openstreetmap/openstreetmap-website/assets/28648/7911199e-f6ef-4f5c-a37d-b60fa1de1d85)


The updated `Messages#show`-screen could look like this then:

![SCR-20231023-nivc](https://github.com/openstreetmap/openstreetmap-website/assets/28648/70939f54-dfd6-4df8-a990-1c6afc30c2f3)


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4284#issuecomment-1775152197
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4284/c1775152197 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231023/6f34bea7/attachment.htm>


More information about the rails-dev mailing list