Launch autoRefreshLists feature
This CL promotes the feature from an experiment to an option, and adds
the docs for the feature.
Fixed: twpowertools:25
Change-Id: Ic9a37298b1d1fe4b6c0d4810ecb03253392f456c
diff --git a/src/common/optionsPrototype.json5 b/src/common/optionsPrototype.json5
index 80020ce..5f13077 100644
--- a/src/common/optionsPrototype.json5
+++ b/src/common/optionsPrototype.json5
@@ -100,14 +100,14 @@
context: 'options',
killSwitchType: 'option',
},
-
- // Experiments:
'autorefreshlist': {
defaultValue: false,
- context: 'experiments',
- killSwitchType: 'experiment',
+ context: 'options',
+ killSwitchType: 'option',
},
+ // Experiments:
+
// Internal options:
'ccdarktheme_switch_enabled': {
defaultValue: true,
diff --git a/src/options/optionsPage.json5 b/src/options/optionsPage.json5
index 9647dd6..9f6e7fd 100644
--- a/src/options/optionsPage.json5
+++ b/src/options/optionsPage.json5
@@ -27,6 +27,7 @@
{codename: 'enhancedannouncementsdot'},
{codename: 'repositionexpandthread', experimental: true},
{codename: 'threadlistavatars'},
+ {codename: 'autorefreshlist'},
],
},
{
diff --git a/src/static/options/experiments.html b/src/static/options/experiments.html
index b835e17..f5452fa 100644
--- a/src/static/options/experiments.html
+++ b/src/static/options/experiments.html
@@ -12,7 +12,6 @@
<h1 data-i18n="experiments_title"></h1>
<p data-i18n="experiments_description"></p>
<form>
- <div class="option"><input type="checkbox" id="autorefreshlist"> <label for="autorefreshlist" data-i18n="autorefreshlist"></label></div>
<div class="actions"><button id="save" data-i18n="save"></button></div>
</form>
<div id="save-indicator"></div>