-
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: handle legal hold events (WPB-5442) #2236
Conversation
logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt
Outdated
Show resolved
Hide resolved
.../commonMain/kotlin/com/wire/kalium/logic/sync/receiver/handler/legalhold/LegalHoldHandler.kt
Outdated
Show resolved
Hide resolved
...Main/kotlin/com/wire/kalium/logic/sync/receiver/handler/legalhold/LegalHoldRequestHandler.kt
Outdated
Show resolved
Hide resolved
Datadog ReportAll test runs ✅ 2 Total Test Services: 0 Failed, 0 with New Flaky, 2 Passed Test Services
|
...Main/kotlin/com/wire/kalium/logic/sync/receiver/handler/legalhold/LegalHoldRequestHandler.kt
Outdated
Show resolved
Hide resolved
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #2236 +/- ##
=============================================
- Coverage 57.99% 57.95% -0.04%
Complexity 21 21
=============================================
Files 1075 1080 +5
Lines 40824 41002 +178
Branches 3778 3793 +15
=============================================
+ Hits 23674 23761 +87
- Misses 15531 15619 +88
- Partials 1619 1622 +3
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
* feat: handle legal hold events * chore: address comments * chore: detekt * chore: detekt * chore: show user id in logs
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Description
This PR aims to handle legal hold events: legalhold-request, legalhold-enable and legalhold-disable
For legalhold-request, the app will store that request the its data in sharedpreferences.
For legalhold-enable and legalhold-disable, the app will remove current legalhold request(if it's for self user) and update clients(self or other)
Next PR will be for creating a use case for observing pending request
Dependencies (Optional)
If there are some other pull requests related to this one (e.g. new releases of frameworks), specify them here.
Needs releases with:
Testing
Test Coverage (Optional)
How to Test
Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.
Notes (Optional)
Specify here any other facts that you think are important for this issue.
Attachments (Optional)
Attachments like images, videos, etc. (drag and drop in the text box)
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
.