Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up MediaPage #70

Merged
merged 22 commits into from
Dec 2, 2022
Merged

Clean up MediaPage #70

merged 22 commits into from
Dec 2, 2022

Conversation

boswelja
Copy link
Collaborator

MediaPage does not look very tidy, and is even less enjoyable to read.

Summary of changes:

  1. Fixed an issue that caused MediaPage to reload on every recomposition. Loading should be noticably faster now.
  2. Significantly simplified banner image & fixed missing scrim in landscape.
  3. Created a new Modifier.scrim to allow drawing scrim on just about anything.

Tested changes:

MediaPage still launches & no content is missing

@boswelja
Copy link
Collaborator Author

boswelja commented Nov 19, 2022

There is currently an issue with the edge gradient modifier used for content descriptions. I will investigate later
I fixy

@imashnake0 imashnake0 changed the title Clean up MediaPage Clean up MediaPage Nov 21, 2022
Copy link
Owner

@imashnake0 imashnake0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise, new lines at the end of new files 🔫

imashnake0 and others added 2 commits December 1, 2022 12:34
We won't need to do this once the UI gets non-null values.

Co-Authored-By: Ian Roberts <9267347+Iannnr@users.noreply.github.com>
Looks like the API returns an empty list sometimes (?). See Dr. STONE: NEW WORLD.
@imashnake0
Copy link
Owner

@boswelja Fixed some edge cases and cleaned stuff up. LMK if the commits look good so I can merge.

Added banner parallax.
The rows went under the opaque status bar in landscape mode.
@imashnake0
Copy link
Owner

Added parallax and fixed padding in landscape mode:

image
image

@imashnake0 imashnake0 merged commit 41fb6af into imashnake0:main Dec 2, 2022
@boswelja boswelja deleted the refactor/clean_up_mediapage branch December 2, 2022 01:19
@imashnake0
Copy link
Owner

Thanks @boswelja!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants