Skip to content

Issue/11633 material placeholders#11678

Merged
planarvoid merged 5 commits intodevelopfrom
issue/11633-material-placeholders
Apr 29, 2020
Merged

Issue/11633 material placeholders#11678
planarvoid merged 5 commits intodevelopfrom
issue/11633-material-placeholders

Conversation

@khaykov
Copy link
Copy Markdown
Contributor

@khaykov khaykov commented Apr 16, 2020

Fixes #11633

This PR updates the color of image placeholders, so they will look good in both light and dark themes.

They should look more like this:
good

And not like this:
screenshot_20200407-130609_wordpress

To test:
I recommend downgrading network speed of your emulator and visiting following places:

  • Media browser. Video placeholders are based on video, so we might not have any color there.
  • Themes.
  • Post list with featured images.
  • Reader with featured images.
  • Sites list.

Placeholders are used in a variety of places, but those are the main ones.

Technical note:
It's really hard to get themed attributes to work with Glide (and in general) on API 21-23. Because of this, we have to use regular color with alpha value baked in. This is gross, but can't be helped until we drop the support for API 21-23.

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@peril-wordpress-mobile
Copy link
Copy Markdown

You can trigger optional UI/connected tests for these changes by visiting CircleCI here.

@peril-wordpress-mobile
Copy link
Copy Markdown

You can test the changes on this Pull Request by downloading the APK here.

@oguzkocer
Copy link
Copy Markdown
Contributor

Hi there! 14.7 is being frozen, so this PR is being bumped to 14.8. If these changes have to be shipped with 14.7, please target release/14.7 and cc me in the PR so I can cut a new beta release. Also if you can keep the release dates in mind and bump the PRs & issues you are working on before the code freeze date, we'd really appreciate it.

P.S: I am still working on the messaging for these bumps, so please let me know if you have any questions/concerns/feedback.

@oguzkocer oguzkocer modified the milestones: 14.7, 14.8 Apr 20, 2020
@planarvoid planarvoid self-assigned this Apr 29, 2020
Copy link
Copy Markdown
Contributor

@planarvoid planarvoid left a comment

Choose a reason for hiding this comment

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

The changes look great 👍

@planarvoid planarvoid merged commit 599fac1 into develop Apr 29, 2020
@planarvoid planarvoid deleted the issue/11633-material-placeholders branch April 29, 2020 15:39
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.

Update color of loading image placeholder in Dark Mode

3 participants