Skip to content

Commit aeb3a4e

Browse files
authored
Add the Follow Up Questions feature flag (datacommonsorg#5216)
Added the experiment and general audience feature flag for the Follow Up Questions feature.
1 parent ed349af commit aeb3a4e

6 files changed

Lines changed: 62 additions & 0 deletions

File tree

server/config/feature_flag_configs/autopush.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@
2323
"owner": "dwnoble",
2424
"description": "Feature flag to redirect the Fact Check page to the new ClaimReview page."
2525
},
26+
{
27+
"name": "follow_up_questions_experiment",
28+
"enabled": false,
29+
"owner": "javiervazquez",
30+
"description": "Enables the follow up questions generated from related topics as an experiment."
31+
},
32+
{
33+
"name": "follow_up_questions_ga",
34+
"enabled": false,
35+
"owner": "javiervazquez",
36+
"description": "Enables the follow up questions generated from related topics to general audience."
37+
},
2638
{
2739
"name": "metadata_modal",
2840
"enabled": true,

server/config/feature_flag_configs/custom.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@
2323
"owner": "dwnoble",
2424
"description": "Feature flag to redirect the Fact Check page to the new ClaimReview page."
2525
},
26+
{
27+
"name": "follow_up_questions_experiment",
28+
"enabled": false,
29+
"owner": "javiervazquez",
30+
"description": "Enables the follow up questions generated from related topics as an experiment."
31+
},
32+
{
33+
"name": "follow_up_questions_ga",
34+
"enabled": false,
35+
"owner": "javiervazquez",
36+
"description": "Enables the follow up questions generated from related topics to general audience."
37+
},
2638
{
2739
"name": "metadata_modal",
2840
"enabled": false,

server/config/feature_flag_configs/dev.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@
2323
"owner": "dwnoble",
2424
"description": "Feature flag to redirect the Fact Check page to the new ClaimReview page."
2525
},
26+
{
27+
"name": "follow_up_questions_experiment",
28+
"enabled": false,
29+
"owner": "javiervazquez",
30+
"description": "Enables the follow up questions generated from related topics as an experiment."
31+
},
32+
{
33+
"name": "follow_up_questions_ga",
34+
"enabled": false,
35+
"owner": "javiervazquez",
36+
"description": "Enables the follow up questions generated from related topics to general audience."
37+
},
2638
{
2739
"name": "metadata_modal",
2840
"enabled": false,

server/config/feature_flag_configs/local.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@
2323
"owner": "dwnoble",
2424
"description": "Feature flag to redirect the Fact Check page to the new ClaimReview page."
2525
},
26+
{
27+
"name": "follow_up_questions_experiment",
28+
"enabled": false,
29+
"owner": "javiervazquez",
30+
"description": "Enables the follow up questions generated from related topics as an experiment."
31+
},
32+
{
33+
"name": "follow_up_questions_ga",
34+
"enabled": false,
35+
"owner": "javiervazquez",
36+
"description": "Enables the follow up questions generated from related topics to general audience."
37+
},
2638
{
2739
"name": "metadata_modal",
2840
"enabled": true,

server/config/feature_flag_configs/staging.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@
2323
"owner": "dwnoble",
2424
"description": "Feature flag to redirect the Fact Check page to the new ClaimReview page."
2525
},
26+
{
27+
"name": "follow_up_questions_experiment",
28+
"enabled": false,
29+
"owner": "javiervazquez",
30+
"description": "Enables the follow up questions generated from related topics as an experiment."
31+
},
32+
{
33+
"name": "follow_up_questions_ga",
34+
"enabled": false,
35+
"owner": "javiervazquez",
36+
"description": "Enables the follow up questions generated from related topics to general audience."
37+
},
2638
{
2739
"name": "metadata_modal",
2840
"enabled": false,

static/js/shared/feature_flags/util.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
// Feature flag names
1818
export const AUTOCOMPLETE_FEATURE_FLAG = "autocomplete";
1919
export const METADATA_FEATURE_FLAG = "metadata_modal";
20+
export const FOLLOW_UP_QUESTIONS_EXPERIMENT = "follow_up_questions_experiment";
21+
export const FOLLOW_UP_QUESTIONS_GA = "follow_up_questions_ga";
2022

2123
// Feature flag URL parameters
2224
export const ENABLE_FEATURE_URL_PARAM = "enable_feature";

0 commit comments

Comments
 (0)