Skip to content

Conversation

@adalpari
Copy link
Contributor

Description

This is a contribution PR from #22325 :

  • VIDEO cards now show featured images when available
  • Updated buildFeaturedImageVisibility() to support VIDEO cards with images
  • Updated buildFeaturedImageUrl() for consistent behavior across card types
  • Added comprehensive unit tests for VIDEO card image display
  • Fixes issue where VIDEO posts with thumbnails didn't show images

Fixes #21332

Description

Testing instructions

AdamLiga and others added 2 commits October 31, 2025 00:34
- VIDEO cards now show featured images when available
- Updated buildFeaturedImageVisibility() to support VIDEO cards with images
- Updated buildFeaturedImageUrl() for consistent behavior across card types
- Added comprehensive unit tests for VIDEO card image display
- Fixes issue where VIDEO posts with thumbnails didn't show images

Fixes #21332
@dangermattic
Copy link
Collaborator

dangermattic commented Nov 24, 2025

1 Warning
⚠️ PR is not assigned to a milestone.

Generated by 🚫 Danger

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Nov 24, 2025

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
FlavorJalapeno
Build TypeDebug
Versionpr22364-064cce1
Commit064cce1
Direct Downloadwordpress-prototype-build-pr22364-064cce1.apk
Note: Google Login is not supported on these builds.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Nov 24, 2025

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
FlavorJalapeno
Build TypeDebug
Versionpr22364-064cce1
Commit064cce1
Direct Downloadjetpack-prototype-build-pr22364-064cce1.apk
Note: Google Login is not supported on these builds.

@sonarqubecloud
Copy link

@codecov
Copy link

codecov bot commented Nov 24, 2025

Codecov Report

❌ Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 39.03%. Comparing base (dc52538) to head (064cce1).

Files with missing lines Patch % Lines
...oid/ui/reader/discover/ReaderPostUiStateBuilder.kt 80.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            trunk   #22364   +/-   ##
=======================================
  Coverage   39.03%   39.03%           
=======================================
  Files        2203     2203           
  Lines      106316   106318    +2     
  Branches    15057    15057           
=======================================
+ Hits        41499    41500    +1     
  Misses      61328    61328           
- Partials     3489     3490    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@adalpari adalpari closed this Nov 24, 2025
@adalpari adalpari deleted the fix/Fix-Reader-feed-image-display-for-VIDEO-card-types branch November 24, 2025 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reader feed: Featured images not being consistently displayed

5 participants