-
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 #603 refactor play to lessons #612
Fix #603 refactor play to lessons #612
Conversation
@PrarabdhGarg Why was this PR created, as #609 is similar to this one, any specific reason? Also, please close one of these PR's with proper comment of why you are closing it. |
@rt4914 is it possible to update the previous pull request with the latest changes I have made? |
Yes it is possible, you just need to make a new commit to that same branch and update it.
|
@rt4914 I was not aware of this. Will follow this going forward. |
I will close the previous Pull request |
Have you taken a look at this document: https://github.com/oppia/oppia-android/wiki#instructions-for-making-a-code-change This might help. |
I will surely read this. Thanks a lot |
@rt4914 I have closed the previous pull request |
@PrarabdhGarg 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.
Looks good to me, some final changes are needed.
- -> Address all the comments and fix those issues.
- -> change
play_chapter_view
tolessons_chapter_view
- -> Second step change will need to update the code in
ChapterSummaryAdapter.kt
.idea/codeStyles/Project.xml
Outdated
@@ -157,4 +162,4 @@ | |||
</indentOptions> | |||
</codeStyleSettings> | |||
</code_scheme> | |||
</component> | |||
</component> |
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.
Revert this file. We do not want these 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.
@PrarabdhGarg This file is still here. We do not want to make any changes to this file. So please revert back this file to its original code.
app/src/main/java/org/oppia/app/topic/lessons/TopicLessonsFragment.kt
Outdated
Show resolved
Hide resolved
@rt4914 I have made the required changes |
…ub.com/PrarabdhGarg/oppia-android into fix-oppia#603-refactor-play-to-lessons
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.
@PrarabdhGarg .idea/codeStyles/Project.xml
was not meant to be be deleted. In my earlier comment, by revert I meant that the changes should be reverted and finally the file should be same as before on develop
branch.
Also revert .idea/vcs.xml
file changes too, we do not need those changes.
.idea/vcs.xml
Outdated
</component> | ||
</project> | ||
</project> |
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.
Please revert this file changes. We do not want these unnecessary 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.
I will do this. I am sorry for the confusion
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.
No issues. To make PRs more effective, before sending the PR for review its nice to go to the pull request, click on "Files Changed" and try to self review it first and whatever mistakes you find, fix them and then send it for review. This will help you a lot in becoming a good developer.
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.
Same here. This file changes are also not needed.
@rt4914 I have added the files again and made the small changes |
Are the merge conflicts coming because I didn't update my branch with the latest develop branch? If yes, should I be solving them, or you would be solving them while merging the pull request? |
It would be nice if we can solve it right now only. |
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.
@PrarabdhGarg PTAL
.idea/codeStyles/Project.xml
Outdated
@@ -157,4 +162,4 @@ | |||
</indentOptions> | |||
</codeStyleSettings> | |||
</code_scheme> | |||
</component> | |||
</component> |
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.
@PrarabdhGarg This file is still here. We do not want to make any changes to this file. So please revert back this file to its original code.
.idea/vcs.xml
Outdated
</component> | ||
</project> | ||
</project> |
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.
Same here. This file changes are also not needed.
@rt4914 Since I had deleted the files in my previous commit, I just copied the files from the current develop branch, and committed them. I guess now they are the same as that on the develop branch |
Sync forked repository
@rt4914 I have also resolved the merge conflicts |
You can go to These files are getting changed. We do not want any change to these files. |
@PrarabdhGarg thanks. |
@rt4914 I have reverted the files. How do I ensure that any local changes in these files are not pushed in the future? Should I add them to the git ignore file? |
Thanks a lot. Actually these files should not be added to git ignore. Also, mostly it should get fixed in your next PR. If it does not get fixed please inform us and we will try to come up with some solution. |
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 @PrarabdhGarg
Fixes #603
Explanation
This pull request completes the refactoring process, refactoring files that were left in the previous pull request.
Checklist