aboutsummaryrefslogtreecommitdiff
path: root/ext/data/schemas/options-schema.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-03-31 18:17:28 -0400
committerGitHub <noreply@github.com>2021-03-31 18:17:28 -0400
commitbcbd413e571d772a4438f57138169ad1a6a3b5a8 (patch)
treee8768f5e91e62759e2dce7179359aa83ff6e4d0f /ext/data/schemas/options-schema.json
parentcbcfdcacaf68efb09e47932f5b14881b982aecd2 (diff)
Definition collapsing when overflowing (#1575)
* Add double-down-chevron.svg * Add options * Update dictionary importers * Update settings * Add support for collapsible definitions * Improve case when there is a very small amount of overflow * Fix incorrect enabled state of newly imported dictionaries
Diffstat (limited to 'ext/data/schemas/options-schema.json')
-rw-r--r--ext/data/schemas/options-schema.json8
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/data/schemas/options-schema.json b/ext/data/schemas/options-schema.json
index 89e2d361..d829b392 100644
--- a/ext/data/schemas/options-schema.json
+++ b/ext/data/schemas/options-schema.json
@@ -732,7 +732,8 @@
"required": [
"priority",
"enabled",
- "allowSecondarySearches"
+ "allowSecondarySearches",
+ "definitionsCollapsible"
],
"properties": {
"priority": {
@@ -746,6 +747,11 @@
"allowSecondarySearches": {
"type": "boolean",
"default": false
+ },
+ "definitionsCollapsible": {
+ "type": "string",
+ "enum": ["not-collapsible", "expanded", "collapsed"],
+ "default": "not-collapsible"
}
}
}