mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
Since the "mute users" feature isn't complete yet, this UI is shown only in development setups. Ideally we should have had this commit after the whole feature was completed and merged, but doing so makes it difficult to test and merge subparts of the feature one by one (which is a better workflow, while we still decide what exactly we want this feature to do). This commit adds a new button in the user info popover to mute or unmute the user, and uses a confirmation dialog while muting, because muting a user accidently can lead to the muter losing out on a lot of information. TODOs when making this UI visible in production- 1. Make a /help page and link to it from the confirmation dialog and the API docs.
6 lines
195 B
Handlebars
6 lines
195 B
Handlebars
<p>
|
|
{{#tr}}
|
|
Are you sure you want to mute <b>{user_name}</b>? Messages sent by muted users will never trigger notifications, will be marked as read, and will be hidden.
|
|
{{/tr}}
|
|
</p>
|