wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.92k stars 1.3k forks source link

Conflict Resolution: Tracking source #20658

Closed zwarm closed 3 weeks ago

zwarm commented 4 weeks ago

Fixes #20655

This PR adds a source property to the Post Conflict Resolution tracking events "source=page|post"

Merge Instructions

To Test:

Prereq

Test posts

Test pages


Regression Notes

  1. Potential unintended areas of impact The resolution overlay events are not tracked with a source property

  2. What I did to test those areas of impact (or what existing automated tests I relied on) Updated unit tests

  3. What automated tests I added (or what prevented me from doing so) N/A


PR Submission Checklist:


Testing Checklist (strike-out the not-applying and unnecessary ones): N/A

wpmobilebot commented 4 weeks ago
Jetpack📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack Jetpack
FlavorJalapeno
Build TypeDebug
Versionpr20658-2c2ee66
Commit2c2ee66a17ca2f4132634aa0d2e8c929af4fd105
Direct Downloadjetpack-prototype-build-pr20658-2c2ee66.apk
Note: Google Login is not supported on these builds.
wpmobilebot commented 4 weeks ago
WordPress📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress WordPress
FlavorJalapeno
Build TypeDebug
Versionpr20658-2c2ee66
Commit2c2ee66a17ca2f4132634aa0d2e8c929af4fd105
Direct Downloadwordpress-prototype-build-pr20658-2c2ee66.apk
Note: Google Login is not supported on these builds.
codecov[bot] commented 4 weeks ago

Codecov Report

Attention: Patch coverage is 77.27273% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 40.43%. Comparing base (69b2625) to head (ab69822).

:exclamation: Current head ab69822 differs from pull request most recent head 2c2ee66. Consider uploading reports for the commit 2c2ee66 to get more accurate results

Files Patch % Lines
...android/ui/posts/PostResolutionOverlayViewModel.kt 0.00% 0 Missing and 5 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## trunk #20658 +/- ## =========================================== - Coverage 82.58% 40.43% -42.15% =========================================== Files 15 1486 +1471 Lines 534 68543 +68009 Branches 50 11337 +11287 =========================================== + Hits 441 27716 +27275 - Misses 75 38326 +38251 - Partials 18 2501 +2483 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud