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:
1 parent
caee4d5c19
commit
caad3dd703
29 files changed
+647
-66
No files matched your search
@@ -99,15 +99,23 @@ Access via **App Settings → Notifications**:
|
||||
| Channel Message Notifications | On | Channel alerts (greyed out if master is off) |
|
||||
| Advertisement Notifications | On | New node alerts (greyed out if master is off) |
|
||||
|
||||
### Per-Channel Muting
|
||||
### Per-Channel Notification Modes
|
||||
|
||||
Mute or unmute a channel from any of these places. Muted channels do not generate OS notifications.
|
||||
Each channel supports three notification modes:
|
||||
|
||||
- The bell icon in the channel chat app bar
|
||||
- Long-press a channel in the channels list → "Mute channel" / "Unmute channel"
|
||||
- **Mute channel** on a channel notification (Android)
|
||||
| Mode | Icon | Behavior |
|
||||
|---|---|---|
|
||||
| **All messages** | 🔔 | Receive notifications for every message |
|
||||
| **Mentions only (@)** | @ | Only notify when someone mentions you with "@yourname" |
|
||||
| **Muted** | 🔇 | No notifications |
|
||||
|
||||
There is no per-contact muting.
|
||||
Set the mode from:
|
||||
|
||||
- The notifications icon in the channel chat app bar (tap to cycle through modes)
|
||||
- Long-press a channel in the channels list → **Notification settings** → select mode
|
||||
- Channel notification actions (Android)
|
||||
|
||||
Mentions are detected by looking for "@" followed by your username at word boundaries. The comparison is case-insensitive.
|
||||
|
||||
## Rate Limiting
|
||||
|
||||
|
||||
Reference in new issue
Block a user