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] Submit Rating #40

Closed Divinelink closed 6 months ago

Divinelink commented 6 months ago

In this pull request we introduced the functionality for the user to be able to rate a movie/tv series when they are logged in.

To properly handle Snackbar messages between all screens, we've made added a custom Snackbar Handler to manage messages and delegate to the SnackbarController provided by SnackbarHostState. This will help us avoid a lot of boiler plate code and overall ensure cleaner and more maintainable code.

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 64.21%. Comparing base (e4a1057) to head (81380b3).

Files Patch % Lines
...a/ui/components/snackbar/SnackbarMessageHandler.kt 4.00% 21 Missing and 3 partials :warning:
.../andreolas/movierama/details/ui/rate/RateSlider.kt 57.14% 6 Missing and 6 partials :warning:
...movierama/ui/components/BottomSheetMovieContent.kt 87.95% 3 Missing and 7 partials :warning:
...ovierama/details/ui/rate/RateBottomSheetContent.kt 76.47% 6 Missing and 2 partials :warning:
.../movierama/details/ui/rate/RateModalBottomSheet.kt 50.00% 4 Missing and 4 partials :warning:
...m/andreolas/movierama/details/ui/DetailsContent.kt 78.57% 2 Missing and 4 partials :warning:
...src/main/java/com/andreolas/movierama/ui/UIText.kt 53.84% 3 Missing and 3 partials :warning:
...movierama/ui/components/details/SpannableRating.kt 78.26% 2 Missing and 3 partials :warning:
...om/andreolas/movierama/details/ui/DetailsScreen.kt 60.00% 3 Missing and 1 partial :warning:
...andreolas/movierama/details/ui/DetailsViewModel.kt 92.85% 0 Missing and 3 partials :warning:
... and 5 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #40 +/- ## ========================================== + Coverage 58.14% 64.21% +6.07% ========================================== Files 150 160 +10 Lines 3739 3974 +235 Branches 565 636 +71 ========================================== + Hits 2174 2552 +378 + Misses 1288 1102 -186 - Partials 277 320 +43 ```

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