kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
EditProfile: Remove display name limits, redirect /user-settings
rodzic
b4532ccb40
commit
5ea6aaf48e
|
@ -170,8 +170,6 @@ class EditProfile extends ImmutablePureComponent {
|
|||
label={<FormattedMessage id='edit_profile.fields.display_name_label' defaultMessage='Display name' />}
|
||||
name='display_name'
|
||||
value={this.state.display_name}
|
||||
maxLength={30}
|
||||
size={30}
|
||||
onChange={this.handleTextChange}
|
||||
/>
|
||||
<TextInput
|
||||
|
|
|
@ -213,11 +213,12 @@ class SwitchingColumnsArea extends React.PureComponent {
|
|||
<WrappedRoute path='/groups/:id' page={GroupPage} component={GroupTimeline} content={children} />
|
||||
*/}
|
||||
|
||||
{/* Redirects for non-static Pleroma FE config*/}
|
||||
{/* Redirects from Pleroma FE, etc. to fix old bookmarks */}
|
||||
<Redirect from='/main/all' to='/timeline/fediverse' />
|
||||
<Redirect from='/main/public' to='/timeline/local' />
|
||||
<Redirect from='/main/friends' to='/' />
|
||||
<Redirect from='/tag/:id' to='/tags/:id' />
|
||||
<Redirect from='/user-settings' to='/settings/profile' />
|
||||
<WrappedRoute path='/notice/:statusId' publicRoute exact layout={LAYOUT.STATUS} component={Status} content={children} />
|
||||
<Redirect from='/users/:username' to='/@:username' />
|
||||
<Redirect from='/home' to='/' />
|
||||
|
|
Ładowanie…
Reference in New Issue