Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distinguish muted users in UI #1429

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

sm-sayedi
Copy link
Collaborator

Note: No tests are included in this draft revision.

This PR aims to respect the user's settings for muting other users by distinguishing its related UI appearance. From the list of places in UI mentioned in https://zulip.com/help/mute-a-user, the following are included as they're compatible with the current scope of mobile:

  • Combined feed sent by muted users, including the name, profile picture, and message content, are hidden behind a Click here to reveal banner. A revealed message can later be re-hidden.
Message from muted user (Before) Message from muted user (After)
Revealed muted message Revealed muted message (Long-pressed)
  • Muted users have their name displayed as "Muted user" for emoji reactions, polls, and when displaying the recipients of group direct messages.
Emoji reactions | Poll (Before) Emoji reactions | Poll (After)
Group DMs with muted user (Before) Group DMs with muted user (After)
Recent DMs view (Before) Recent DMs view (After)
  • Recent conversations and other features that display avatars will show a generic user symbol in place of a muted user's profile picture.
Custom profile field (Before) Custom profile field (After)
  • Muted users are excluded from the autocomplete for composing a direct message or mentioning a user.

Fixes: #296

@sm-sayedi sm-sayedi force-pushed the 296-respect-muted-users branch from c34b94b to d80442b Compare March 24, 2025 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mute muted users
1 participant