summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-06-06 13:41:54 -0400
committerCorey Hulen <corey@hulen.com>2016-06-06 10:41:54 -0700
commit1e245f19c7884e293698fe2e8cd7f46d4dac54c9 (patch)
treeacdedf465346c9ad8b416c3e4604a9979e829aea /webapp/utils
parent629b49a119cf58451a80e4667a6f876bea00e6aa (diff)
downloadchat-1e245f19c7884e293698fe2e8cd7f46d4dac54c9.tar.gz
chat-1e245f19c7884e293698fe2e8cd7f46d4dac54c9.tar.bz2
chat-1e245f19c7884e293698fe2e8cd7f46d4dac54c9.zip
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
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/constants.jsx8
1 files changed, 3 insertions, 5 deletions
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,