EditProfile: Remove display name limits, redirect /user-settings

stable/1.0.x
Alex Gleason 2020-06-13 10:16:43 -05:00
rodzic b4532ccb40
commit 5ea6aaf48e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
2 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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='/' />