From b610bdca72c0b3e16e8575b543dfcdaae8fc8c0a Mon Sep 17 00:00:00 2001 From: KOTOB <59124164+kotobdev@users.noreply.github.com> Date: Tue, 29 Sep 2026 11:30:55 -0700 Subject: [PATCH] Content Warning popup (#5953) * PORT: Content warnings from funkystation (#4373) * Content warnings (#2922) Co-authored-by: funkystationbot * lala * fix: content warning should now display * taydeo were these on purpose? * victor hugo mary shelley oscar wilde frankenstein we didnt start the fire --------- Co-authored-by: taydeo Co-authored-by: funkystationbot * cw size fix * fixes and adjustments * two byte ops * no attribution allowed * Update Content.Shared/_Funkystation/CCVars/CCVars.Funky.cs Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: KOTOB <59124164+kotobdev@users.noreply.github.com> * Update Content.Client/_Funkystation/ContentWarning/ContentWarningPopup.xaml.cs Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: KOTOB <59124164+kotobdev@users.noreply.github.com> --------- Signed-off-by: KOTOB <59124164+kotobdev@users.noreply.github.com> Co-authored-by: mq <113324899+mqole@users.noreply.github.com> Co-authored-by: taydeo Co-authored-by: funkystationbot Co-authored-by: mqole Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> --- .../ContentWarning/ContentWarningPopup.xaml | 24 ++++++++ .../ContentWarningPopup.xaml.cs | 40 +++++++++++++ .../ContentWarningUIController.cs | 60 +++++++++++++++++++ .../_Funkystation/CCVars/CCVars.Funky.cs | 33 ++++++++++ .../en-US/_Funkystation/content_warning.ftl | 24 ++++++++ 5 files changed, 181 insertions(+) create mode 100644 Content.Client/_Funkystation/ContentWarning/ContentWarningPopup.xaml create mode 100644 Content.Client/_Funkystation/ContentWarning/ContentWarningPopup.xaml.cs create mode 100644 Content.Client/_Funkystation/ContentWarning/ContentWarningUIController.cs create mode 100644 Content.Shared/_Funkystation/CCVars/CCVars.Funky.cs create mode 100644 Resources/Locale/en-US/_Funkystation/content_warning.ftl diff --git a/Content.Client/_Funkystation/ContentWarning/ContentWarningPopup.xaml b/Content.Client/_Funkystation/ContentWarning/ContentWarningPopup.xaml new file mode 100644 index 00000000000..fd74cdab396 --- /dev/null +++ b/Content.Client/_Funkystation/ContentWarning/ContentWarningPopup.xaml @@ -0,0 +1,24 @@ + + +