feat(bulk-report-replies): launch feature
This commit promotes the "bulk report replies" feature from an
experiment to a full-fledged feature.
Fixed: twpowertools:192
Change-Id: I6a6a636c1c6b458f760a7555624cd98726fc173b
diff --git a/src/common/options/optionsPrototype.ts b/src/common/options/optionsPrototype.ts
index fa38b1b..bca3d7e 100644
--- a/src/common/options/optionsPrototype.ts
+++ b/src/common/options/optionsPrototype.ts
@@ -146,6 +146,11 @@
context: OptionContext.Options,
killSwitchType: KillSwitchType.Option,
},
+ bulkreportreplies: {
+ defaultValue: false,
+ context: OptionContext.Options,
+ killSwitchType: KillSwitchType.Option,
+ },
// Experiments
workflows: {
@@ -158,11 +163,6 @@
context: OptionContext.Experiments,
killSwitchType: KillSwitchType.Experiment,
},
- bulkreportreplies: {
- defaultValue: false,
- context: OptionContext.Experiments,
- killSwitchType: KillSwitchType.Experiment,
- },
// Internal options
ccdarktheme_switch_status: {
diff --git a/src/options/optionsPage.json5 b/src/options/optionsPage.json5
index 9435ece..552e1ae 100644
--- a/src/options/optionsPage.json5
+++ b/src/options/optionsPage.json5
@@ -15,6 +15,7 @@
{codename: 'history'},
{codename: 'perforumstats'},
{codename: 'batchlock'},
+ {codename: 'bulkreportreplies'},
{codename: 'autorefreshlist'},
// #!if ['chromium', 'chromium_mv3'].includes(browser_target)
{codename: 'blockdrafts'},
diff --git a/src/static/options/experiments.html b/src/static/options/experiments.html
index 7eed0fb..9a21fdf 100644
--- a/src/static/options/experiments.html
+++ b/src/static/options/experiments.html
@@ -15,7 +15,6 @@
<div id="optional-permissions-warning" hidden data-i18n="optionalpermissionswarning_header"></div>
<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="bulkreportreplies"> <label for="bulkreportreplies" data-i18n="bulkreportreplies"></label></div>
<div class="actions"><button id="save" data-i18n="save"></button></div>
</form>
<div id="save-indicator"></div>