Launch "reduce whitespace" feature
Fixed: twpowertools:130
Change-Id: I4d5f7d9b49338a9eeaea837f7a4ef574161550aa
diff --git a/src/common/optionsPrototype.json5 b/src/common/optionsPrototype.json5
index 0854647..b1a74e3 100644
--- a/src/common/optionsPrototype.json5
+++ b/src/common/optionsPrototype.json5
@@ -134,6 +134,11 @@
context: 'options',
killSwitchType: 'ignore',
},
+ 'uispacing': {
+ defaultValue: false,
+ context: 'options',
+ killSwitchType: 'option',
+ },
// Experiments:
'workflows': {
@@ -151,11 +156,6 @@
context: 'experiments',
killSwitchType: 'experiment',
},
- 'uispacing': {
- defaultValue: false,
- context: 'experiments',
- killSwitchType: 'experiment',
- },
// Internal options:
'ccdarktheme_switch_enabled': {
diff --git a/src/options/optionsPage.json5 b/src/options/optionsPage.json5
index a5c9ff5..1b4f4d3 100644
--- a/src/options/optionsPage.json5
+++ b/src/options/optionsPage.json5
@@ -44,6 +44,7 @@
{codename: 'repositionexpandthread', experimental: true},
{codename: 'imagemaxheight'},
{codename: 'interopthreadpage'},
+ {codename: 'uispacing'},
],
},
],
diff --git a/src/static/options/experiments.html b/src/static/options/experiments.html
index 5eddef5..615d5ec 100644
--- a/src/static/options/experiments.html
+++ b/src/static/options/experiments.html
@@ -16,7 +16,6 @@
<div class="option"><input type="checkbox" id="workflows"> <label for="workflows" data-i18n="workflows"></label> <button id="manage-workflows" data-i18n="workflows_manage"></button></div>
<div class="option"><input type="checkbox" id="extrainfo"> <label for="extrainfo" data-i18n="extrainfo"></label></div>
<div class="option"><input type="checkbox" id="nestedreplies"> <label for="nestedreplies" data-i18n="nestedreplies"></label></div>
- <div class="option"><input type="checkbox" id="uispacing"> <label for="uispacing" data-i18n="uispacing"></label></div>
<div class="actions"><button id="save" data-i18n="save"></button></div>
</form>
<div id="save-indicator"></div>