Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename addon studies to opt-out studies fixes #517 #530

Merged
merged 1 commit into from
Sep 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/experimenter/experiments/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ExperimentConstants(object):

TYPE_CHOICES = (
(TYPE_PREF, "Pref-Flip Study"),
(TYPE_ADDON, "Addon Study"),
(TYPE_ADDON, "Opt-Out Study"),
)

# Status stuff
Expand Down Expand Up @@ -137,7 +137,7 @@ class ExperimentConstants(object):
for users that enroll into the experiment.
</p>
<p>
An <strong>Addon Study</strong> sends a Firefox addon which
An <strong>Opt-Out Study</strong> sends a Firefox addon which
contains the code for the experimental feature to the users that
enroll in the study. After the experiment is complete, that addon
is automatically removed.
Expand Down Expand Up @@ -636,7 +636,7 @@ class ExperimentConstants(object):

BUGZILLA_ADDON_TEMPLATE = (
"""
Experiment Type: Addon Study
Experiment Type: Opt-Out Study

What are the branches of the study:

Expand Down
25 changes: 25 additions & 0 deletions app/experimenter/experiments/migrations/0020_auto_20180912_1838.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.15 on 2018-09-12 18:38
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [("experiments", "0019_auto_20180912_1408")]

operations = [
migrations.AlterField(
model_name="experiment",
name="type",
field=models.CharField(
choices=[
("pref", "Pref-Flip Study"),
("addon", "Opt-Out Study"),
],
default="pref",
max_length=255,
),
)
]