-
Notifications
You must be signed in to change notification settings - Fork 25
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
Code Health: Warnings #267
Code Health: Warnings #267
Conversation
Thanks for the pull request, @volodymyr-chekyrta! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
Reviewing |
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.
only some minor nits
gradle.properties
Outdated
@@ -21,5 +21,4 @@ kotlin.code.style=official | |||
# resources declared in the library itself and none from the library's dependencies, | |||
# thereby reducing the size of the R class for that library | |||
android.nonTransitiveRClass=true | |||
android.defaults.buildfeatures.buildconfig=true | |||
android.nonFinalResIds=false |
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 add a line at EOF.
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.
Done ✅
@@ -395,7 +416,10 @@ fun CommentMainItem( | |||
.error(org.openedx.core.R.drawable.core_ic_default_profile_picture) | |||
.placeholder(org.openedx.core.R.drawable.core_ic_default_profile_picture) | |||
.build(), | |||
contentDescription = stringResource(id = org.openedx.core.R.string.core_accessibility_user_profile_image, comment.author), | |||
contentDescription = stringResource( | |||
id = org.openedx.core.R.string.core_accessibility_user_profile_image, |
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 use alias here coreR
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.
Done ✅
@@ -94,7 +109,10 @@ fun ThreadMainItem( | |||
.error(org.openedx.core.R.drawable.core_ic_default_profile_picture) | |||
.placeholder(org.openedx.core.R.drawable.core_ic_default_profile_picture) | |||
.build(), | |||
contentDescription = stringResource(id = org.openedx.core.R.string.core_accessibility_user_profile_image, thread.author), | |||
contentDescription = stringResource( | |||
id = org.openedx.core.R.string.core_accessibility_user_profile_image, |
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 use alias here coreR
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.
Done ✅
@@ -245,7 +263,10 @@ fun CommentItem( | |||
.error(org.openedx.core.R.drawable.core_ic_default_profile_picture) | |||
.placeholder(org.openedx.core.R.drawable.core_ic_default_profile_picture) | |||
.build(), | |||
contentDescription = stringResource(id = org.openedx.core.R.string.core_accessibility_user_profile_image, comment.author), | |||
contentDescription = stringResource( | |||
id = org.openedx.core.R.string.core_accessibility_user_profile_image, |
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 use the alias here coreR
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.
Done ✅
1c1df99
…ild_warnings # Conflicts: # discussion/src/main/java/org/openedx/discussion/presentation/ui/DiscussionUI.kt
@omerhabib26 PR is ready for another pass 🚀 |
@volodymyr-chekyrta 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
This is the first PR in a series designed to enhance code quality
Other issues will be addressed in a separate PR.