-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: team activity desceriber (#20962)
- Loading branch information
1 parent
9bf0a62
commit 9de88e7
Showing
2 changed files
with
92 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,76 @@ import { ActivityLogItem } from 'lib/components/ActivityLog/humanizeActivity' | |
import { ActivityScope, InsightShortId } from '~/types' | ||
|
||
export const teamActivityResponseJson: ActivityLogItem[] = [ | ||
{ | ||
user: { | ||
first_name: 'Ben', | ||
last_name: 'White', | ||
email: '[email protected]', | ||
}, | ||
unread: false, | ||
is_system: false, | ||
activity: 'updated', | ||
item_id: '2', | ||
scope: ActivityScope.TEAM, | ||
detail: { | ||
merge: null, | ||
name: '🦔 PostHog App + Website', | ||
type: undefined, | ||
changes: [ | ||
{ | ||
type: ActivityScope.TEAM, | ||
after: { | ||
recordBody: false, | ||
recordHeaders: false, | ||
}, | ||
field: 'session_recording_network_payload_capture_config', | ||
action: 'changed', | ||
before: { | ||
recordBody: false, | ||
recordHeaders: true, | ||
}, | ||
}, | ||
], | ||
trigger: null, | ||
short_id: null, | ||
}, | ||
created_at: '2024-03-08T12:55:02.795667Z', | ||
}, | ||
{ | ||
user: { | ||
first_name: 'Paul', | ||
last_name: "D'Ambra", | ||
email: '[email protected]', | ||
}, | ||
unread: false, | ||
is_system: false, | ||
activity: 'updated', | ||
item_id: '2', | ||
scope: ActivityScope.TEAM, | ||
detail: { | ||
merge: null, | ||
name: '🦔 PostHog App + Website', | ||
type: undefined, | ||
changes: [ | ||
{ | ||
type: ActivityScope.TEAM, | ||
after: { | ||
recordBody: true, | ||
recordHeaders: false, | ||
}, | ||
field: 'session_recording_network_payload_capture_config', | ||
action: 'changed', | ||
before: { | ||
recordBody: false, | ||
recordHeaders: true, | ||
}, | ||
}, | ||
], | ||
trigger: null, | ||
short_id: null, | ||
}, | ||
created_at: '2024-03-11T14:36:31.179297Z', | ||
}, | ||
{ | ||
user: { | ||
first_name: 'sdavasdadadsadas', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters