Delta-v/Content.Client/Administration/UI
Pieter-Jan Briers 16c7c2882d
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.

(cherry picked from commit d776c4b392a082dba7539d77cfa20fc904ed4091)
2024-03-24 00:08:01 +01:00
..
AdminRemarks Improve admin message seen/dismiss state. (#26223) 2024-03-24 00:08:01 +01:00
BanList Add role bans tab to the bans admin window (#20388) 2023-09-27 21:59:12 +02:00
BanPanel Add admin Erase verb, add checkbox to erase from the ban panel (#20985) 2023-10-14 22:19:04 +02:00
Bwoink Add option for admins to disable bwoink (#25008) 2024-03-05 09:43:40 +01:00
CustomControls Fix PlayerListControl re-raising selection changed when repopulated. (#25412) 2024-02-21 04:04:45 +01:00
Logs Remove cringe hardcodes for background (#20374) 2023-09-27 21:59:12 +02:00
ManageSolutions Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
Notes Fix admin notes and database time nonsense. (#25280) 2024-02-21 04:03:44 +01:00
SetOutfit Fix misc commands (#20004) 2023-09-27 21:59:12 +02:00
SpawnExplosion Random spontaneous cleanup PR (#25131) 2024-02-18 23:02:29 +01:00
Tabs Random spontaneous cleanup PR (#25131) 2024-02-18 23:02:29 +01:00
AdminAnnounceWindow.xaml Multiline edit everywhere (#15216) 2023-04-14 12:57:47 -07:00
AdminAnnounceWindow.xaml.cs Multiline edit everywhere (#15216) 2023-04-14 12:57:47 -07:00
AdminMenuWindow.xaml Add panic bunker UI and automatic panic bunker (#20954) 2023-10-14 22:19:02 +02:00
AdminMenuWindow.xaml.cs Add panic bunker UI and automatic panic bunker (#20954) 2023-10-14 22:19:02 +02:00
AdminMenuWindowEui.cs Ensure EUIs close themselves (#15860) 2023-04-29 13:16:24 +10:00
AdminUIHelpers.cs Sync master up to 1/10 (#74) 2023-10-03 14:15:46 -05:00
PermissionsEui.cs Update content vectors to numerics (#17759) 2023-07-08 14:08:32 +10:00