-
Notifications
You must be signed in to change notification settings - Fork 6
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: Delete local conversation use case [#WPB-14601] #3182
base: develop
Are you sure you want to change the base?
Conversation
logic/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/ConversationRepository.kt
Outdated
Show resolved
Hide resolved
Bencher Report
Click to view all benchmark results
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3182 +/- ##
===========================================
- Coverage 54.12% 54.11% -0.02%
===========================================
Files 1262 1264 +2
Lines 36756 36793 +37
Branches 3734 3735 +1
===========================================
+ Hits 19896 19910 +14
- Misses 15421 15443 +22
- Partials 1439 1440 +1
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Datadog ReportBranch report: ✅ 0 Failed, 3271 Passed, 107 Skipped, 1m 2.23s Total Time |
persistence/src/commonMain/db_user/com/wire/kalium/persistence/MessageAssetView.sq
Outdated
Show resolved
Hide resolved
Question about Delete and Clear use cases. I believe these usecases can be called from UI view models (from viewmodel scope). What will happen if user closes the screen before the use case is finished with removal the assets and view model scope is cancelled? |
Yes, when we close up the screen while invoking the use cases it will be partially deleted. I would say that it is on the client side to decide the usage:
Personally Im not a big fan of using |
Quality Gate passedIssues Measures |
https://wearezeta.atlassian.net/browse/WPB-14601
What's new in this PR?
Issues
Have an option to delete conversation locally with assets, contents and conversation itself
Solutions
Create use case for clearing assets and create use case for deleting conversation which involves:
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.