-
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 #1420 : Event logging in Profile and Tests in app module #1422
Conversation
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.
Mainly nits of formatting but otherwise looks good
app/src/test/java/org/oppia/app/profile/ProfileChooserFragmentLocalTest.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.
Just these few else Good to go.
app/src/main/java/org/oppia/app/profile/ProfileChooserFragmentPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/org/oppia/app/profile/ProfileChooserFragmentLocalTest.kt
Outdated
Show resolved
Hide resolved
# Conflicts: # app/src/main/java/org/oppia/app/topic/info/TopicInfoFragmentPresenter.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.
nit changes.
Just an important point, we are using ktlint version 0.37 or above. So, you can use the same on your local too.
app/src/main/java/org/oppia/app/topic/TopicFragmentPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/topic/TopicFragmentPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/topic/TopicFragmentPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/topic/TopicFragmentPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/topic/TopicFragmentPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/org/oppia/app/profile/ProfileChooserFragmentLocalTest.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/org/oppia/app/story/StoryActivityLocalTest.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/org/oppia/app/topic/info/TopicInfoFragmentLocalTest.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/org/oppia/app/topic/lessons/TopicLessonsFragmentLocalTest.kt
Outdated
Show resolved
Hide resolved
app/src/test/java/org/oppia/app/topic/revisioncard/RevisionCardActivityLocalTest.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 are many lint errors, please run ktlint --android -F <path_to_file>.kt , organize imports, and reformat code for all your PRs to avoid the back and forth of reviewers pointing out linting errors
app/src/main/java/org/oppia/app/profile/ProfileChooserFragmentPresenter.kt
Outdated
Show resolved
Hide resolved
# Conflicts: # app/src/main/java/org/oppia/app/topic/lessons/TopicLessonsFragmentPresenter.kt # app/src/main/java/org/oppia/app/topic/practice/TopicPracticeFragmentPresenter.kt # app/src/main/java/org/oppia/app/topic/revision/TopicRevisionFragmentPresenter.kt
Done with the changes. Thanks @vinitamurthi and @anandwana001 for the pointers. I think they will be fine now as I ran the |
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, as now we have app module ktlint
check over GitHub action.
Approval done, comments resolved and checks passed. Merging now! |
Explanation
Fix #1420
Checklist