Delta-v/Content.Client/Administration
Pieter-Jan Briers d776c4b392
Improve admin message seen/dismiss state. (#26223)
Fixes #26211

Admin messages now have separate "seen" and "dismissed" fields. The idea is that an admin should be able to tell whether a user pressed the "dismiss for now" button. Instead of using "seen" as "show this message to players when they join", "dismissed" is now used for this.

Existing notes in the database will automatically be marked as dismissed on migration. A note cannot be dismissed without being seen (enforced via constraint in the database too, aren't I fancy).

As part of this, it has become impossible for a player to play without dismissing the message in some form. Instead of a shitty popup window, the popup is now a fullscreen overlay that blocks clicks behind it, making the game unplayable. Also, if a user somehow has multiple messages they will be combined into one popup.

Also I had enough respect for the codebase to make it look better and clean up the code somewhat. Yippee.
2024-03-21 16:15:46 +01:00
..
Components Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
Managers Readmin enables Debug Coordinates in F3 overlay (#25063) 2024-03-06 12:43:51 +11:00
Systems Add option for admins to disable bwoink (#25008) 2024-02-20 23:52:03 -07:00
UI Improve admin message seen/dismiss state. (#26223) 2024-03-21 16:15:46 +01:00
AdminNameOverlay.cs Revert "Update submodule to 175.0.0 (#21318)" (#21319) 2023-10-29 15:29:30 +11:00
QuickDialogSystem.cs make dialog window not evil (#24677) 2024-02-01 23:56:40 +11:00