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

Fix part 135: Topic issues fixes #285

Merged
merged 97 commits into from
Nov 7, 2019
Merged

Conversation

nikitamarysolomanpvt
Copy link
Contributor

@nikitamarysolomanpvt nikitamarysolomanpvt commented Oct 31, 2019

Duplicate of #279

Explanation

  • On click of see-more in topic-overview will switch the tab to topic-play (with test case).

  • All tabs of topic will get topic-id and display data on the basis of topic-id coming from HomeActivity.

Pending (will be in next PR):

  • Removing dummy button on HomeFragment

  • Introducing TopicTestActivity and its corresponding presenter to load TopicFragment for a specific TOPIC_ID which will be used to test-code.

  • When user clicks the promoted story item in HomeFragment the story id will be passed to TopicActivity.If the TOPIC_ID and STORY_ID is present in TopicActivity then the UI should traverse to a TopicPlay tab inside TopicPlayFragment and scroll to the specific item and expand it .

Mock

https://xd.adobe.com/spec/e2239cf4-9cde-4c08-5296-25316c1f0a14-9412/screen/0fad68f5-5ca4-4947-b8db-b4cf07235fd7/Topic-w-o-Play-19
To test this app, follow these steps:

  1. In AndroidManifest file make TopicActivity as launcher activity.

Checklist

  • The PR title starts with "Fix #bugnum: ", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • The PR explanation includes the words "Fixes #bugnum: ..." (or "Fixes part of #bugnum" if the PR only partially fixes an issue).
  • The PR follows the style guide.
  • The PR does not contain any unnecessary auto-generated code from Android Studio.
  • The PR is made from a branch that's not called "develop".
  • The PR is assigned to an appropriate reviewer.

… topic-player-multiple-tabs

# Conflicts:
#	app/build.gradle
#	app/src/main/AndroidManifest.xml
#	app/src/main/res/values/styles.xml
Merge branch 'develop' of https://github.com/oppia/oppia-android into topic-player-multiple-tabs

# Conflicts:
#	app/src/main/AndroidManifest.xml
#	app/src/main/java/org/oppia/app/player/state/StateFragmentPresenter.kt
#	domain/src/main/java/org/oppia/domain/exploration/ExplorationRetriever.kt
Merge branch 'develop' of https://github.com/oppia/oppia-android into topic-player-multiple-tabs

# Conflicts:
#	app/src/main/AndroidManifest.xml
#	app/src/main/java/org/oppia/app/player/state/StateFragmentPresenter.kt
#	domain/src/main/java/org/oppia/domain/exploration/ExplorationRetriever.kt
Copy link
Contributor

@rt4914 rt4914 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR looks good to me, there are some changes from this PR as well as #230.

I am just expecting replies on my comment and then it would become easier to Approve.

Also, I wrote this comment on #230 #230 (review)

which was not addressed earlier but from this PR description, I think the points in the comment can be divided in two categories:

Finished:

  • Linking TopicActivity to Topic items of HomeFragment.
  • Transfer of TOPIC_ID from TopicFragment to ChildFragment is pending

Pending (mostly expected in next PR):

  • Removing dummy button on HomeFragment
  • Introducing TopicTestActivity and its corresponding presenter to load TopicFragment for a specific TOPIC_ID which will be used to test-code.
  • If the TOPIC_ID and STORY_ID is present in TopicActivity then the UI should traverse to a specific STORY inside TopicPlayFragment

@rt4914 rt4914 removed their assignment Nov 7, 2019
@rt4914
Copy link
Contributor

rt4914 commented Nov 7, 2019

This PR looks good to me, there are some changes from this PR as well as #230.

I am just expecting replies on my comment and then it would become easier to Approve.

Also, I wrote this comment on #230 #230 (review)

which was not addressed earlier but from this PR description, I think the points in the comment can be divided in two categories:

Finished:

  • Linking TopicActivity to Topic items of HomeFragment.
  • Transfer of TOPIC_ID from TopicFragment to ChildFragment is pending

Pending (mostly expected in next PR):

  • Removing dummy button on HomeFragment
  • Introducing TopicTestActivity and its corresponding presenter to load TopicFragment for a specific TOPIC_ID which will be used to test-code.
  • If the TOPIC_ID and STORY_ID is present in TopicActivity then the UI should traverse to a specific STORY inside TopicPlayFragment

@nikitamarysolomanpvt Please reply on this too, whether the "PENDING" and "FINISHED" list is correct or not?

Copy link
Contributor

@rt4914 rt4914 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some comments which were resolved without fixing them, please fix them, and also, I am expecting your reply on my previous high level comment too.

@rt4914 rt4914 removed their assignment Nov 7, 2019
@nikitamarysolomanpvt
Copy link
Contributor Author

This PR looks good to me, there are some changes from this PR as well as #230.
I am just expecting replies on my comment and then it would become easier to Approve.
Also, I wrote this comment on #230 #230 (review)
which was not addressed earlier but from this PR description, I think the points in the comment can be divided in two categories:
Finished:

  • Linking TopicActivity to Topic items of HomeFragment.
  • Transfer of TOPIC_ID from TopicFragment to ChildFragment is pending

Pending (mostly expected in next PR):

  • Removing dummy button on HomeFragment
  • Introducing TopicTestActivity and its corresponding presenter to load TopicFragment for a specific TOPIC_ID which will be used to test-code.
  • If the TOPIC_ID and STORY_ID is present in TopicActivity then the UI should traverse to a specific STORY inside TopicPlayFragment

@nikitamarysolomanpvt Please reply on this too, whether the "PENDING" and "FINISHED" list is correct or not?

It's updated in initial comment.

@nikitamarysolomanpvt nikitamarysolomanpvt removed their assignment Nov 7, 2019
Copy link
Contributor

@rt4914 rt4914 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikitamarysolomanpvt LGTM, just resolve merge conflicts and then merge this.

@rt4914 rt4914 assigned nikitamarysolomanpvt and unassigned rt4914 Nov 7, 2019
…m/oppia/oppia-android into topic_issues_fixs

# Conflicts:
#	app/src/main/res/values/strings.xml
@nikitamarysolomanpvt
Copy link
Contributor Author

There are some comments which were resolved without fixing them, please fix them, and also, I am expecting your reply on my previous high level comment too.

Done

@nikitamarysolomanpvt nikitamarysolomanpvt requested review from jamesxu0 and removed request for jamesxu0 November 7, 2019 09:45
@BenHenning BenHenning removed the request for review from jamesxu0 November 7, 2019 17:40
Copy link
Contributor

@jamesxu0 jamesxu0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nikitamarysolomanpvt nikitamarysolomanpvt merged commit 790fd64 into develop Nov 7, 2019
@rt4914 rt4914 mentioned this pull request Nov 8, 2019
6 tasks
@nikitamarysolomanpvt nikitamarysolomanpvt mentioned this pull request Nov 11, 2019
6 tasks
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.

5 participants