Skip to content

feat: Add DM button to sidebar when there are unread DMs#212

Merged
7w1 merged 4 commits intoSableClient:devfrom
Just-Insane:feat/group-dm-avatars-clean
Mar 12, 2026
Merged

feat: Add DM button to sidebar when there are unread DMs#212
7w1 merged 4 commits intoSableClient:devfrom
Just-Insane:feat/group-dm-avatars-clean

Conversation

@Just-Insane
Copy link
Contributor

@Just-Insane Just-Insane commented Mar 12, 2026

Summary

Adds a DM button with user avatar(s) to the sidebar where there are unread DMs, similar to Discord.

image

@Just-Insane Just-Insane requested a review from a team March 12, 2026 03:30
@Just-Insane Just-Insane changed the title feat: Add triangle avatar layout for group DMs with bot filtering feat: Add DM button to sidebar when there are unread DMs Mar 12, 2026
- Display up to 3 member avatars in triangle formation
- Most recent sender at top center, others at bottom corners
- Filter out bridge bots (ending with 'bot') while keeping bridged users
- Uses room.loadMembersIfNeeded() for lazy-loaded member state
- Respects 'Show DM Counts' notification setting
- 24px avatars in 40px container with proper spacing and borders
@Just-Insane Just-Insane force-pushed the feat/group-dm-avatars-clean branch from 58dac14 to c6bb5ed Compare March 12, 2026 03:37
@7w1 7w1 merged commit 00b9ded into SableClient:dev Mar 12, 2026
6 checks passed
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.

2 participants