chore: deprecate "fix CC slowness" feature
The bug has been fixed in the Community Console as per
https://support.google.com/s/community/forum/51488989/thread/269560789/message/277336217.
In the medium term we should remove the feature code from the codebase
once we're sure it won't be needed anymore.
Change-Id: I91715238df8fbe73800885209a28c15c29b703b3
diff --git a/src/xhrInterceptor/responseModifiers/index.js b/src/xhrInterceptor/responseModifiers/index.js
index e736593..057960f 100644
--- a/src/xhrInterceptor/responseModifiers/index.js
+++ b/src/xhrInterceptor/responseModifiers/index.js
@@ -4,15 +4,11 @@
import createMessageRemoveParentRef from './createMessageRemoveParentRef.js';
import flattenThread from './flattenThread.js';
import loadMoreThread from './loadMoreThread.js';
-import removeUserAbuseEventsInViewForum from './removeUserAbuseEventsInViewForum.js';
-import removeUserAbuseEventsInViewThread from './removeUserAbuseEventsInViewThread.js';
export const responseModifiers = [
loadMoreThread,
flattenThread,
createMessageRemoveParentRef,
- removeUserAbuseEventsInViewForum,
- removeUserAbuseEventsInViewThread,
];
// Content script target
diff --git a/src/xhrInterceptor/responseModifiers/removeUserAbuseEventsInViewForum.js b/src/xhrInterceptor/responseModifiers/removeUserAbuseEventsInViewForum.js
index eb40e8e..9d4e713 100644
--- a/src/xhrInterceptor/responseModifiers/removeUserAbuseEventsInViewForum.js
+++ b/src/xhrInterceptor/responseModifiers/removeUserAbuseEventsInViewForum.js
@@ -1,3 +1,7 @@
+/**
+ * @deprecated The feature behind this response modifier has been deprecated.
+ * This code will soon be removed once we're sure the feature won't come back.
+ */
const removeUserAbuseEventsInViewForum = {
urlRegex: /api\/ViewForum/i,
featureGated: true,
diff --git a/src/xhrInterceptor/responseModifiers/removeUserAbuseEventsInViewThread.js b/src/xhrInterceptor/responseModifiers/removeUserAbuseEventsInViewThread.js
index ccaeb95..37ad79b 100644
--- a/src/xhrInterceptor/responseModifiers/removeUserAbuseEventsInViewThread.js
+++ b/src/xhrInterceptor/responseModifiers/removeUserAbuseEventsInViewThread.js
@@ -1,3 +1,7 @@
+/**
+ * @deprecated The feature behind this response modifier has been deprecated.
+ * This code will soon be removed once we're sure the feature won't come back.
+ */
const removeUserAbuseEventsInViewThread = {
urlRegex: /api\/ViewThread/i,
featureGated: true,