0
0
Fork 0

Add profile directory to web UI (#11688)

* Add profile directory to web UI

* Add a line of bio to the directory
This commit is contained in:
Eugen Rochko 2019-08-30 00:14:36 +02:00 committed by GitHub
parent 7802ebd5f3
commit cb447b28c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 715 additions and 159 deletions

View file

@ -47,6 +47,7 @@ import {
PinnedStatuses,
Lists,
Search,
Directory,
} from './util/async-components';
import { me, forceSingleColumn } from '../../initial_state';
import { previewState as previewMediaState } from './components/media_modal';
@ -188,6 +189,7 @@ class SwitchingColumnsArea extends React.PureComponent {
<WrappedRoute path='/pinned' component={PinnedStatuses} content={children} componentParams={{ shouldUpdateScroll: this.shouldUpdateScroll }} />
<WrappedRoute path='/search' component={Search} content={children} />
<WrappedRoute path='/directory' component={Directory} content={children} componentParams={{ shouldUpdateScroll: this.shouldUpdateScroll }} />
<WrappedRoute path='/statuses/new' component={Compose} content={children} />
<WrappedRoute path='/statuses/:statusId' exact component={Status} content={children} componentParams={{ shouldUpdateScroll: this.shouldUpdateScroll }} />