From de1bbc02811d73b08b64757b574827194aecf11d Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Sun, 20 Nov 2022 22:21:56 +0000 Subject: [PATCH 1/1] Add conversationDisplay to settings --- config/config.exs | 4 ++-- config/description.exs | 15 +++++++-------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/config/config.exs b/config/config.exs index f586e3883..5278896f1 100644 --- a/config/config.exs +++ b/config/config.exs @@ -312,7 +312,6 @@ config :pleroma, :frontend_configurations, logo: "/static/logo.svg", logoMargin: ".1em", logoMask: true, - minimalScopesMode: false, noAttachmentLinks: false, nsfwCensorImage: "", postContentType: "text/plain", @@ -324,7 +323,8 @@ config :pleroma, :frontend_configurations, showInstanceSpecificPanel: false, subjectLineBehavior: "email", theme: "pleroma-dark", - webPushNotifications: false + webPushNotifications: false, + conversationDisplay: "linear" }, masto_fe: %{ showInstanceSpecificPanel: true diff --git a/config/description.exs b/config/description.exs index b605bbd19..994bb7280 100644 --- a/config/description.exs +++ b/config/description.exs @@ -1226,6 +1226,13 @@ config :pleroma, :config_description, [ type: :boolean, description: "Enables green text on lines prefixed with the > character" }, + %{ + key: :conversationDisplay, + label: "Conversation display style", + type: :string, + description: "How to display conversations (linear or tree)", + suggestions: ["linear", "tree"] + }, %{ key: :hideFilteredStatuses, label: "Hide Filtered Statuses", @@ -1274,14 +1281,6 @@ config :pleroma, :config_description, [ "By default it assumes logo used will be monochrome with alpha channel to be compatible with both light and dark themes. " <> "If you want a colorful logo you must disable logoMask." }, - %{ - key: :minimalScopesMode, - label: "Minimal scopes mode", - type: :boolean, - description: - "Limit scope selection to Direct, User default, and Scope of post replying to. " <> - "Also prevents replying to a DM with a public post from PleromaFE." - }, %{ key: :nsfwCensorImage, label: "NSFW Censor Image", -- 2.45.2