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

+24
View File
@@ -2620,6 +2620,30 @@ abstract class AppLocalizations {
/// **'Edit channel'**
String get channels_editChannel;
/// No description provided for @channels_notificationSettings.
///
/// In en, this message translates to:
/// **'Notification settings'**
String get channels_notificationSettings;
/// No description provided for @channels_notifyAll.
///
/// In en, this message translates to:
/// **'All messages'**
String get channels_notifyAll;
/// No description provided for @channels_notifyMentionsOnly.
///
/// In en, this message translates to:
/// **'Mentions only (@)'**
String get channels_notifyMentionsOnly;
/// No description provided for @channels_notifyNone.
///
/// In en, this message translates to:
/// **'Muted'**
String get channels_notifyNone;
/// No description provided for @channels_muteChannel.
///
/// In en, this message translates to: