summaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2021-02-23 13:52:28 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2021-02-23 13:52:28 +0300
commit77f3da035894e2add911101466bfe41b99ee481e (patch)
tree91196f4fa98d9be3dbd708e23009eb0a0f599c27 /config/description.exs
parenta98c4423f374c6be8202ae884989e708e7d8ca3b (diff)
[#3213] Misc. tweaks: proper upsert in Hashtag, better feature toggle management.
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs9
1 files changed, 5 insertions, 4 deletions
diff --git a/config/description.exs b/config/description.exs
index e280ed8cf..41e5e4056 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -461,15 +461,16 @@ config :pleroma, :config_description, [
},
%{
group: :pleroma,
- key: :database,
+ key: :features,
type: :group,
- description: "Database-related settings",
+ description: "Customizable features",
children: [
%{
key: :improved_hashtag_timeline,
- type: :keyword,
+ type: {:dropdown, :atom},
description:
- "If `true`, hashtags will be fetched from `hashtags` table for hashtags timeline. When `false`, object-embedded hashtags will be used (slower). Is auto-set to `true` (unless overridden) when HashtagsTableMigrator completes."
+ "Setting to force toggle / force disable improved hashtags timeline. `:enabled` forces hashtags to be fetched from `hashtags` table for hashtags timeline. `:disabled` forces object-embedded hashtags to be used (slower). Keep it `:auto` for automatic behaviour (it is auto-set to `:enabled` [unless overridden] when HashtagsTableMigrator completes).",
+ suggestions: [:auto, :enabled, :disabled]
}
]
},