branchrust_reboot/main/menu_notificationscancel
24 Commits over 0 Days - Infinitycph!
Updated debug notif commands descriptions
Added notifications.addcustomnotification debug command
Notification entry layout fixes
Implemented the new client version notification: if a new release or staging client is released, the player gets a local notification telling them to update their game
Latest changeset numbers are in the manifest, so its refreshed after every manifest update
Moved notification convars to a partial class
Tweaked notif window anims
Removed the URL parsing in Message, we now have a URL field
Implemented new popup notif type
Fixed notifications title being ignored by the client (now used by the popup notifs)
Can open the popup back by clicking on the seen notification entry
Warning notifications show as popups when arriving in the main menu
When the popup is closed, it goes in the notification window, marked as seen
Client keeps track of seen notifications locally:
- a notification is seen once the notif window is open
- seen notifications are styled differently
- they pop back after a client restart until cleared
We now send v2/readall only when clicking on the clear all button. Client also keeps track of cleared notifications locally so global notifications can be dropped by the client (the backend keeps sending until they expire)
Fixed notification ids always being 0 client-side (NoticeId -> NotificationId)
Added some new debug convars
Notification urls open in browser instead of steam overlay
Colored player name and date on ban notifications
Text expands if the icon link is disabled
Clearing anim polish
Notifications can hold more text, they auto scale to fit
Notifications:
- Fixed scroll not working
- Fixed clear all button text wrapping issue
Prefabed everything, cleanup