feat: add per-channel notification modes (all/mentions only/muted)

- Add ChannelNotificationMode enum with all, mentionsOnly, muted options
- Replace mutedChannels Set with channelNotificationModes Map for per-channel settings
- Add mention detection for @username in channel messages
- Update channels list and chat UI with notification mode selector
- Add localization strings for new notification modes
- Automatic migration from old mutedChannels to new system
- Update user documentation
- Preserve backward compatibility with existing mute/unmute API
This commit is contained in:
edouard committed 2026-10-23 22:37:49 +02:00
1 parent caee4d5c19
commit caad3dd703
29 files changed
+647 -66

No files matched your search

+4
View File
@@ -715,6 +715,10 @@
"channels_addSectionCreate": "Create new",
"channels_dragToReorder": "Drag to reorder",
"channels_editChannel": "Edit channel",
"channels_notificationSettings": "Notification settings",
"channels_notifyAll": "All messages",
"channels_notifyMentionsOnly": "Mentions only (@)",
"channels_notifyNone": "Muted",
"channels_muteChannel": "Mute channel",
"channels_unmuteChannel": "Unmute channel",
"channels_deleteChannel": "Delete channel",