remove explore
This commit is contained in:
parent
ccdb2be4a2
commit
2e979aa7d9
@ -55,6 +55,8 @@ class Explore extends PureComponent {
|
|||||||
const { signedIn } = this.context.identity;
|
const { signedIn } = this.context.identity;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
||||||
|
signedIn && (
|
||||||
<Column bindToDocument={!multiColumn} ref={this.setRef} label={intl.formatMessage(messages.title)}>
|
<Column bindToDocument={!multiColumn} ref={this.setRef} label={intl.formatMessage(messages.title)}>
|
||||||
<ColumnHeader
|
<ColumnHeader
|
||||||
icon={isSearching ? 'search' : 'hashtag'}
|
icon={isSearching ? 'search' : 'hashtag'}
|
||||||
@ -106,7 +108,7 @@ class Explore extends PureComponent {
|
|||||||
</Helmet>
|
</Helmet>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Column>
|
</Column> )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -169,20 +169,6 @@ const Firehose = ({ feedType, multiColumn }) => {
|
|||||||
<ColumnSettings />
|
<ColumnSettings />
|
||||||
</ColumnHeader>
|
</ColumnHeader>
|
||||||
|
|
||||||
<div className='account__section-headline'>
|
|
||||||
<NavLink exact to='/public/local'>
|
|
||||||
<FormattedMessage tagName='div' id='firehose.local' defaultMessage='This server' />
|
|
||||||
</NavLink>
|
|
||||||
|
|
||||||
<NavLink exact to='/public/remote'>
|
|
||||||
<FormattedMessage tagName='div' id='firehose.remote' defaultMessage='Other servers' />
|
|
||||||
</NavLink>
|
|
||||||
|
|
||||||
<NavLink exact to='/public'>
|
|
||||||
<FormattedMessage tagName='div' id='firehose.all' defaultMessage='All' />
|
|
||||||
</NavLink>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<StatusListContainer
|
<StatusListContainer
|
||||||
prepend={prependBanner}
|
prepend={prependBanner}
|
||||||
timelineId={`${feedType}${onlyMedia ? ':media' : ''}`}
|
timelineId={`${feedType}${onlyMedia ? ':media' : ''}`}
|
||||||
|
@ -7,6 +7,7 @@ import { Link } from 'react-router-dom';
|
|||||||
|
|
||||||
import { WordmarkLogo } from 'mastodon/components/logo';
|
import { WordmarkLogo } from 'mastodon/components/logo';
|
||||||
import NavigationPortal from 'mastodon/components/navigation_portal';
|
import NavigationPortal from 'mastodon/components/navigation_portal';
|
||||||
|
import { timelinePreview, trendsEnabled } from 'mastodon/initial_state';
|
||||||
import { transientSingleColumn } from 'mastodon/is_mobile';
|
import { transientSingleColumn } from 'mastodon/is_mobile';
|
||||||
|
|
||||||
import ColumnLink from './column_link';
|
import ColumnLink from './column_link';
|
||||||
@ -18,6 +19,7 @@ import SignInBanner from './sign_in_banner';
|
|||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
home: { id: 'tabs_bar.home', defaultMessage: 'Home' },
|
home: { id: 'tabs_bar.home', defaultMessage: 'Home' },
|
||||||
notifications: { id: 'tabs_bar.notifications', defaultMessage: 'Notifications' },
|
notifications: { id: 'tabs_bar.notifications', defaultMessage: 'Notifications' },
|
||||||
|
firehose: { id: 'column.firehose', defaultMessage: 'Live feeds' },
|
||||||
direct: { id: 'navigation_bar.direct', defaultMessage: 'Private mentions' },
|
direct: { id: 'navigation_bar.direct', defaultMessage: 'Private mentions' },
|
||||||
favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favorites' },
|
favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favorites' },
|
||||||
bookmarks: { id: 'navigation_bar.bookmarks', defaultMessage: 'Bookmarks' },
|
bookmarks: { id: 'navigation_bar.bookmarks', defaultMessage: 'Bookmarks' },
|
||||||
@ -73,6 +75,9 @@ class NavigationPanel extends Component {
|
|||||||
<FollowRequestsColumnLink />
|
<FollowRequestsColumnLink />
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
{(signedIn) && (
|
||||||
|
<ColumnLink transparent to='/public/local' isActive={this.isFirehoseActive} icon='hashtag' text={intl.formatMessage(messages.firehose)} />
|
||||||
|
)}
|
||||||
|
|
||||||
{!signedIn && (
|
{!signedIn && (
|
||||||
<div className='navigation-panel__sign-in-banner'>
|
<div className='navigation-panel__sign-in-banner'>
|
||||||
|
@ -10,9 +10,7 @@ Rails.application.routes.draw do
|
|||||||
/getting-started
|
/getting-started
|
||||||
/keyboard-shortcuts
|
/keyboard-shortcuts
|
||||||
/home
|
/home
|
||||||
/public
|
|
||||||
/public/local
|
/public/local
|
||||||
/public/remote
|
|
||||||
/conversations
|
/conversations
|
||||||
/lists/(*any)
|
/lists/(*any)
|
||||||
/notifications
|
/notifications
|
||||||
@ -21,7 +19,6 @@ Rails.application.routes.draw do
|
|||||||
/pinned
|
/pinned
|
||||||
/start
|
/start
|
||||||
/directory
|
/directory
|
||||||
/explore/(*any)
|
|
||||||
/search
|
/search
|
||||||
/publish
|
/publish
|
||||||
/follow_requests
|
/follow_requests
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# important settings can be changed from the admin interface.
|
# important settings can be changed from the admin interface.
|
||||||
|
|
||||||
defaults: &defaults
|
defaults: &defaults
|
||||||
site_title: Mastodon
|
site_title: Mastodon Whippy Edition
|
||||||
site_short_description: ''
|
site_short_description: ''
|
||||||
site_description: ''
|
site_description: ''
|
||||||
site_extended_description: ''
|
site_extended_description: ''
|
||||||
|
Loading…
Reference in New Issue
Block a user