mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-07-28 04:08:05 +00:00
settings: Move Welcome Tour to Help.
This commit is contained in:
committed by
laurensvalk
parent
4c09c5470f
commit
545cf786af
@@ -116,6 +116,15 @@ const Settings: React.VoidFunctionComponent = () => {
|
||||
</FormGroup>
|
||||
<FormGroup label={i18n.translate('help.title')}>
|
||||
<ButtonGroup minimal={true} vertical={true} alignText="left">
|
||||
<Button
|
||||
id="pb-settings-tour-button"
|
||||
label={i18n.translate('app.tour.label')}
|
||||
icon="info-sign"
|
||||
onPress={() => {
|
||||
dispatch(tourStart());
|
||||
return true;
|
||||
}}
|
||||
/>
|
||||
<AnchorButton
|
||||
icon="lightbulb"
|
||||
href={pybricksProjectsUrl}
|
||||
@@ -184,15 +193,6 @@ const Settings: React.VoidFunctionComponent = () => {
|
||||
return true;
|
||||
}}
|
||||
/>
|
||||
<Button
|
||||
id="pb-settings-tour-button"
|
||||
label={i18n.translate('app.tour.label')}
|
||||
icon="info-sign"
|
||||
onPress={() => {
|
||||
dispatch(tourStart());
|
||||
return true;
|
||||
}}
|
||||
/>
|
||||
</ButtonGroup>
|
||||
</FormGroup>
|
||||
{process.env.NODE_ENV === 'development' && (
|
||||
|
||||
Reference in New Issue
Block a user