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

[Notifications Refresh] 🤖 Milestone Details: hides the title for achievements #20715

Closed antonis closed 1 week ago

antonis commented 2 weeks ago

This PR covers just item 1 of https://github.com/Automattic/wordpress-mobile/issues/23 and introduces a new mechanism for identifying achievement/milestone notifications (ref p1714062709630809/1714052620.609979-slack-C06BWNSR02K). The rest of the items will be covered in follow up PRs after refactoring part of the code.


To Test:

  1. Open a milstone notifications
  2. Verify that no title is shown

Regression Notes

  1. Potential unintended areas of impact

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

    • Manual testing
  3. What automated tests I added (or what prevented me from doing so)

    • Added unit tests

PR Submission Checklist:


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

wpmobilebot commented 2 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
Versionpr20715-9b612b3
Commit9b612b39b0c4df34b1a22a54f31f8f86aab7d1e4
Direct Downloadjetpack-prototype-build-pr20715-9b612b3.apk
Note: Google Login is not supported on these builds.
wpmobilebot commented 2 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
Versionpr20715-9b612b3
Commit9b612b39b0c4df34b1a22a54f31f8f86aab7d1e4
Direct Downloadwordpress-prototype-build-pr20715-9b612b3.apk
Note: Google Login is not supported on these builds.
codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 40.70%. Comparing base (8548a93) to head (9b612b3).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature/notifications_refresh_p2 #20715 +/- ## ==================================================================== + Coverage 40.68% 40.70% +0.01% ==================================================================== Files 1490 1490 Lines 68551 68573 +22 Branches 11359 11359 ==================================================================== + Hits 27891 27913 +22 Misses 38142 38142 Partials 2518 2518 ```

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

sonarcloud[bot] commented 1 week 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