From f2fb476fa7ea46496f195f56034de5a59c61aa27 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 27 Oct 2016 05:49:49 +0000 Subject: Bug 1292679 - Custom form for Shield Studies --- .../comment-shield-studies-data-review.txt.tmpl | 28 +++ .../create/comment-shield-studies-legal.txt.tmpl | 16 ++ ...comment-shield-studies-shipping-status.txt.tmpl | 25 +++ ...mment-shield-studies-validation-review.txt.tmpl | 34 ++++ .../bug/create/comment-shield-studies.txt.tmpl | 64 ++++++ .../bug/create/create-shield-studies.html.tmpl | 217 +++++++++++++++++++++ 6 files changed, 384 insertions(+) create mode 100644 extensions/BMO/template/en/default/bug/create/comment-shield-studies-data-review.txt.tmpl create mode 100644 extensions/BMO/template/en/default/bug/create/comment-shield-studies-legal.txt.tmpl create mode 100644 extensions/BMO/template/en/default/bug/create/comment-shield-studies-shipping-status.txt.tmpl create mode 100644 extensions/BMO/template/en/default/bug/create/comment-shield-studies-validation-review.txt.tmpl create mode 100644 extensions/BMO/template/en/default/bug/create/comment-shield-studies.txt.tmpl create mode 100644 extensions/BMO/template/en/default/bug/create/create-shield-studies.html.tmpl (limited to 'extensions/BMO/template/en/default/bug/create') diff --git a/extensions/BMO/template/en/default/bug/create/comment-shield-studies-data-review.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-shield-studies-data-review.txt.tmpl new file mode 100644 index 000000000..358ebd398 --- /dev/null +++ b/extensions/BMO/template/en/default/bug/create/comment-shield-studies-data-review.txt.tmpl @@ -0,0 +1,28 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% USE Bugzilla %] +[% cgi = Bugzilla.cgi %] + +> If you have extended Telemetry or custom instrumentation, why are you taking these additional measurements? +[%+ cgi.param('additional_measurements') %] + +> Will your study require third-party data collection? +[%+ cgi.param('third_party_data') %] + +> Please include a sample payload that your study will submit via Unified Telemetry. +[%+ cgi.param('sample_payload') %] + +> Who is the owner of the data analysis for this study? +[%+ cgi.param('data_owner') %] + +> Does your data analyst have an analysis plan? +[%+ cgi.param('analysis_plan') %] + +> How long will your study run? +[%+ cgi.param('study_length') %] diff --git a/extensions/BMO/template/en/default/bug/create/comment-shield-studies-legal.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-shield-studies-legal.txt.tmpl new file mode 100644 index 000000000..17f38993c --- /dev/null +++ b/extensions/BMO/template/en/default/bug/create/comment-shield-studies-legal.txt.tmpl @@ -0,0 +1,16 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% USE Bugzilla %] +[% cgi = Bugzilla.cgi %]a + +> Pleasese include a link to the consent form. +[%+ cgi.param('consent_form') %] + +> Please include a link to debrief survey. +[%+ cgi.param('debrief_survey') %] diff --git a/extensions/BMO/template/en/default/bug/create/comment-shield-studies-shipping-status.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-shield-studies-shipping-status.txt.tmpl new file mode 100644 index 000000000..190fa0631 --- /dev/null +++ b/extensions/BMO/template/en/default/bug/create/comment-shield-studies-shipping-status.txt.tmpl @@ -0,0 +1,25 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% USE Bugzilla %] +[% cgi = Bugzilla.cgi %] + +> Targeted locales +[%+ cgi.param('targetted_locales') %] + +> Sampling rates +[%+ cgi.param('sampling_rates') %] + +> Channel(s) +[%+ cgi.param('channels') %] + +> What is the sample size needed? +[%+ cgi.param('sample_size') %] + +> How long will your study run? +[%+ cgi.param('study_length') %] diff --git a/extensions/BMO/template/en/default/bug/create/comment-shield-studies-validation-review.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-shield-studies-validation-review.txt.tmpl new file mode 100644 index 000000000..b3963d633 --- /dev/null +++ b/extensions/BMO/template/en/default/bug/create/comment-shield-studies-validation-review.txt.tmpl @@ -0,0 +1,34 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% USE Bugzilla %] +[% cgi = Bugzilla.cgi %] + +> What is your hypothesis? +[%+ cgi.param('hypothesis') %] + +> Define the branches of your proposed study +[%+ cgi.param('branches') %] + +> What is the main effect you are looking for? +[%+ cgi.param('main_effect') %] + +> How will this effect be measured? +[%+ cgi.param('effect_measured') %] + +> What is the sample size needed? +[%+ cgi.param('sample_size') %] + +> If there is prior art or previous results? +[%+ cgi.param('prior_art') %] + +> How do you intend to test your study prior to launch? +[%+ cgi.param('test_method') %] + +> How long will your study run? +[%+ cgi.param('study_length') %] diff --git a/extensions/BMO/template/en/default/bug/create/comment-shield-studies.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-shield-studies.txt.tmpl new file mode 100644 index 000000000..c9217d002 --- /dev/null +++ b/extensions/BMO/template/en/default/bug/create/comment-shield-studies.txt.tmpl @@ -0,0 +1,64 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% USE Bugzilla %] +[% cgi = Bugzilla.cgi %] + +> What is your hypothesis? +[%+ cgi.param('hypothesis') %] + +> Define the branches of your proposed study +[%+ cgi.param('branches') %] + +> What is the main effect you are looking for? +[%+ cgi.param('main_effect') %] + +> How will this effect be measured? +[%+ cgi.param('effect_measured') %] + +> What is the sample size needed? +[%+ cgi.param('sample_size') %] + +> If there is prior art or previous results? +[%+ cgi.param('prior_art') %] + +> How do you intend to test your study prior to launch? +[%+ cgi.param('test_method') %] + +> How long will your study run? +[%+ cgi.param('study_length') %] + +> Targeted locales +[%+ cgi.param('targetted_locales') %] + +> Sampling rates +[%+ cgi.param('sampling_rates') %] + +> Channel(s) +[%+ cgi.param('channels') %] + +> If you have extended Telemetry or custom instrumentation, why are you taking these additional measurements? +[%+ cgi.param('additional_measurements') %] + +> Will your study require third-party data collection? +[%+ cgi.param('third_party_data') %] + +> Please include a sample payload that your study will submit via Unified Telemetry. +[%+ cgi.param('sample_payload') %] + +> Who is the owner of the data analysis for this study? +[%+ cgi.param('data_owner') %] + +> Does your data analyst have an analysis plan? +[%+ cgi.param('analysis_plan') %] + +> Pleasese include a link to the consent form. +[%+ cgi.param('consent_form') %] + +> Please include a link to debrief survey. +[%+ cgi.param('debrief_survey') %] diff --git a/extensions/BMO/template/en/default/bug/create/create-shield-studies.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-shield-studies.html.tmpl new file mode 100644 index 000000000..9bc6c0de0 --- /dev/null +++ b/extensions/BMO/template/en/default/bug/create/create-shield-studies.html.tmpl @@ -0,0 +1,217 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% PROCESS global/variables.none.tmpl %] + +[% inline_css = BLOCK %] +#shieldStudies .required:after { + content: " *"; + color: red; +} +#shieldStudies h3 { + color: rgb(109, 117, 129); +} +#shieldStudies .field_label { + text-align: left; + font-weight: bold; + display: block; +} +#shieldStudies .field_desc { + word-wrap: normal; +} +#shieldStudies .form_section { + margin-bottom: 1em; + padding-left: 1em; +} +[% END %] + +[% PROCESS global/header.html.tmpl + title = "Shield Studies Form" + style = inline_css + javascript_urls = [ 'extensions/BMO/web/js/shield_studies.js' ] +%] + +

Shield Studies Form

+ +

+ [ * Required Field ] +

+ +
+ + + + + + + + + + + + +

Study Validation Review

+ +
+ +
+ What are you testing? +
+ +
+ +
+ + +
+ +
+ + +
+ +
+ +
+ I.e., what is your instrumentation? +
+ +
+ +
+ + +
+ +
+ +
+ I.e.,such as testpilot, usertesting.com, field research, etc. Please list it here. +
+ +
+ +
+ +
+ Moco wide, team only, etc. +
+ +
+ +
+ +
+ Expected ship dates and field dates. +
+ +
+ +

Shipping Status

+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +

Data Review

+ +
+ + +
+ +
+ +
+ I.e., Google analytics, loggly, any Apache server logs, etc. +
+ +
+ +
+ +
+ This must reside in the /docs/metrics.md of your repository or some similar location (core to the add-on code). +
+ +
+ +
+ + +
+ +
+ + +
+ +

Legal Review

+ +
+ + +
+ +
+ + +
+ + + +
+ +[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b