Divinelink / scenepeek-android

ScenePeek is an Android Application that provides information about movies, television shows & persons using the TMDB API.
0 stars 0 forks source link

[Feature] Show total user score and user's rating on details screen #38

Closed Divinelink closed 6 months ago

Divinelink commented 6 months ago

In this pull request we enhanced the details screen to show the total user score as well as the current's account rating.

Additionally, we did some redesign in the home screen media card regarding the user score. We wanted to give a similar look and feel to the original TMDB rating.

Details Screen

image

Media Card

image

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 58.14%. Comparing base (100a6e0) to head (a3dd7f8). Report is 1 commits behind head on main.

Files Patch % Lines
...s/movierama/ui/components/media/MediaRatingItem.kt 52.38% 25 Missing and 5 partials :warning:
...m/andreolas/movierama/details/ui/DetailsContent.kt 78.66% 6 Missing and 10 partials :warning:
...andreolas/movierama/details/ui/DetailsViewState.kt 52.94% 7 Missing and 1 partial :warning:
...m/andreolas/movierama/home/ui/PopularMoviesList.kt 0.00% 4 Missing :warning:
...main/java/com/andreolas/movierama/ui/Extensions.kt 20.00% 1 Missing and 3 partials :warning:
...es/dto/account/states/RateResponseApiSerializer.kt 81.25% 1 Missing and 2 partials :warning:
...andreolas/movierama/details/ui/DetailsViewModel.kt 89.47% 0 Missing and 2 partials :warning:
...com/andreolas/movierama/ui/components/MovieItem.kt 93.33% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #38 +/- ## ========================================== + Coverage 56.40% 58.14% +1.74% ========================================== Files 140 150 +10 Lines 3537 3739 +202 Branches 537 565 +28 ========================================== + Hits 1995 2174 +179 - Misses 1277 1288 +11 - Partials 265 277 +12 ```

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