summaryrefslogtreecommitdiffstats
path: root/webapp/utils/constants.jsx
diff options
context:
space:
mode:
authorSaturnino Abril <saturnino.abril@gmail.com>2017-06-30 16:06:59 +0800
committerGeorge Goldberg <george@gberg.me>2017-06-30 09:06:59 +0100
commiteea64f8049d90c5dcf14a739d640f5aa6a9c7add (patch)
treefabaa232bad7f4ebddf30b073c37a5962029f7fd /webapp/utils/constants.jsx
parentfb57b3dd53eaca28a557ea7e334e9d7216ce6aab (diff)
downloadchat-eea64f8049d90c5dcf14a739d640f5aa6a9c7add.tar.gz
chat-eea64f8049d90c5dcf14a739d640f5aa6a9c7add.tar.bz2
chat-eea64f8049d90c5dcf14a739d640f5aa6a9c7add.zip
[PLT-5864] Move teammate name display setting to the System Console (#6681)
* move teammate name display setting to the system console * update all the likes of TeammateNameDisplay names * fix gofmt error * rebase and fix conflict
Diffstat (limited to 'webapp/utils/constants.jsx')
-rw-r--r--webapp/utils/constants.jsx9
1 files changed, 6 insertions, 3 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index b111a9900..212eedda4 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -37,8 +37,6 @@ export const Preferences = {
CATEGORY_DIRECT_CHANNEL_SHOW: 'direct_channel_show',
CATEGORY_GROUP_CHANNEL_SHOW: 'group_channel_show',
CATEGORY_DISPLAY_SETTINGS: 'display_settings',
- DISPLAY_PREFER_NICKNAME: 'nickname_full_name',
- DISPLAY_PREFER_FULL_NAME: 'full_name',
CATEGORY_ADVANCED_SETTINGS: 'advanced_settings',
TUTORIAL_STEP: 'tutorial_step',
CHANNEL_DISPLAY_MODE: 'channel_display_mode',
@@ -970,7 +968,12 @@ export const Constants = {
TEST_ID_COUNT: 10,
CENTER: 'center',
RHS: 'rhs',
- RHS_ROOT: 'rhsroot'
+ RHS_ROOT: 'rhsroot',
+ TEAMMATE_NAME_DISPLAY: {
+ SHOW_USERNAME: 'username',
+ SHOW_NICKNAME_FULLNAME: 'nickname_full_name',
+ SHOW_FULLNAME: 'full_name'
+ }
};
export default Constants;