diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-03-31 18:17:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 18:17:28 -0400 |
commit | bcbd413e571d772a4438f57138169ad1a6a3b5a8 (patch) | |
tree | e8768f5e91e62759e2dce7179359aa83ff6e4d0f /ext/data/schemas | |
parent | cbcfdcacaf68efb09e47932f5b14881b982aecd2 (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')
-rw-r--r-- | ext/data/schemas/options-schema.json | 8 |
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" } } } |