-
Notifications
You must be signed in to change notification settings - Fork 6
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
SVA 427 Add log in/out buttons to settings #212
Conversation
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.
Great job @mirkiy! Looks and works fine. Just a few little observations.
Side note - there appear to be contradictory designs regarding the colour of the button when a user is logged in, the design for the screen shows the error.100 red as you've used here but the design for the STA button component which the ticket also links to shows the primary pink and a pressed state. Perhaps a wee liaise with design team over this?
<Text fontSize="xs">Version {version}</Text> | ||
<PrivacyAndTermsLinks /> | ||
{featureFlags.login ? ( |
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.
- The button should align to the bottom regardless of the content, for an example have a look in
ProjectFullDetails.tsx
, where it is placed outside the ScrollView to achieve this. - when the login feature flag is off then it doesn't spread quite over the screen as it does currently and it will probably be released behind the flag initially.
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.
This has been fixed now, thank you :)
.expo/packager-info.json
Outdated
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.
The .expo
folder is created when an Expo project is started using "expo start" command. It should also automatically add it to .gitignore
but think it is a bug in SDK49 that it hasn't done so.
Please delete his folder - you can safely delete it because it does not contain any information that is relevant for other developers working on the project, it is specific to your machine and it's regenerated by expo when you start your app again.
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.
Thanks for this, fixed now too :)
SETTINGS | ||
</Heading> | ||
|
||
<View style={{ marginTop: 48 }}> |
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.
Style is not need here, just marginTop={'48px'} will suffice :)
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.
Thank fixed now too :)
Description
Fixes # (issue number)
Type of change
Please delete options that are not relevant
Testing locally
npm install
in the app, refresh the database, look at a particular project that has a video, add a.env
file value (NB do not share any sensitive details here as PRs are public)Checklist
package.json
files in the app and/or api directories as needed