diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2021-02-23 13:52:28 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2021-02-23 13:52:28 +0300 |
commit | 77f3da035894e2add911101466bfe41b99ee481e (patch) | |
tree | 91196f4fa98d9be3dbd708e23009eb0a0f599c27 /config/description.exs | |
parent | a98c4423f374c6be8202ae884989e708e7d8ca3b (diff) | |
download | pleroma-77f3da035894e2add911101466bfe41b99ee481e.tar.gz pleroma-77f3da035894e2add911101466bfe41b99ee481e.zip |
[#3213] Misc. tweaks: proper upsert in Hashtag, better feature toggle management.
Diffstat (limited to 'config/description.exs')
-rw-r--r-- | config/description.exs | 9 |
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] } ] }, |