Browse Source

Revert "feat(replay): add viewed_by_ids to replay search fields (#69364)"

This reverts commit a2db40f1cec9e0e0178f67f80f08dc86c24efd9f.

Co-authored-by: aliu3ntry <159852527+aliu3ntry@users.noreply.github.com>
getsentry-bot 10 months ago
parent
commit
46c5f6161b
1 changed files with 1 additions and 15 deletions
  1. 1 15
      static/app/utils/fields/index.ts

+ 1 - 15
static/app/utils/fields/index.ts

@@ -1237,9 +1237,7 @@ export enum ReplayFieldKey {
   ERROR_IDS = 'error_ids',
   OS_NAME = 'os.name',
   OS_VERSION = 'os.version',
-  SEEN_BY_ID = 'seen_by_id',
   URLS = 'urls',
-  VIEWED_BY_ID = 'viewed_by_id',
 }
 
 export enum ReplayClickFieldKey {
@@ -1290,14 +1288,12 @@ export const REPLAY_FIELDS = [
   FieldKey.RELEASE,
   FieldKey.SDK_NAME,
   FieldKey.SDK_VERSION,
-  ReplayFieldKey.SEEN_BY_ID,
   FieldKey.TRACE,
   ReplayFieldKey.URLS,
   FieldKey.USER_EMAIL,
   FieldKey.USER_ID,
   FieldKey.USER_IP,
   FieldKey.USER_USERNAME,
-  ReplayFieldKey.VIEWED_BY_ID,
 ];
 
 const REPLAY_FIELD_DEFINITIONS: Record<ReplayFieldKey, FieldDefinition> = {
@@ -1361,21 +1357,11 @@ const REPLAY_FIELD_DEFINITIONS: Record<ReplayFieldKey, FieldDefinition> = {
     kind: FieldKind.FIELD,
     valueType: FieldValueType.STRING,
   },
-  [ReplayFieldKey.SEEN_BY_ID]: {
-    desc: t('Sentry user ID(s) who have seen this replay'),
-    kind: FieldKind.FIELD,
-    valueType: FieldValueType.INTEGER,
-  },
   [ReplayFieldKey.URLS]: {
-    desc: t('List of urls that were visited within the replay'),
+    desc: t('List of urls that were visited within the Replay'),
     kind: FieldKind.FIELD,
     valueType: FieldValueType.STRING,
   },
-  [ReplayFieldKey.VIEWED_BY_ID]: {
-    desc: t('Sentry user ID(s) who have seen this replay'),
-    kind: FieldKind.FIELD,
-    valueType: FieldValueType.INTEGER,
-  },
 };
 
 export const REPLAY_CLICK_FIELDS = [