For items with no images it would be good to have a more interesting placeholder. It can be as simple as a generic article icon, or use different colors/gradients/patterns for those items without a picture (e.g., using ".list-group-item:nth-of-type(3n) .suggestion-image{ ... }; .list-group-item:nth-of-type(3n+1) .suggestion-image{ ... }; .list-group-item:nth-of-type(3n+2) .suggestion-image{ ... }")
Description
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | leila | T134900 [Epic] Article recommendation to more users | |||
| Resolved | Sabya | T134295 Better placeholder image for articles with no image |
Event Timeline
Comment Actions
One important consideration is to do this only for cards with no image. If this is done for all cards, although those with images will cover the background in any case, others may use images with transparency in them (that are most of the time designed expecting a white background).
Comment Actions
Here is a pull request:
https://github.com/wikimedia-research/translation-recs-app/pull/50