mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 22:41:12 +08:00

This change introduces a new thread notification level allowing users to get notified when someone replies to the thread. Users who watch a thread will get a green notification on the chat icon and a user notification (blue). User notifications are consolidated based on thread id to prevent cluttering the original users notification area. --------- Co-authored-by: Régis Hanol <regis@hanol.fr>
11 lines
255 B
JavaScript
11 lines
255 B
JavaScript
import {
|
|
buttonDetails,
|
|
NotificationLevels,
|
|
} from "discourse/lib/notification-levels";
|
|
|
|
export const threadNotificationButtonLevels = [
|
|
NotificationLevels.WATCHING,
|
|
NotificationLevels.TRACKING,
|
|
NotificationLevels.REGULAR,
|
|
].map(buttonDetails);
|