-
Notifications
You must be signed in to change notification settings - Fork 527
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 #150, #151, #155: TextInputInteractionView, NumericInputInteractionView, FractionInputInteractionView #190
Conversation
…ractionView Kdoc for inputinteractioncustomviews added color resourses for edittext Merge branches 'develop' and 'exploration-player-3-interaction' of https://github.com/oppia/oppia-android into exploration-player-3-interaction # Conflicts: # app/src/main/java/org/oppia/app/fragment/FragmentComponent.kt # app/src/main/java/org/oppia/app/player/state/StateFragment.kt # app/src/main/java/org/oppia/app/player/state/StateFragmentPresenter.kt # app/src/main/res/layout/exploration_fragment.xml # app/src/main/res/layout/state_fragment.xml # app/src/main/res/values/dimens.xml # app/src/sharedTest/java/org/oppia/app/player/exploration/ExplorationActivityTest.kt
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.
PTAL
app/src/main/java/org/oppia/app/customview/inputInteractionView/FractionInputInteractionView.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/customview/inputInteractionView/FractionInputInteractionView.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/customview/inputInteractionView/FractionInputInteractionView.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/app/player/state/StateFragmentPresenterTest.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/app/player/state/StateFragmentPresenterTest.kt
Outdated
Show resolved
Hide resolved
…ractionView Kdoc for inputinteractioncustomviews added color resourses for edittext Merge branches 'develop' and 'exploration-player-3-interaction' of https://github.com/oppia/oppia-android into exploration-player-3-interaction # Conflicts: # app/src/main/java/org/oppia/app/fragment/FragmentComponent.kt # app/src/main/java/org/oppia/app/player/state/StateFragment.kt # app/src/main/java/org/oppia/app/player/state/StateFragmentPresenter.kt # app/src/main/res/layout/exploration_fragment.xml # app/src/main/res/layout/state_fragment.xml # app/src/main/res/values/dimens.xml # app/src/sharedTest/java/org/oppia/app/player/exploration/ExplorationActivityTest.kt
@nikitamarysolomanpvt Please update your PR title to point to issues. |
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
Resolve merge conflicts |
…tps://github.com/oppia/oppia-android into exploration-player-3-interaction-input-type # Conflicts: # app/src/main/java/org/oppia/app/player/state/StateFragment.kt # app/src/main/java/org/oppia/app/player/state/StateFragmentPresenter.kt # app/src/main/res/values/colors.xml # app/src/main/res/values/dimens.xml
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.
Changes in test-cases
// The function to test text,number,and fraction inputs in interaction views. | ||
@Test | ||
fun testTextInputContentCard_displaySoftInputAccordingToInputType_userTypeInput() { | ||
ActivityScenario.launch(HomeActivity::class.java).use { |
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.
First, remove pause. We don't need this pause as a developer.
Also, break down this test case in multiple test-cases to check TextInput, FractionInput and NumberInput separately.
@nikitamarysolomanpvt If you are not using this PR anymore, please deassign and close this PR. |
#263 is Duplicate PR of this |
Explanation
This PR contains Low-fi TextInputInteractionView, NumberInputInteractionView, FractionInputInteractionView with dummy call implementation in StateFragmentPresenter. #150, #151, #155.
Reference Mocks
https://xd.adobe.com/spec/e2239cf4-9cde-4c08-5296-25316c1f0a14-9412/screen/4d4e4bd8-3755-41fc-bf83-3dcff5d5eee1/Lesson-1-a-ii-Exploration-Player-Text-Input-No-Ans
https://xd.adobe.com/spec/e2239cf4-9cde-4c08-5296-25316c1f0a14-9412/screen/eeed0f6c-54ca-4371-ab23-5199abd87f28/Lesson-1-a-ii-Exploration-Player-Text-Input-Keyboa
https://xd.adobe.com/spec/e2239cf4-9cde-4c08-5296-25316c1f0a14-9412/screen/d66097bf-8421-41d8-bfda-2450d6e98dea/Lesson-1-a-i-Exploration-Player-Fraction-Input-No-
https://xd.adobe.com/spec/e2239cf4-9cde-4c08-5296-25316c1f0a14-9412/screen/249c3349-605b-4569-bbe9-1a017ab90101/Lesson-1-a-i-Exploration-Player-Fraction-Input-No-
https://xd.adobe.com/spec/e2239cf4-9cde-4c08-5296-25316c1f0a14-9412/screen/c4b0dfb3-53b4-491e-a759-818e096183fd/Lesson-1-a-v-Exploration-Player-Numeric-Input-No-A
Reference Design Doc
https://docs.google.com/document/d/1QigNdZeMBy-JjHW26QH4qT0UtCyzfvW0xEaStSdY9gM/edit?usp=sharing