-
Notifications
You must be signed in to change notification settings - Fork 527
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
Add proto config files for feature and required class. #4869
Add proto config files for feature and required class. #4869
Conversation
Hi @BenHenning, I have added the core classes and refactored the implementation to to enable provision of ProfileId to multiple activities intents. Kindly check on the implementation and let me know if i am in the right direction on this. Please note that it works as expected with gradle but not via bazel. This is even after adding bazel config for the decorator class similarly to screen name decorator.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 @KevinGitonga. Overall I think the approach looks reasonable, though I had one suggestion to simplify the decorator a bit.
That being said, what precisely isn't working for Bazel? The CI checks are passing, so it seems like everything is working correctly. Am I missing something?
utility/src/main/java/org/oppia/android/util/profile/CurrentUserProfileIdIntentDecorator.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.
Thanks @KevinGitonga! I think this looks quite solid! I had a bunch of style comments, and a few of substance. PTAL.
app/src/main/java/org/oppia/android/app/administratorcontrols/AdministratorControlsActivity.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/android/app/testing/NavigationDrawerTestActivity.kt
Outdated
Show resolved
Hide resolved
...edTest/java/org/oppia/android/app/administratorcontrols/AdministratorControlsActivityTest.kt
Show resolved
Hide resolved
...c/sharedTest/java/org/oppia/android/app/completedstorylist/CompletedStoryListActivityTest.kt
Outdated
Show resolved
Hide resolved
app/src/sharedTest/java/org/oppia/android/app/home/HomeActivityTest.kt
Outdated
Show resolved
Hide resolved
utility/src/main/java/org/oppia/android/util/profile/CurrentUserProfileIdIntentDecorator.kt
Outdated
Show resolved
Hide resolved
utility/src/main/java/org/oppia/android/util/profile/CurrentUserProfileIdIntentDecorator.kt
Outdated
Show resolved
Hide resolved
utility/src/main/java/org/oppia/android/util/profile/CurrentUserProfileIdIntentDecorator.kt
Outdated
Show resolved
Hide resolved
utility/src/main/java/org/oppia/android/util/profile/CurrentUserProfileIdIntentDecorator.kt
Outdated
Show resolved
Hide resolved
utility/src/test/java/org/oppia/android/util/profile/CurrentUserProfileIdIntentDecoratorTest.kt
Show resolved
Hide resolved
…to profile_id_provision_feature
Hi @KevinGitonga, 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. |
Hi @KevinGitonga, 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. |
Hi @KevinGitonga, 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. |
Hi @KevinGitonga, 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. |
# Conflicts: # app/src/main/java/org/oppia/android/app/home/recentlyplayed/RecentlyPlayedFragmentPresenter.kt # app/src/sharedTest/java/org/oppia/android/app/administratorcontrols/learneranalytics/ProfileAndDeviceIdActivityTest.kt # app/src/sharedTest/java/org/oppia/android/app/profileprogress/ProfileProgressFragmentTest.kt
Hi @adhiamboperes updated per the comments, might not fully resolve the static failures as i am using my mac which doesn't support bazel used in project last i checked. PTAL thanks |
Hi @KevinGitonga, 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. |
Hi @KevinGitonga, 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. |
Hi @KevinGitonga, 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. |
Fix #4865
When this PR is merged it should enable developers to easily access ProfileId which will be wrapped wrapped into all Activities Intents.
Essential Checklist
For UI-specific PRs only
If your PR includes UI-related changes, then: