From 2f2c849dfaceb0ad0d95006344be8568f7667aea Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 28 Aug 2020 15:09:17 -0500 Subject: [PATCH] Chats: remove DM links from menus --- app/soapbox/components/sidebar_menu.js | 5 ----- app/soapbox/features/compose/components/action_bar.js | 1 - app/soapbox/features/ui/components/features_panel.js | 8 -------- 3 files changed, 14 deletions(-) diff --git a/app/soapbox/components/sidebar_menu.js b/app/soapbox/components/sidebar_menu.js index 1eb680c94..6cc615c65 100644 --- a/app/soapbox/components/sidebar_menu.js +++ b/app/soapbox/components/sidebar_menu.js @@ -21,7 +21,6 @@ const messages = defineMessages({ followers: { id: 'account.followers', defaultMessage: 'Followers' }, follows: { id: 'account.follows', defaultMessage: 'Follows' }, profile: { id: 'account.profile', defaultMessage: 'Profile' }, - messages: { id: 'navigation_bar.messages', defaultMessage: 'Messages' }, preferences: { id: 'navigation_bar.preferences', defaultMessage: 'Preferences' }, follow_requests: { id: 'navigation_bar.follow_requests', defaultMessage: 'Follow requests' }, blocks: { id: 'navigation_bar.blocks', defaultMessage: 'Blocked users' }, @@ -132,10 +131,6 @@ class SidebarMenu extends ImmutablePureComponent { {intl.formatMessage(messages.profile)} - - - {intl.formatMessage(messages.messages)} - {donateUrl ? diff --git a/app/soapbox/features/compose/components/action_bar.js b/app/soapbox/features/compose/components/action_bar.js index 9db322093..8bc6ef4c4 100644 --- a/app/soapbox/features/compose/components/action_bar.js +++ b/app/soapbox/features/compose/components/action_bar.js @@ -69,7 +69,6 @@ class ActionBar extends React.PureComponent { let menu = []; menu.push({ text: intl.formatMessage(messages.profile), to: `/@${meUsername}` }); - menu.push({ text: intl.formatMessage(messages.messages), to: '/messages' }); menu.push({ text: intl.formatMessage(messages.lists), to: '/lists' }); menu.push({ text: intl.formatMessage(messages.bookmarks), to: '/bookmarks' }); menu.push(null); diff --git a/app/soapbox/features/ui/components/features_panel.js b/app/soapbox/features/ui/components/features_panel.js index d0afc3e10..2ab0f4db7 100644 --- a/app/soapbox/features/ui/components/features_panel.js +++ b/app/soapbox/features/ui/components/features_panel.js @@ -6,7 +6,6 @@ import { injectIntl, defineMessages } from 'react-intl'; const messages = defineMessages({ edit_profile: { id: 'account.edit_profile', defaultMessage: 'Edit Profile' }, - messages: { id: 'navigation_bar.messages', defaultMessage: 'Messages' }, preferences: { id: 'navigation_bar.preferences', defaultMessage: 'Preferences' }, security: { id: 'navigation_bar.security', defaultMessage: 'Security' }, lists: { id: 'column.lists', defaultMessage: 'Lists' }, @@ -35,13 +34,6 @@ class FeaturesPanel extends React.PureComponent { -
- - - {intl.formatMessage(messages.messages)} - -
-