Change order of onboarding steps (#38121)
This commit is contained in:
parent
811575a109
commit
51894ac247
@ -121,7 +121,6 @@ export const Follows: React.FC<{
|
|||||||
icon='person'
|
icon='person'
|
||||||
iconComponent={PersonIcon}
|
iconComponent={PersonIcon}
|
||||||
multiColumn={multiColumn}
|
multiColumn={multiColumn}
|
||||||
showBackButton
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<ColumnSearchHeader
|
<ColumnSearchHeader
|
||||||
@ -146,10 +145,10 @@ export const Follows: React.FC<{
|
|||||||
{displayedAccountIds.length > 0 && <div className='spacer' />}
|
{displayedAccountIds.length > 0 && <div className='spacer' />}
|
||||||
|
|
||||||
<div className='column-footer'>
|
<div className='column-footer'>
|
||||||
<Link className='button button--block' to='/home'>
|
<Link className='button button--block' to='/start/profile'>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='onboarding.follows.done'
|
id='onboarding.follows.next'
|
||||||
defaultMessage='Done'
|
defaultMessage='Next: Setup your profile'
|
||||||
/>
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -133,7 +133,7 @@ export const Profile: React.FC<{
|
|||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
history.push('/start/follows');
|
history.push('/home');
|
||||||
dispatch(closeOnboarding());
|
dispatch(closeOnboarding());
|
||||||
return '';
|
return '';
|
||||||
})
|
})
|
||||||
@ -160,6 +160,7 @@ export const Profile: React.FC<{
|
|||||||
icon='person'
|
icon='person'
|
||||||
iconComponent={PersonIcon}
|
iconComponent={PersonIcon}
|
||||||
multiColumn={multiColumn}
|
multiColumn={multiColumn}
|
||||||
|
showBackButton
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div className='scrollable scrollable--flex'>
|
<div className='scrollable scrollable--flex'>
|
||||||
@ -297,8 +298,8 @@ export const Profile: React.FC<{
|
|||||||
<LoadingIndicator />
|
<LoadingIndicator />
|
||||||
) : (
|
) : (
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='onboarding.profile.save_and_continue'
|
id='onboarding.profile.finish'
|
||||||
defaultMessage='Save and continue'
|
defaultMessage='Finish'
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@ -230,8 +230,8 @@ class SwitchingColumnsArea extends PureComponent {
|
|||||||
<WrappedRoute path='/bookmarks' component={BookmarkedStatuses} content={children} />
|
<WrappedRoute path='/bookmarks' component={BookmarkedStatuses} content={children} />
|
||||||
<WrappedRoute path='/pinned' component={PinnedStatuses} content={children} />
|
<WrappedRoute path='/pinned' component={PinnedStatuses} content={children} />
|
||||||
|
|
||||||
<WrappedRoute path={['/start', '/start/profile']} exact component={OnboardingProfile} content={children} />
|
<WrappedRoute path='/start/profile' exact component={OnboardingProfile} content={children} />
|
||||||
<WrappedRoute path='/start/follows' component={OnboardingFollows} content={children} />
|
<WrappedRoute path={['/start', '/start/follows']} exact component={OnboardingFollows} content={children} />
|
||||||
<WrappedRoute path='/directory' component={Directory} content={children} />
|
<WrappedRoute path='/directory' component={Directory} content={children} />
|
||||||
<WrappedRoute path='/explore' component={Explore} content={children} />
|
<WrappedRoute path='/explore' component={Explore} content={children} />
|
||||||
<WrappedRoute path='/search' component={Search} content={children} />
|
<WrappedRoute path='/search' component={Search} content={children} />
|
||||||
|
|||||||
@ -960,17 +960,17 @@
|
|||||||
"notifications_permission_banner.how_to_control": "To receive notifications when Mastodon isn't open, enable desktop notifications. You can control precisely which types of interactions generate desktop notifications through the {icon} button above once they're enabled.",
|
"notifications_permission_banner.how_to_control": "To receive notifications when Mastodon isn't open, enable desktop notifications. You can control precisely which types of interactions generate desktop notifications through the {icon} button above once they're enabled.",
|
||||||
"notifications_permission_banner.title": "Never miss a thing",
|
"notifications_permission_banner.title": "Never miss a thing",
|
||||||
"onboarding.follows.back": "Back",
|
"onboarding.follows.back": "Back",
|
||||||
"onboarding.follows.done": "Done",
|
|
||||||
"onboarding.follows.empty": "Unfortunately, no results can be shown right now. You can try using search or browsing the explore page to find people to follow, or try again later.",
|
"onboarding.follows.empty": "Unfortunately, no results can be shown right now. You can try using search or browsing the explore page to find people to follow, or try again later.",
|
||||||
|
"onboarding.follows.next": "Next: Setup your profile",
|
||||||
"onboarding.follows.search": "Search",
|
"onboarding.follows.search": "Search",
|
||||||
"onboarding.follows.title": "Follow people to get started",
|
"onboarding.follows.title": "Follow people to get started",
|
||||||
"onboarding.profile.discoverable": "Make my profile discoverable",
|
"onboarding.profile.discoverable": "Make my profile discoverable",
|
||||||
"onboarding.profile.discoverable_hint": "When you opt in to discoverability on Mastodon, your posts may appear in search results and trending, and your profile may be suggested to people with similar interests to you.",
|
"onboarding.profile.discoverable_hint": "When you opt in to discoverability on Mastodon, your posts may appear in search results and trending, and your profile may be suggested to people with similar interests to you.",
|
||||||
"onboarding.profile.display_name": "Display name",
|
"onboarding.profile.display_name": "Display name",
|
||||||
"onboarding.profile.display_name_hint": "Your full name or your fun name…",
|
"onboarding.profile.display_name_hint": "Your full name or your fun name…",
|
||||||
|
"onboarding.profile.finish": "Finish",
|
||||||
"onboarding.profile.note": "Bio",
|
"onboarding.profile.note": "Bio",
|
||||||
"onboarding.profile.note_hint": "You can @mention other people or #hashtags…",
|
"onboarding.profile.note_hint": "You can @mention other people or #hashtags…",
|
||||||
"onboarding.profile.save_and_continue": "Save and continue",
|
|
||||||
"onboarding.profile.title": "Profile setup",
|
"onboarding.profile.title": "Profile setup",
|
||||||
"onboarding.profile.upload_avatar": "Upload profile picture",
|
"onboarding.profile.upload_avatar": "Upload profile picture",
|
||||||
"onboarding.profile.upload_header": "Upload profile header",
|
"onboarding.profile.upload_header": "Upload profile header",
|
||||||
|
|||||||
@ -11509,6 +11509,9 @@ noscript {
|
|||||||
|
|
||||||
.column-footer {
|
.column-footer {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
|
position: sticky;
|
||||||
|
bottom: 0;
|
||||||
|
background: var(--color-bg-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.lists-scrollable {
|
.lists-scrollable {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user