Skip to content

Commit

Permalink
chore(survey): disable css survey (#6580)
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Jun 22, 2022
1 parent 97abcf5 commit 58d8481
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions client/src/ui/molecules/document-survey/surveys.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Doc } from "../../../document/types";
import { survey_duration, survey_rates } from "../../../env";

export interface Survey {
key: SurveyKey;
Expand All @@ -26,29 +25,4 @@ enum SurveyKey {
CSS_CASCADE_2022_B = "CSS_CASCADE_2022_B",
}

export const SURVEYS: Survey[] = [
{
key: SurveyKey.CSS_CASCADE_2022_B,
bucket: SurveyBucket.CSS_CASCADE_2022,
show: (doc: Doc) =>
/en-US\/docs\/(Learn|Web)\/CSS(\/|$)/i.test(doc.mdn_url),
src: "https://www.surveygizmo.com/s3/6818801/MDN-Short-survey-CSS-Cascade-Layers",
teaser:
"Shape the future of the web by taking a 1-3 questions micro survey:",
question: "What's your experience with Cascade Layers?",
...survey_duration(SurveyBucket.CSS_CASCADE_2022),
...survey_rates(SurveyKey.CSS_CASCADE_2022_B),
},
{
key: SurveyKey.CSS_CASCADE_2022_A,
bucket: SurveyBucket.CSS_CASCADE_2022,
show: (doc: Doc) =>
/en-US\/docs\/(Learn|Web)\/CSS(\/|$)/i.test(doc.mdn_url),
src: "https://www.surveygizmo.com/s3/6898398/CSS-Cascade-Layers-A",
teaser:
"Shape the future of the web by taking a 1-3 questions micro survey:",
question: "What's your experience with Cascade Layers?",
...survey_duration(SurveyBucket.CSS_CASCADE_2022),
...survey_rates(SurveyKey.CSS_CASCADE_2022_A),
},
];
export const SURVEYS: Survey[] = [];

0 comments on commit 58d8481

Please sign in to comment.