From 1e245f19c7884e293698fe2e8cd7f46d4dac54c9 Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Mon, 6 Jun 2016 13:41:54 -0400
Subject: PLT-3114 Moved preview collapse out of pre-release features (#3206)

* Added user setting to auto collapse image previews

* Added slash commands for collapsing/expanding image previews

* Added translation strings for collapse setting

* Add default props for preview collapse setting
---
 webapp/utils/constants.jsx | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

(limited to 'webapp/utils/constants.jsx')

diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index 216131eae..3a6098713 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -547,7 +547,9 @@ export default {
         MESSAGE_DISPLAY: 'message_display',
         MESSAGE_DISPLAY_CLEAN: 'clean',
         MESSAGE_DISPLAY_COMPACT: 'compact',
-        MESSAGE_DISPLAY_DEFAULT: 'clean'
+        MESSAGE_DISPLAY_DEFAULT: 'clean',
+        COLLAPSE_DISPLAY: 'collapse_previews',
+        COLLAPSE_DISPLAY_DEFAULT: 'false'
     },
     TutorialSteps: {
         INTRO_SCREENS: 0,
@@ -728,10 +730,6 @@ export default {
         EMBED_PREVIEW: {
             label: 'embed_preview',
             description: 'Show preview snippet of links below message'
-        },
-        EMBED_TOGGLE: {
-            label: 'embed_toggle',
-            description: 'Show toggle for all embed previews'
         }
     },
     OVERLAY_TIME_DELAY: 400,
-- 
cgit v1.2.3-1-g7c22

