-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat: Adding option on bottom sheet to archive use cases #2262
Conversation
…to feat/adding_archiving_use_cases # Conflicts: # app/src/main/kotlin/com/wire/android/di/CoreLogicModule.kt
Build 919 failed. |
Build 928 failed. |
…wire-android-reloaded into feat/adding_archiving_use_cases
Build 931 failed. |
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.
Looking good 👍 I would just add some tests for onMoveConversationToArchive
...main/kotlin/com/wire/android/ui/home/conversations/details/GroupConversationDetailsScreen.kt
Outdated
Show resolved
Hide resolved
app/src/main/kotlin/com/wire/android/ui/home/conversationslist/ConversationListViewModel.kt
Outdated
Show resolved
Hide resolved
…to feat/adding_archiving_use_cases
…to feat/adding_archiving_use_cases
Build 951 failed. |
Build 965 failed. |
…to feat/adding_archiving_use_cases
Build 972 failed. |
…to feat/adding_archiving_use_cases
Build 985 failed. |
Codecov Report
@@ Coverage Diff @@
## develop #2262 +/- ##
=============================================
+ Coverage 40.41% 40.51% +0.09%
- Complexity 1012 1015 +3
=============================================
Files 318 318
Lines 11635 11661 +26
Branches 1546 1550 +4
=============================================
+ Hits 4702 4724 +22
- Misses 6492 6493 +1
- Partials 441 444 +3
Continue to review full report in Codecov by Sentry.
|
APKs built during tests are available here. Scroll down to Artifacts! |
Build 990 succeeded. The build produced the following APK's: |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
We need an option to be able to archive conversations visually and consume
updateConversationArchivedStatusUseCase
.Solutions
Added the option on the different bottom sheets displayed when interacting with conversations options in
HomeScreen
,GroupConversationDetailsScreen
, andOtherUserProfileScreen
. I also added the respective snackbar messages on success and failed states.Dependencies (Optional)
Needs releases with:
Testing
Test Coverage (Optional)
How to Test
Load conversations in
HomeScreen
, long tap on a given one and click onMove to archive
option. Check the conversation disappears and doesn't get displayed anymore. This behavior can also be replicated on Other users profile screen and on Group details screen.Attachments (Optional)
Grabacion.de.pantalla.2023-09-22.a.las.15.32.29.mov
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.