-
Notifications
You must be signed in to change notification settings - Fork 521
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
Fix Part #565: Domain on-boarding flag #618
Conversation
… material-cardview-issue-fix-approach-2 # Conflicts: # app/build.gradle
domain/src/test/java/org/oppia/domain/OnboardingFlowControllerTest.kt
Outdated
Show resolved
Hide resolved
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.
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.
LGTM, Thanks
PTAL on #599. This was discussed in meeting and was told to raise as an issue. |
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.
LGTM.
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 @nikitamarysolomanpvt! This generally looks canonical to me. I have some questions about the API & proto that I'd like addressed before I approve. Also, please put the controller/test/proto in final locations.
domain/src/main/java/org/oppia/domain/OnBoardingFlowController.kt
Outdated
Show resolved
Hide resolved
domain/src/main/java/org/oppia/domain/OnBoardingFlowController.kt
Outdated
Show resolved
Hide resolved
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.
LGTM, thanks.
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.
Nit changes
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 @nikitamarysolomanpvt! Thanks for cleaning up the location & proto. Please remove the test-only clear function, and then this LGTM for submission. Feel free to follow up with me via chat if you have any questions about removing that function.
domain/src/test/java/org/oppia/domain/OnboardingFlowControllerTest.kt
Outdated
Show resolved
Hide resolved
PTAL i removed it from controller and added in test class |
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.
Nit changes suggested.
Explanation
Duplicate of #574
Onboarding flow should be visible only once irrespective of learner profile. Introduced domain layer code to control this feature.
Oppia app now showing On-boarding on initial app open, and directly to choose profile page upon returning to the app. Both of these states are also properly retained across configuration changes due to Dagger not leading to activities trying to recreate their dependent controllers.
From a testing side, testcase for OnboardingFlowControllerTest is introduced to test OnboardingFlowController.
Checklist