Feature/dra 141#98
Conversation
DRA-45 Load next video on tab reselect
Adding app bar.
DRA-44 Added food categories screen
* master: DRA-72 More clear view for preferences Filter food by category Changed the theme so that it works for all phones. Adding app bar. DRA-44 Added Fingerfood type Added pastry category PR updates DRA-45 Load next video on tab reselect # Conflicts: # app/src/main/java/eu/theappfactory/dailyrecipes/data/userEvent/FirestoreUserEventDataSource.kt # app/src/main/java/eu/theappfactory/dailyrecipes/ui/preferences/PreferencesViewModel.kt # app/src/main/java/eu/theappfactory/dailyrecipes/ui/preferences/UserPreferencesFragment.kt # app/src/main/res/layout/fragment_preferences.xml # app/src/main/res/layout/list_item_food_type.xml # app/src/main/res/values/strings.xml
Feature/dra 52
* master: Added active and unactive icons bottom navigation. changed the icons for back and forward. also added mixpanel event. DRA-72 More clear view for preferences Filter food by category DRA-44 Added Fingerfood type Added pastry category added the Google I/O implementation of the snackbar. PR updates DRA-44 Added food categores screen # Conflicts: # app/src/main/java/eu/theappfactory/dailyrecipes/ui/home/pager/ItemViewModel.kt # app/src/main/res/values/strings.xml
* master: -bug/DRA-201 Added minimum line to 2 as per feedback -bug/DRA-205 done feedback changes -bug/DRA-205 Added ( ) as per feedback -bug/DRA-204 added apostrophe exception as per feedback -bug/DRA-205 done changes "-" between sentence/word will not change Added bit more spacing 2sp as asked -bug/DRA-204 added character to be accepted: ë é -bug/DRA-201 Fixed the button jump -bug/DRA-202 fixed images not preloading issue -bug/DRA-198 done feedback changes -bug/DRA-194 done feedback changes -bug/DRA-194 feedback changes -bug/DRA-198 Appended http before the url if url not contains -bug/DRA-194 finished the activity when starting the app Updated the code of the share Utils as it was not working properly
-bug/DRA-203
…DRA-140 * commit '7605f285719b822d355a7a32377ae1380e439c73': -bug/DRA-201 Added minimum line to 2 as per feedback -bug/DRA-205 done feedback changes -bug/DRA-205 Added ( ) as per feedback -bug/DRA-205 done changes "-" between sentence/word will not change Added bit more spacing 2sp as asked -bug/DRA-201 Fixed the button jump # Conflicts: # app/src/main/res/layout/activity_instructions.xml # app/src/main/res/layout/fragment_favorites.xml
Feature/dra 140
Figured out and solved video keeps playing issue even screen destroyed
If the username belongs to user itself, update other values and log in successfully
Added code for uploading the phonebook to the firebase and tested as well
Solved black glitch when video switch
-bug/DRA-212
-bug/DRA-208
Done feedback changes
-bug/DRA-210
Done uploading of address book Managed flow as per JIRA ticket to display Invite Friends screen and food categories screen
54f6ff9 to
fb17ef0
Compare
ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (13)
📝 WalkthroughWalkthroughThis PR implements an address book contacts upload feature. After users create accounts and reach onboarding screens, they navigate to an invite friends flow where contacts are loaded from the device and uploaded to Firestore. Navigation in certain flows transitions from NavController-based to explicit activity Intent launches. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CreateUsernameFragment
participant CreateUsernameViewModel
participant InviteFriendsPermissionActivity
participant InviteFriendsFragment
participant InviteFriendsViewModel
participant UploadAddressBookUseCase
participant AddressBookRepository
participant FirebaseFirestore
User->>CreateUsernameFragment: Enter username
CreateUsernameFragment->>CreateUsernameViewModel: createUser()
CreateUsernameViewModel->>CreateUsernameViewModel: Post onUserNameCreated event
CreateUsernameFragment->>InviteFriendsPermissionActivity: Start activity via Intent
InviteFriendsFragment->>InviteFriendsViewModel: loadAddressBook()
InviteFriendsViewModel->>InviteFriendsViewModel: Obtain contacts from device
InviteFriendsViewModel->>InviteFriendsViewModel: Get current user ID
InviteFriendsViewModel->>UploadAddressBookUseCase: execute(userId, contactList)
UploadAddressBookUseCase->>AddressBookRepository: uploadContacts()
AddressBookRepository->>FirebaseFirestore: Fetch existing contacts from users/{userId}/contacts
FirebaseFirestore-->>AddressBookRepository: Return existing contacts
AddressBookRepository->>FirebaseFirestore: Write missing contacts
FirebaseFirestore-->>AddressBookRepository: Success
AddressBookRepository-->>UploadAddressBookUseCase: Result.Success
UploadAddressBookUseCase-->>InviteFriendsViewModel: Result received
InviteFriendsViewModel->>InviteFriendsViewModel: Set userHasAddedFriends = true
User->>InviteFriendsFragment: Proceed to main activity
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
71a4471 to
4fd34f4
Compare
Summary by CodeRabbit
Release Notes
New Features
Improvements