[UI] Update image resolution & UI improvements#44
Merged
Conversation
We need to update the image url so that we fetch a lower sized image. Since our cards are small enough, the resolution is kept the same while reducing the size of each image by at least 20 times.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #44 +/- ##
==========================================
- Coverage 65.06% 62.97% -2.10%
==========================================
Files 161 156 -5
Lines 4068 3787 -281
Branches 667 656 -11
==========================================
- Hits 2647 2385 -262
+ Misses 1087 1074 -13
+ Partials 334 328 -6 ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request optimizes the image loading for posters on the home screen. We've switched to using lower resolution images, resulting in a significant reduction in file size (at least 15x smaller). Previously, poster images were around 500-1000KB each. With this change, the new 300x450 images are only 10-40KB. This optimization will noticeably improve loading speeds and reduce network bandwidth usage when scrolling through the home screen.
Additionally, we improved the accessibility of the bottom sheet on the main screen. To ensure users can access all content regardless of length, we've implemented scrolling functionality. Also, the "Details & More" button now remains fixed at the bottom of the sheet, guaranteeing its visibility for users with dexterity or scrolling limitations.
We've also introduced a new module called "designsystem" and moved the related compose theming there.
Fixes #43 #25