Skip to content

Commit 1759ff5

Browse files
aliu39roaga
authored andcommitted
ref(replay): add is_archived to search typeahead (#92041)
Closes getsentry/team-replay#583 <img width="761" alt="Screenshot 2025-05-21 at 11 07 54 AM" src="https://github.com/user-attachments/assets/7aa4a497-8e61-4dda-9519-54a3d6c89d54" />
1 parent c57767a commit 1759ff5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

static/app/utils/fields/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2184,6 +2184,7 @@ export enum ReplayFieldKey {
21842184
COUNT_URLS = 'count_urls',
21852185
DURATION = 'duration',
21862186
ERROR_IDS = 'error_ids',
2187+
IS_ARCHIVED = 'is_archived',
21872188
OS_NAME = 'os.name',
21882189
OS_VERSION = 'os.version',
21892190
REPLAY_TYPE = 'replay_type',
@@ -2242,6 +2243,7 @@ export const REPLAY_FIELDS = [
22422243
ReplayFieldKey.DURATION,
22432244
ReplayFieldKey.ERROR_IDS,
22442245
FieldKey.ID,
2246+
ReplayFieldKey.IS_ARCHIVED,
22452247
ReplayFieldKey.OS_NAME,
22462248
ReplayFieldKey.OS_VERSION,
22472249
FieldKey.PLATFORM,
@@ -2330,6 +2332,11 @@ const REPLAY_FIELD_DEFINITIONS: Record<ReplayFieldKey, FieldDefinition> = {
23302332
kind: FieldKind.FIELD,
23312333
valueType: FieldValueType.STRING,
23322334
},
2335+
[ReplayFieldKey.IS_ARCHIVED]: {
2336+
desc: t('Whether the replay has been archived'),
2337+
kind: FieldKind.FIELD,
2338+
valueType: FieldValueType.BOOLEAN,
2339+
},
23332340
[ReplayFieldKey.OS_NAME]: {
23342341
desc: t('Name of the Operating System'),
23352342
kind: FieldKind.FIELD,

0 commit comments

Comments
 (0)