summaryrefslogtreecommitdiff
path: root/ext/bg/data
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-26 18:30:01 -0500
committerGitHub <noreply@github.com>2021-01-26 18:30:01 -0500
commit8d292363d4d7363134a66e6d35e549f4634521a1 (patch)
tree880cad7f3f2e279401af888335d053c6c80b48cf /ext/bg/data
parentd11cd7b28f6837c38a566461dc124799ac6736c9 (diff)
Update clipboard options organization (#1318)
* Update options organization * Update general.enableClipboardPopups to clipboard.enableBackgroundMonitor * Update general.enableClipboardMonitor to clipboard.enableSearchPageMonitor * Update general.maximumClipboardSearchLength to clipboard.maximumSearchLength * Update general.autoSearchClipboardContent to clipboard.autoSearchContent
Diffstat (limited to 'ext/bg/data')
-rw-r--r--ext/bg/data/options-schema.json54
1 files changed, 31 insertions, 23 deletions
diff --git a/ext/bg/data/options-schema.json b/ext/bg/data/options-schema.json
index b03f0234..f4f5d0ca 100644
--- a/ext/bg/data/options-schema.json
+++ b/ext/bg/data/options-schema.json
@@ -71,14 +71,14 @@
"parsing",
"anki",
"sentenceParsing",
- "inputs"
+ "inputs",
+ "clipboard"
],
"properties": {
"general": {
"type": "object",
"required": [
"enable",
- "enableClipboardPopups",
"resultOutputMode",
"debugInfo",
"maxResults",
@@ -104,7 +104,6 @@
"customPopupCss",
"customPopupOuterCss",
"enableWanakana",
- "enableClipboardMonitor",
"showPitchAccentDownstepNotation",
"showPitchAccentPositionNotation",
"showPitchAccentGraph",
@@ -112,21 +111,15 @@
"useSecurePopupFrameUrl",
"usePopupShadowDom",
"usePopupWindow",
- "maximumClipboardSearchLength",
"popupCurrentIndicatorMode",
"popupActionBarVisibility",
- "popupActionBarLocation",
- "autoSearchClipboardContent"
+ "popupActionBarLocation"
],
"properties": {
"enable": {
"type": "boolean",
"default": true
},
- "enableClipboardPopups": {
- "type": "boolean",
- "default": false
- },
"resultOutputMode": {
"type": "string",
"enum": ["group", "merge", "split"],
@@ -236,10 +229,6 @@
"type": "boolean",
"default": true
},
- "enableClipboardMonitor": {
- "type": "boolean",
- "default": false
- },
"showPitchAccentDownstepNotation": {
"type": "boolean",
"default": true
@@ -268,11 +257,6 @@
"type": "boolean",
"default": false
},
- "maximumClipboardSearchLength": {
- "type": "integer",
- "default": 1000,
- "minimum": 0
- },
"popupCurrentIndicatorMode": {
"type": "string",
"enum": ["none", "asterisk", "triangle", "bar-left", "bar-right", "dot-left", "dot-right"],
@@ -287,10 +271,6 @@
"type": "string",
"enum": ["left", "right", "top", "bottom"],
"default": "top"
- },
- "autoSearchClipboardContent": {
- "type": "boolean",
- "default": true
}
}
},
@@ -1053,6 +1033,34 @@
]
}
}
+ },
+ "clipboard": {
+ "type": "object",
+ "required": [
+ "enableBackgroundMonitor",
+ "enableSearchPageMonitor",
+ "autoSearchContent",
+ "maximumSearchLength"
+ ],
+ "properties": {
+ "enableBackgroundMonitor": {
+ "type": "boolean",
+ "default": false
+ },
+ "enableSearchPageMonitor": {
+ "type": "boolean",
+ "default": false
+ },
+ "autoSearchContent": {
+ "type": "boolean",
+ "default": true
+ },
+ "maximumSearchLength": {
+ "type": "integer",
+ "default": 1000,
+ "minimum": 0
+ }
+ }
}
}
}