Skip to content
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

Fixed layout and non responsive buttons in the login and create account flow #218

Merged
merged 2 commits into from
Jul 16, 2019

Conversation

ElyDev
Copy link
Collaborator

@ElyDev ElyDev commented Jul 16, 2019

Create Account button was not responsive on Android due to zIndex mismatch. Fixed the Login dialog flow to fix the problem as well as make the flow flex based.
Fixed an issue in iOS in the TeacherWelcomeScreen where there are cases where the confirm account dialog becomes non responsive if an error dialog shows up on top of it. This is due to this issue: facebook/react-native#10471
I also modified the logic of the teacher welcome page so that when user dismisses the account confirmation dialog, the button will now say "confirm account" and will only go through the confirmation flow and not attempt to re-create the account.

Please test these screens as much as you can since there is quite a bit of logic and we need a lot of validation to flush out all bugs.

Thanks,

- Fixed login button responsiveness and layout on android
- Fixed error in logging analytics during create account flow.
Alert.alert cancels Modal dismiss even so we end up with a non responsive Modal confirmation dialog. This is explained here:
facebook/react-native#10471

I used the workaround suggested in the thread by adding a short timeout to Alert.alert

Todo: eventually we should better handle this by launching the error dialog from the teacher screen instead of redux, but this workaround is good for now.
@zyadcodes zyadcodes merged commit 53f182b into KhalidPM:master Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants