From 013abaffe2d3aaa5885ec6b11f8a5de180d85842 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 25 Apr 2016 13:10:35 +0200 Subject: [PATCH] Enhanced user ignore feature * Regular content by ignored users is now converted into grayscale with a non-hover opacity of .5 * Messages are collapsed to a single notice, but will reveal the full message on click * Blocking a follower will now remove the follower-state and block future attempts to follow again while still being blocked --- .../templates/boxRecentActivitySidebar.tpl | 2 +- .../templates/recentActivityListItem.tpl | 2 +- com.woltlab.wcf/templates/user.tpl | 6 +- .../files/js/WoltLab/WCF/BootstrapFrontend.js | 6 +- .../files/js/WoltLab/WCF/Ui/User/Ignore.js | 65 +++++++++++++++++++ .../user/follow/UserFollowAction.class.php | 17 ++++- .../user/ignore/UserIgnoreAction.class.php | 41 +++++++++--- .../install/files/style/ui/userIgnore.scss | 34 ++++++++++ 8 files changed, 158 insertions(+), 15 deletions(-) create mode 100644 wcfsetup/install/files/js/WoltLab/WCF/Ui/User/Ignore.js create mode 100644 wcfsetup/install/files/style/ui/userIgnore.scss diff --git a/com.woltlab.wcf/templates/boxRecentActivitySidebar.tpl b/com.woltlab.wcf/templates/boxRecentActivitySidebar.tpl index 695cdc08f0..6518452aca 100644 --- a/com.woltlab.wcf/templates/boxRecentActivitySidebar.tpl +++ b/com.woltlab.wcf/templates/boxRecentActivitySidebar.tpl @@ -1,6 +1,6 @@