-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add Create Project flow #846
Conversation
return ( | ||
<View | ||
style={[ | ||
styles.flexContainer, | ||
showPracticeModeUi && styles.practiceModeContainer, | ||
]} | ||
> | ||
<View style={styles.flexContainer}>{children}</View> | ||
|
||
//If practice mode is NOT enabled, the user is just returned the children | ||
return <React.Fragment>{children}</React.Fragment>; | ||
{showPracticeModeUi && !hideBar && ( | ||
<View style={styles.bottomBar}> | ||
<MaterialCommunityIcons name="lightbulb-on" color={WHITE} size={28} /> | ||
<Text style={styles.text}> | ||
<FormattedMessage {...m.title} /> | ||
</Text> | ||
</View> | ||
)} | ||
</View> | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of relying on conditional returns to hide practice mode UI, we conditionally style a wrapping container. This prevents massive re-renders with the relatively minor trade-off of keeping some practice mode nodes present
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
67dc7d4
to
de7e86e
Compare
de7e86e
to
1eab98f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job
…ject-invite-server * commit '1aa1749aaf6e5a439234e9fedf7ff28d05cd0edb': chore: Add Husky to project (#755) chore: Fix small typo in translation description (#868) feat: Show alert after successfully importing config (#864) chore(release): Prepare release 5.3.2 fix: Add missing Portuguese and Spanish translations chore(release): Prepare release 5.3.1 fix: Do not surface Practice Mode in config details in settings (#852) fix: Enable navigation to Experiments screen (#853) fix: Do not surface Practice Mode in config details in settings (#852) fix: Enable navigation to Experiments screen (#853) feat: Add Create Project flow (#846) chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 in /src/backend (#753) feature: Add new translation strings (en) (#754) chore: Patch nodejs-mobile to specify NDK version (#757) Update contributing docs for NDK fix chore(release): Prepare release 5.3.0
Closes #841
Notes:
Preview: