02fdb1e6df
* Show full notification text via tooltip The tooltip fixes the system notifications problem (mentioned below), and also allows one to quickly read the entire comment without actually having to visit the comment. Currently, we only show about 50 characters in the notification, truncating it to an ellipsis when exceeded. This is not much of a problem for dynamic text (e.g. comments) since the full text can be seen after clicking on the notification (brings you to the comment). For system notifications, this is problematic since there's no other way to know what the full text was. Tried to dynamically change the font size to auto fit, but it wasn't fruitful. Even if it did work, it'll probably won't be legible for a 2000-character comment, plus the entire list will look weird with various font sizes. * Beautify "missed out" notification; bring user to Verify page. ## Issue 6021: Notifications: Missed Out ## Changes - The notification already brings the user to the `/rewards`. Tweaked it to directly enter the Verify Page. - Use LBC icon instead of generic bell for this notification.
15 lines
741 B
JavaScript
15 lines
741 B
JavaScript
export const NOTIFICATION_CREATOR_SUBSCRIBER = 'creator_subscriber';
|
|
export const NOTIFICATION_COMMENT = 'comment';
|
|
export const NOTIFICATION_REPLY = 'comment-reply';
|
|
export const MISSED_OUT = 'missed_out';
|
|
export const DAILY_WATCH_AVAILABLE = 'daily_watch_available';
|
|
export const DAILY_WATCH_REMIND = 'daily_watch_remind';
|
|
export const NEW_CONTENT = 'new_content';
|
|
export const NEW_LIVESTREAM = 'new_livestream';
|
|
|
|
export const NOTIFICATION_NAME_ALL = 'All';
|
|
export const NOTIFICATION_RULE_COMMENTS = 'comments';
|
|
export const NOTIFICATION_RULE_REPLIES = 'comment_replies';
|
|
export const NOTIFICATION_RULE_FOLLOWERS = 'followers';
|
|
export const NOTIFICATION_RULE_NEW_CONTENT = 'new_content';
|
|
export const NOTIFICATION_RULE_OTHERS = 'default';
|