diff --git a/frontend/__snapshots__/scenes-app-sidepanels--side-panel-docs--dark.png b/frontend/__snapshots__/scenes-app-sidepanels--side-panel-docs--dark.png index 29fe5a51e80b4..98c143d93d5b7 100644 Binary files a/frontend/__snapshots__/scenes-app-sidepanels--side-panel-docs--dark.png and b/frontend/__snapshots__/scenes-app-sidepanels--side-panel-docs--dark.png differ diff --git a/frontend/__snapshots__/scenes-app-sidepanels--side-panel-docs--light.png b/frontend/__snapshots__/scenes-app-sidepanels--side-panel-docs--light.png index 71f9dac33c3cd..20db67811b7c3 100644 Binary files a/frontend/__snapshots__/scenes-app-sidepanels--side-panel-docs--light.png and b/frontend/__snapshots__/scenes-app-sidepanels--side-panel-docs--light.png differ diff --git a/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistLogic.test.ts b/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistLogic.test.ts index 34d594bbaaf83..c81479cbf6c89 100644 --- a/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistLogic.test.ts +++ b/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistLogic.test.ts @@ -525,7 +525,7 @@ describe('sessionRecordingsPlaylistLogic', () => { filters: { date_from: '-3d', date_to: null, - duration: [{ key: 'duration', operator: 'gt', type: 'recording', value: 1 }], + duration: [{ key: 'active_seconds', operator: 'gt', type: 'recording', value: 5 }], filter_group: { type: FilterLogicalOperator.And, values: [ @@ -793,10 +793,10 @@ describe('sessionRecordingsPlaylistLogic', () => { filter_test_accounts: false, having_predicates: [ { - key: 'duration', + key: 'active_seconds', operator: 'gt', type: 'recording', - value: 1, + value: 5, }, ], kind: 'RecordingsQuery', @@ -815,10 +815,10 @@ describe('sessionRecordingsPlaylistLogic', () => { date_to: null, duration: [ { - key: 'duration', + key: 'active_seconds', operator: 'gt', type: 'recording', - value: 1, + value: 5, }, ], filter_group: { diff --git a/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistLogic.ts b/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistLogic.ts index bc238b4a35e14..a74ae5fc08b09 100644 --- a/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistLogic.ts +++ b/frontend/src/scenes/session-recordings/playlist/sessionRecordingsPlaylistLogic.ts @@ -72,8 +72,8 @@ export const PINNED_RECORDINGS_LIMIT = 100 // NOTE: This is high but avoids the export const defaultRecordingDurationFilter: RecordingDurationFilter = { type: PropertyFilterType.Recording, - key: 'duration', - value: 1, + key: 'active_seconds', + value: 5, operator: PropertyOperator.GreaterThan, } @@ -199,7 +199,7 @@ export function convertLegacyFiltersToUniversalFilters( ? DEFAULT_RECORDING_FILTERS['filter_test_accounts'] : filters.filter_test_accounts, duration: filters.session_recording_duration - ? [{ ...filters.session_recording_duration, key: filters.duration_type_filter || 'duration' }] + ? [{ ...filters.session_recording_duration, key: filters.duration_type_filter || 'active_seconds' }] : DEFAULT_RECORDING_FILTERS['duration'], filter_group: { type: FilterLogicalOperator.And,