-
Notifications
You must be signed in to change notification settings - Fork 26
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: Track ended call segmentation [#WPB-14256] #3756
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3756 +/- ##
===========================================
- Coverage 45.76% 45.74% -0.02%
===========================================
Files 477 477
Lines 16199 16209 +10
Branches 2744 2746 +2
===========================================
+ Hits 7413 7415 +2
- Misses 8017 8024 +7
- Partials 769 770 +1
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Built wire-android-staging-compat-pr-3756.apk is available for download |
Built wire-android-dev-debug-pr-3756.apk is available for download |
app/src/main/kotlin/com/wire/android/ui/WireActivityViewModel.kt
Outdated
Show resolved
Hide resolved
core/analytics/src/main/kotlin/com/wire/android/feature/analytics/model/AnalyticsEvent.kt
Outdated
Show resolved
Hide resolved
Built wire-android-staging-compat-pr-3756.apk is available for download |
Built wire-android-dev-debug-pr-3756.apk is available for download |
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.
basically good, but have a small code-style suggestion :)
coreLogic.get().getGlobalScope().session.currentSessionFlow().collectLatest { sessionResult -> | ||
if (sessionResult is CurrentSessionResult.Success && sessionResult.accountInfo.isValid()) { | ||
coreLogic.get().getSessionScope(sessionResult.accountInfo.userId).calls.observeRecentlyEndedCallMetadata() | ||
.collect { metadata -> |
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.
I don't remember why exactly, but i remember we should avoid collect{ flow.collect { } }
pattern. Much better to use flatMap
, flatMapLatest
...
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.
ah I got you now, you are right! changing it up
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.
@borichellow you can check it now :)
Quality Gate passedIssues Measures |
Built wire-android-staging-compat-pr-3756.apk is available for download |
Built wire-android-dev-debug-pr-3756.apk is available for download |
https://wearezeta.atlassian.net/browse/WPB-14256
What's new in this PR?
Issues
Missing tracking for ended call.
Solutions
Map
RecentlyEndedCallMetadata
into the analytics segmentation and send the event to countlyPR 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
.