mirror of
https://github.com/hanzoai/forum.git
synced 2026-09-30 21:51:19 +00: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 <[email protected]>
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);
|