Delta-v/Content.Shared/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
..
BanList Add role bans tab to the bans admin window (#20388) 2023-09-22 14:08:28 -07:00
Components Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
Events Add panic bunker UI and automatic panic bunker (#20954) 2023-10-13 11:56:12 -07:00
Logs Fix Next button resending the same admin logs (#16557) 2023-05-17 22:51:17 -07:00
Managers Un-revert IPlayerManager refactor (#21244) 2023-10-28 09:59:53 +11:00
Notes Improve admin message seen/dismiss state. (#26223) 2024-03-21 16:15:46 +01:00
AdminAnnounceEuiState.cs Ensure EUIs close themselves (#15860) 2023-04-29 13:16:24 +10:00
AdminCommandPermissions.cs fix admins Flags arrays (#19644) 2023-09-16 13:58:11 +10:00
AdminData.cs Added some missing engine command permissions. (#5782) 2021-12-18 14:16:34 +01:00
AdminFlags.cs Adds a massban flag to the admin flags (#25327) 2024-02-17 21:32:21 +01:00
AdminFlagsHelper.cs Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
AdminFrozenComponent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
AdminFrozenSystem.cs Pulling rework v2 (#24936) 2024-03-19 14:30:56 +11:00
AnyCommandAttribute.cs Toolshed (#17895) 2023-08-02 16:09:08 -05:00
BanPanelEuiState.cs Add admin Erase verb, add checkbox to erase from the ban panel (#20985) 2023-10-14 02:02:56 -07:00
EditSolutionsEuiState.cs Fix solution editor UI (#24004) 2024-01-13 15:52:42 +11:00
MsgUpdateAdminStatus.cs Pass IRobustSerializer to NetMessage (#11021) 2022-09-14 17:25:25 +10:00
PermissionsEuiState.cs Ensure EUIs close themselves (#15860) 2023-04-29 13:16:24 +10:00
PlayerInfo.cs PlayerListControl fixes. (#25248) 2024-02-20 10:13:48 +01:00
QuickDialogOpenEvent.cs make dialog window not evil (#24677) 2024-02-01 23:56:40 +11:00
SetOutfitEuiState.cs Content update for NetEntities (#18935) 2023-09-11 09:42:41 +10:00
SharedBwoinkSystem.cs Add option for admins to disable bwoink (#25008) 2024-02-20 23:52:03 -07:00
SpawnExplosionEuiMsg.cs Move grenade components to shared (#22691) 2024-02-02 00:29:01 +11:00