[5.x] Icon thumbnails in card view
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
Discussed in https://github.com/craftcms/cms/discussions/16670
Originally posted by ryanleichty February 10, 2025
I noticed a particular behavior with card thumbnails within a matrix field. If the first card you add has a thumbnail, the thumbnail will display. If the first card doesn't have a thumbnail (like this text entry type), any subsequent cards won't display a thumbnail whether they have one or not. I feel like this is a bug, but maybe it's the intended behavior?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior in a matrix field's card view: add a first card without a thumbnail, then add cards with thumbnails. Trace the card thumbnail rendering entry point and verify that later cards display their thumbnails regardless of whether the first card has one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100