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

feat(channel): show channels with unread messages even if collapsed #17017

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jrainville
Copy link
Member

What does the PR do

Fixes #17016

Sets the channel as visible when it has unread messages, but not muted, or has a notification (reply or mention) or it's active, even when collapsed.

Affected areas

Channel list (only for communities)

Architecture compliance

Screenshot of functionality

Unread messages (shows even if it's collapsed):
image

Active channel (shows even if read and collapsed):
image

Muted channel (doesn't show):
image

Muted but it's a notification (shows even if muted and collapsed):
image

Impact on end user

Makes it easier to manage a community with a lot of channels. Currently, it's not useful to collapse unmuted categories, because then when you have messages in a collapsed channel, you have to manually open the category to see which channel it is.

With this small change, it's now easy to know which channel it is and only one click to see the unread messages.

How to test

  • Mark as unread some messages in a channel in a collapsed category.
  • test muting the channel
  • test mentions

Risk

Tick one:

  • Low risk: 2 devs MUST perform testing as specified above and attach their results as comments to this PR before merging.
  • High risk: QA team MUST perform additional testing in the specified affected areas before merging.

Worst case, the feature doesn't work in some edge scenario

Fixes #17016

Sets the channel as visible when it has unread messages, but not muted, or has a notification (reply or mention) or it's active, even when collapsed.
@status-im-auto
Copy link
Member

status-im-auto commented Dec 31, 2024

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ ffc5bc8 #1 2024-12-31 15:54:15 ~8 min tests/nim 📄log
✔️ ffc5bc8 #1 2024-12-31 15:55:07 ~9 min macos/aarch64 🍎dmg
✔️ ffc5bc8 #1 2024-12-31 15:57:48 ~12 min tests/ui 📄log
✔️ ffc5bc8 #1 2024-12-31 16:03:45 ~17 min macos/x86_64 🍎dmg
✔️ ffc5bc8 #1 2024-12-31 16:05:19 ~19 min linux/x86_64 📦tgz
✔️ ffc5bc8 #1 2024-12-31 16:05:31 ~19 min linux-nix/x86_64 📦tgz
✔️ ffc5bc8 #1 2024-12-31 16:11:42 ~25 min windows/x86_64 💿exe

Copy link
Member

@caybro caybro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

Show channels with unread messages even when the category is collapsed
3 participants