Skip to content

Commit

Permalink
chore(flags, activity): show $feature_flag_payload as official PostHo…
Browse files Browse the repository at this point in the history
…g evt property (#26497)
  • Loading branch information
havenbarnes authored Dec 2, 2024
1 parent 5353455 commit 48d932f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ee/hogai/taxonomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,11 @@ class CoreFilterDefinition(TypedDict):
"description": "What the call to feature flag responded with.",
"examples": ["true", "false"],
},
"$feature_flag_payload": {
"label": "Feature Flag Response Payload",
"description": "The JSON payload that the call to feature flag responded with (if any)",
"examples": ['{"variant": "test"}'],
},
"$feature_flag": {
"label": "Feature Flag",
"description": 'The feature flag that was called.\n\nWarning! This only works in combination with the $feature_flag_called event. If you want to filter other events, try "Active Feature Flags".',
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/lib/taxonomy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,11 @@ export const CORE_FILTER_DEFINITIONS_BY_GROUP = {
description: 'What the call to feature flag responded with.',
examples: ['true', 'false'],
},
$feature_flag_payload: {
label: 'Feature Flag Response Payload',
description: 'The JSON payload that the call to feature flag responded with (if any)',
examples: ['{"variant": "test"}'],
},
$feature_flag: {
label: 'Feature Flag',
description: (
Expand Down

0 comments on commit 48d932f

Please sign in to comment.