-
Notifications
You must be signed in to change notification settings - Fork 531
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
Fixes #4405: Renaming event logger to analytics event logger #4537
Fixes #4405: Renaming event logger to analytics event logger #4537
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.
@Akshatkamboj14 PTAL. Thanks
@@ -13,7 +13,7 @@ import javax.inject.Inject | |||
*/ | |||
@FragmentScope | |||
class ViewEventLogsViewModel @Inject constructor( | |||
debugEventLogger: DebugEventLogger, | |||
debugEventLogger: DebugAnalyticsEventLogger, |
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.
Rename debugEventLogger
to debugAnalyticsEventLogger
.
Same applies for all other files too.
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
Hi @Akshatkamboj14, it looks like some changes were requested on this pull request by @rt4914. PTAL. 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.
Thanks @Akshatkamboj14! The PR generally LGTM, but besides a couple of comments I think that you also need to:
- Make sure there are no TODOs in code for Renaming EventLogger to AnalyticsEventLogger #4405 that need to be removed (otherwise remove them)
- Finish the PR description & make sure that it's fully filled out correctly (look at other PRs if you need a reference for how to fill it out for non-user facing PRs)
- Fix the broken CI checks/tests
app/src/test/java/org/oppia/android/app/player/exploration/ExplorationActivityLocalTest.kt
Outdated
Show resolved
Hide resolved
@@ -17,5 +17,7 @@ class LogReportingModule { | |||
|
|||
@Provides | |||
@Singleton | |||
fun provideEventLogger(factory: FirebaseEventLogger.Factory): EventLogger = factory.create() | |||
fun provideEventLogger( |
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.
fun provideEventLogger( | |
fun provideFirebaseAnalyticsEventLogger( |
Per my earlier comment.
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.
@BenHenning can you send me the link of some PRs so I can take a reference from like how to fill the description of non-user facing PRs?
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.
@Akshatkamboj14 This is something that you can look for directly. See https://github.com/oppia/oppia-android/pulls.
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.
Approved for code-owners
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.
Took another pass. I actually meant to request changes last time since CI checks are still breaking, so updating my review status.
Hi, @Akshatkamboj14, the LGTM Label has been removed because the changes were requested on this PR. Thanks!. |
@BenHenning IDK why my checks are failing. can you help me to figure it out? |
@Akshatkamboj14 apologies I missed this (in the future, please assign me or others if we need to take action on the PR). Regarding the errors, what specific error are you stuck on, what have you tried, and what do you think might be wrong? This is a good situation to consider writing up a brief debugging doc (https://github.com/oppia/oppia/wiki/Debugging-Docs) and sharing it to provide more specifics--these can be really helpful to help with investigation. |
Hi @Akshatkamboj14, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue. |
Explanation
Fixes #4405
Potential checklist:
Essential Checklist
For UI-specific PRs only
If your PR includes UI-related changes, then: