From 46ccfc5d93c4fd03ee244dd7a39819e84e67235c Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Thu, 18 Feb 2021 08:29:17 -0800 Subject: [PATCH] Run AB test on survey stars (#17861) * Run AB test on survey stars * Update browser.js * Use text stars instead of primer ones * Update experiment.js --- data/ui.yml | 6 -- includes/helpfulness.html | 32 ----------- javascripts/experiment.js | 85 +++++++++++++++++++++++++++- javascripts/helpfulness.js | 111 ++++++++++++++++--------------------- tests/browser/browser.js | 2 +- 5 files changed, 132 insertions(+), 104 deletions(-) diff --git a/data/ui.yml b/data/ui.yml index f66f2ced6f6a..1979c0563eb2 100644 --- a/data/ui.yml +++ b/data/ui.yml @@ -48,12 +48,6 @@ helpfulness: yes_feedback: Want to learn about new docs features and updates? Sign up for updates! email_placeholder: email@example.com no_feedback: We're continually improving our docs. We'd love to hear how we can do better. - category_label: What problem did you have? - category_default: Choose an option - category_unclear: Information was unclear - category_confusing: The content was confusing - category_unhelpful: The article didn't answer my question - category_other: Other comment_label: Let us know what we can do better optional: Optional required: Required diff --git a/includes/helpfulness.html b/includes/helpfulness.html index e094c1c8f0b2..a925b179ed47 100644 --- a/includes/helpfulness.html +++ b/includes/helpfulness.html @@ -52,38 +52,6 @@ name="helpfulness-token" aria-hidden="true" /> -